On Tue, 2005-01-18 at 20:45 +0530, Ravikiran G Thirumalai wrote:
> On Tue, Jan 18, 2005 at 12:30:32PM +1100, Rusty Russell wrote:
> > On Tue, 2005-01-18 at 00:06 +0530, Ravikiran G Thirumalai wrote:
> > > ...
> > > The allocator can be easily modified to use __per_cpu_offset[] table at a
> > > lat
On Tue, Jan 18, 2005 at 12:30:32PM +1100, Rusty Russell wrote:
> On Tue, 2005-01-18 at 00:06 +0530, Ravikiran G Thirumalai wrote:
> > ...
> > The allocator can be easily modified to use __per_cpu_offset[] table at a
> > later
> > stage by:
> > 1. Allocating ALIGN(__per_cpu_end - __per_cpu_start,
On Tue, 2005-01-18 at 00:06 +0530, Ravikiran G Thirumalai wrote:
> Here's the alloc_percpu reimplementation changed to
> - Use qsort
> - Use GFP_KERNEL|__GFP_HIGHMEM|__GFP_ZERO for BLOCK_MANAGEMENT_PAGES
> (GFP_HIGHZERO would have been ideal)
> - Changed currency size to sizeof (int) from sizeof
Here's the alloc_percpu reimplementation changed to
- Use qsort
- Use GFP_KERNEL|__GFP_HIGHMEM|__GFP_ZERO for BLOCK_MANAGEMENT_PAGES
(GFP_HIGHZERO would have been ideal)
- Changed currency size to sizeof (int) from sizeof (void *) for better
utilization for small objects
The allocator can be
4 matches
Mail list logo