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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:28 EST