Re: question on dup_task_struct

From: Rik van Riel (
Date: Sun Aug 04 2002 - 08:42:03 EST

On Sat, 3 Aug 2002, Linus Torvalds wrote:
> On Sat, 3 Aug 2002, Andrew Morton wrote:
> >
> > It's not a 1-order allocation. I'll go back to sleep now.
> According to slabinfo, it's an order-2 allocation at least on SMP-x86,
> which is kind of sad. The object size is 1664 bytes, and the slab code
> decides that putting two of them per page is too wasteful, so it
> apparently puts 9 of them on 4 pages instead.

> So I think it should be just GFP_KERNEL.

Trying a little bit of active defragmentation for 4 and 8-page
allocations should be trivial with rmap. If you want I could
take a stab at writing this code.



Bravely reimplemented by the knights who say "NIH".

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:24 EST