[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B910649.1000506@kernel.org>
Date: Fri, 05 Mar 2010 22:25:29 +0900
From: Tejun Heo <tj@...nel.org>
To: Sachin Sant <sachinp@...ibm.com>
CC: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: -next March 3: Boot failure on x86 (Oops)
On 03/05/2010 04:47 PM, Sachin Sant wrote:
>> diff --git a/mm/percpu.c b/mm/percpu.c
>> index 768419d..f1ed9ea 100644
>> --- a/mm/percpu.c
>> +++ b/mm/percpu.c
>> @@ -373,11 +373,11 @@ static int pcpu_need_to_extend(struct pcpu_chunk
>> *chunk)
>> {
>> int new_alloc;
>>
>> - if (chunk->map_alloc >= chunk->map_used + 2)
>> + if (chunk->map_alloc >= chunk->map_used + 3)
>> return 0;
>>
>> new_alloc = PCPU_DFL_MAP_ALLOC;
>> - while (new_alloc < chunk->map_used + 2)
>> + while (new_alloc < chunk->map_used + 3)
>> new_alloc *= 2;
>>
>> return new_alloc;
This was a red herring. +2 is correct.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists