lkml.org 
[lkml]   [2002]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux-2.5.16
Hi,

On Sun, 19 May 2002, Linus Torvalds wrote:

> That reminds me - we should increment the rss for page directories now on
> the allocation path, because we will decrement rss for them when we free
> them (and because it's the right thing to do anyway, I guess - better
> resource tracking).
>
> The other alternative is to make separate versions of "tlb_remove_page()":
> one that decrements RSS, one that doesn't (and the latter would be used
> for page directories).
>
> Finally, I haven't really heard anything back from the "strange" VM
> architectures (ie sparc v8 and PPC) other than Davem's buy-in that the
> basic approach should work ok for them.

There is another problem even on rather "normal" systems, a pgd/pmd
directory doesn't have to be of PAGE_SIZE size, e.g. on m68k it's 512
bytes.

bye, Roman

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

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