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

From: Jamie Lokier (lkd@tantalophile.demon.co.uk)
Date: Tue Feb 08 2000 - 07:01:44 EST


Linus Torvalds wrote:
> >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..

I don't see why it's necessary though. The allocator should simply use
absolute address values for pairing instead of zone-relative
addresses.. is there anything more to it than that?

-- Jamie

-
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 : Tue Feb 15 2000 - 21:00:12 EST