Re: how does kernel get the "current" task struct?

From: Linus Torvalds (torvalds@transmeta.com)
Date: Mon Feb 07 2000 - 15:16:23 EST


In article <389998E1.D374DA9D@colorfullife.com>,
Manfred Spraul <manfreds@colorfullife.com> wrote:
>
>Could you check the buddy allocator?
>I think that the zoned buddy allocator aligns memory allocations
>relative to the beginning of the zone, and not relative to the physical
>address.

The zones have to be aligned, there's no question about that. The
preferred alignment is in the megabyte range, rather than in individual
pages. In fact, I would suggest always making sure that it is aligned to
the largest order that get_free_page() supports, and I think that's true
of all current architectures..

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:15 EST