[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)



Hi,

On Wed, Jun 07, 2000 at 06:40:24AM -0700, Chris Mason wrote:
> 
> Right now, almost of the pinned pages will be buffer cache pages, and only
> metadata is logged.  But, sometimes a data block must be flushed before
> transaction commit, and those pages are pinned, but can be written at any
> time.  I'm not sure I fully understand the issues with doing all the
> balancing through the page cache...

In 2.4, it's not a problem in principle to keep the buffer cache pages
on the page cache LRUs, even if they are not on the page cache hash 
lists.

> Allocate on flush will be different, and the address_space->pressure()
> method makes even more sense there.  Those pages will be on the LRU lists,
> and you want the pressure function to be called on each page.

Absolutely.

Cheers,
 Stephen
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/