Linux-kernel mailing list archive 2000-23,: Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)

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

Stephen C. Tweedie (sct@redhat.com)
Wed, 7 Jun 2000 22:24:21 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: David Ford: "Re: ALI M15x3 support"
- Previous message: Rik van Riel: "Re: journaling & VM (was: Re: reiserfs being part of the kernel:"
- Next in thread: Juan J. Quintela: "Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)"
- Reply: Juan J. Quintela: "Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)"

Hi,

On Wed, Jun 07, 2000 at 10:56:17PM +0200, Juan J. Quintela wrote:
>
> >> I'd like to be able to keep stuff simple in the shrink_mmap
> >> "equivalent" I'm working on. Something like:
> >>
> >> if (PageDirty(page) && page->mapping && page->mapping->flush)
> >> maxlaunder -= page->mapping->flush();
>
> sct> That looks ideal.
>
> But this is supposed to flush that _page_, at least in the normal
> case.

All transactional filesystems will have ordering constraints which
the core VM cannot know about. In that case, the filesystem may
simply have no choice about cleaning and unpinning pages in a given
order. For actually removing a page from memory, evicting precisely
the right page is far more important, but for writeback, it's
controlling the amount of dirty/pinned data from the various different
sources which counts.

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/

- Next message: David Ford: "Re: ALI M15x3 support"
- Previous message: Rik van Riel: "Re: journaling & VM (was: Re: reiserfs being part of the kernel:"
- Next in thread: Juan J. Quintela: "Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)"
- Reply: Juan J. Quintela: "Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)"