From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Date: Wed, 23 Sep 2009 14:01:30 +0000 Subject: Re: [PATCH 2/4] ia64: allocate percpu area for cpu0 like percpu areas Message-Id: <4ABA2A3A.6020308@kernel.org> List-Id: References: <1253605214-23210-1-git-send-email-tj@kernel.org> <1253605214-23210-3-git-send-email-tj@kernel.org> <4AB983B6.6050203@kernel.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christoph Lameter Cc: Nick Piggin , Tony Luck , Fenghua Yu , linux-ia64 , Ingo Molnar , Rusty Russell , linux-kernel@vger.kernel.org Hello, Christoph Lameter wrote: > You did not answer my question. Hmmm... > The local percpu variables are accessed via a static per cpu > virtual mapping. You cannot place per cpu variables outside of that > virtual address range of PERCPU_PAGE_SIZE. > > What happens if the percpu allocator allocates more data than available in > the reserved area? I still don't understand your question. Static percpu variables are always allocated from the first chunk inside that PERCPU_PAGE_SIZE area. Dynamic allocations can go outside of that but they don't need any special handling. What problems are you seeing? -- tejun