Messages in this thread | | | Subject | Re: Have the 2.4 kernel memory management problems on large machines | Date | Wed, 22 May 2002 19:34:55 +0100 (BST) | From | Alan Cox <> |
| |
> You don't strictly even need to LRU it - you could just keep a pte count > aroudn, and when it goes to zero you zap the pmd. You can use the normal > page_count() thing for it.
That assumes you want to page out the page table only after the pages it references are paged out. There is no reason I can see for not flushing it first. Its very cheap to regenerate for non-anonymous pages - much cheaper than the pages it references. Also the locality of most apps means that there are zillions of glibc pages they reference only once (for init, and for linker fixups/names)
- 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/
| |