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/