lkml.org 
[lkml]   [2000]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.239 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site