Linux-kernel mailing list archive 2000-23,: Re: New Linux 2.5 - 2.6 TODO (Alan Cox suggestsdelaying

# Re: New Linux 2.5 - 2.6 TODO (Alan Cox suggestsdelaying

Andreas Dilger (adilger@turbolabs.com)
Tue, 6 Jun 2000 09:07:55 -0600 (MDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Mike Porter: "Re: ULTRA ATA/100 announced"
- Previous message: Chris Mason: "Re: memory pressure callbacks (was: 2.5 TODO)"

Chris Mason writes:
> We need two things:
>
> 1) a way to reserve and release a pinned page count. This will allow a
> pinned page high watermark so the journaled filesystems can plan nice
> without pinning all the ram.
>
> 2) A memory pressure call back in the address space operations. This
> really does seem more flexible than a call in struct super_operations.

We have needed this for our page-cache based filesystem development as
well. Both the memory pressure callback and the cache size are hacked
into one of our development filesystems at this point, and it is possible
to force OOM on the system. Having a callback is the only way to "play
nice" with cached pages.

I think NWFS has the same need as well...

Cheers, Andreas

    --
    Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                     \  would they cancel out, leaving him still hungry?"
    http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

    -
    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: Mike Porter: "Re: ULTRA ATA/100 announced"
- Previous message: Chris Mason: "Re: memory pressure callbacks (was: 2.5 TODO)"