Messages in this thread | | | Date | Tue, 8 Feb 2000 13:01:44 +0100 | From | Jamie Lokier <> | Subject | Re: how does kernel get the "current" task struct? |
| |
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/
| |