On Tue, 10 Jul 2007, Nick Piggin wrote:
> > The sheer list of patches lined up behind this set is strong evidence that
> > there are useful features which depend on a working order>0. When you add in
> > the existing code that has to struggle with allocation failures or resort to
> > special pools (ie hugetlbfs), I see a clear vote for the need for this patch.
>
> Really the only patches so far that I think have convincing reasons are
> memory unplug and hugepage, and both of those can get a long way by using
> a reserve zone (note it isn't entirely reserved, but still available for
> things like pagecache). Beyond that, is there a big demand, and do we
> want to make this fundamental change in direction in the kernel to
> satisfy that demand?
SLUB can use it to use large order pages which generate less lock
contention which is important in SMP systems. Large pages also increase
the object density in slabs.
> So small ones like order-1 and 2 seem reasonably good right now AFAIKS.
Sorry no. Without the antifrag patches I had failures even with order 1
and 2 allocs from SLUB.
> If you perhaps want to say start using order-4 pages for slab or
> some other kernel memory allocations, then you can run into the situation
> where memory gets fragmented such that you have one sixteenth of your
> memory actualy used but you can't allocate from any of your slabs because
> there are no order-4 pages left. I guess this is a big difference between
> order-low failures and order-high.
The order that is readily reclaimable should be configurable.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]