Re: [PATCH] mm: do not sleep in balance_pgdat if there's no i/o congestion

From: Hillf Danton
Date: Sat Dec 29 2012 - 02:25:46 EST


On Thu, Dec 27, 2012 at 11:42 PM, Zlatko Calusic
<zlatko.calusic@xxxxxxxx> wrote:
> On 21.12.2012 12:51, Hillf Danton wrote:
>>
>> On Thu, Dec 20, 2012 at 7:25 AM, Zlatko Calusic <zlatko.calusic@xxxxxxxx>
>> wrote:
>>>
>>> static unsigned long balance_pgdat(pg_data_t *pgdat, int order,
>>> int
>>> *classzone_idx)
>>> {
>>> - int all_zones_ok;
>>> + struct zone *unbalanced_zone;
>>
>>
>> nit: less hunks if not erase that mark
>>
>> Hillf
>
>
> This one left unanswered and forgotten because I didn't understand what you
> meant. Could you elaborate?
>
Sure, the patch looks simpler(and nicer) if we dont
erase all_zones_ok.

Hillf
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/