[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ideas for memory management hackers.
On Wed, 10 Dec 1997, Dr. Werner Fink wrote:
> In other words a better memory defragmentation is needed for 2.2, isn't it?
> A simple approach could be an addition address check during the scans
> in shrink_mmap (mm/filemap.c) instead of a freeing the first unused
> (random) page. This could be used in the first few priorities to free pages
> mostly useful for defragmentation.
>
> An other approach is Ben's anonymous ageing of physical task pages
> found in http://www.kvack.org/~blah/patches/v2_1_47_ben1.gz ...
> this approach gives a link of the pte of a page needed for ageing
> the page.
The past few times this has come up, the general argument from a few core
people is that if one *really* cares to find the pte's pointing to a page,
traversing the list of vma's attached to the inode, for which a pointer
already exists, would be sufficient. Until I come up with something
really kick-ass, I really doubt the pte-list stuff will be included.
-ben