Re: [PATCH v8 7/8] mm: only IPI CPUs to drain local pages if they exist

From: Gilad Ben-Yossef
Date: Thu Feb 09 2012 - 03:09:14 EST


2012/2/8 Michal Nazarewicz <mina86@xxxxxxxxxx>:
> On Sun, 05 Feb 2012 14:48:41 +0100, Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
> wrote:
>>
>> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
>> index d2186ec..3ff5aff 100644
>> --- a/mm/page_alloc.c
>> +++ b/mm/page_alloc.c
>> @@ -1161,11 +1161,46 @@ void drain_local_pages(void *arg)
...
>> +
>> +       /* Allocate in the BSS so we wont require allocation in
>> +        * direct reclaim path for CONFIG_CPUMASK_OFFSTACK=y
>> +        */
>
>
> If you are going to send next iteration, this comment should have
> “/*” on its own line just like comment below.

Right, thanks.

Gilad

--
Gilad Ben-Yossef
Chief Coffee Drinker
gilad@xxxxxxxxxxxxx
Israel Cell: +972-52-8260388
US Cell: +1-973-8260388
http://benyossef.com

"If you take a class in large-scale robotics, can you end up in a
situation where the homework eats your dog?"
 -- Jean-Baptiste Queru
--
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/