[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: [PATCHSET] percpu: generalize first chunk allocators and	improve
From:       "H. Peter Anvin" <hpa () zytor ! com>
Date:       2009-06-30 23:34:05
Message-ID: 4A4AA0ED.2020304 () zytor ! com
[Download RAW message or body]

Ingo Molnar wrote:
> * Tejun Heo <tj@kernel.org> wrote:
> 
>> Hello, Christoph.
>>
>> Christoph Lameter wrote:
> 
>>> I looked at allocating for online cpus only a couple of years 
>>> back but at that per cpu state was kept for offlined cpus in per 
>>> cpu areas. There are numerous assumptions in per cpu handling 
>>> all over the kernel that a percpu area is always available.
>> The plan is to allocate and keep percpu areas for cpus which have 
>> ever been up.  There'll be no taking down of percpu areas.  
>> Conversion from possible to has_ever_been_up should be much easier 
>> than possible -> online.  State keeping will work fine too.
> 
> That sounds like a very sane plan.
> 
> 	Ingo

Yes, percpu area dynamic *de*-allocation would almost certainly be a
nightmare.

	-hpa

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic