From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: -next March 3: Boot failure on x86 (Oops) Date: Fri, 05 Mar 2010 22:25:29 +0900 Message-ID: <4B910649.1000506@kernel.org> References: <20100303174603.5be197ba.sfr@canb.auug.org.au> <4B8E83D4.6090507@in.ibm.com> <4B8F0CD0.1040507@kernel.org> <4B8F43DD.10002@in.ibm.com> <4B909FC5.8020800@kernel.org> <4B90A031.8090306@kernel.org> <4B90A214.70301@kernel.org> <4B90B723.3000100@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from hera.kernel.org ([140.211.167.34]:35021 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750719Ab0CENZg (ORCPT ); Fri, 5 Mar 2010 08:25:36 -0500 In-Reply-To: <4B90B723.3000100@in.ibm.com> Sender: linux-next-owner@vger.kernel.org List-ID: To: Sachin Sant Cc: linux-next@vger.kernel.org, LKML 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