Re: -next March 3: Boot failure on x86 (Oops)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux