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 -- David Laight: da...@l8s.co.uk