tech-kern archive

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

Re: Placing lwp in uarea [was: Re: uarea swap-out]

On Sat, Jan 23, 2010 at 12:43:10PM -0800, Matt Thomas wrote:
> On Jan 23, 2010, at 1:21 AM, David Laight wrote:
> > On Sat, Jan 23, 2010 at 05:42:44PM +1100, matthew green wrote:
> >> 
> >> what is the purpose of this change?
> To coalesce the number of allocations needed for lwp creation.

I'd have thought that allocating memory blocks was a minimal part
of the cost of lwp creations. Under normal conditions it is just
the removal of an item from a single linked (per cpu) list.

(Unless the item is larger than a page - and we have to allocate it
from the kernel map directly.)


David Laight:

Home | Main Index | Thread Index | Old Index