Messages in this thread | | | Date | Tue, 2 Nov 1999 16:27:21 -0500 (EST) | From | <> | Subject | Re: Buffer and page cache |
| |
On Tue, 2 Nov 1999, V. Ganesh wrote:
> > > > - a bit to keep shrink_mmap away from the page. > > > > Yes, bumping the page count is the perfect way to do this. > > exactly where would you bump up the page count ? in write() ? > what if there were several writes to the same page ? we can't keep bumping > it up. of course we could abuse the page count by setting a high bit, but > that's ugly.
That's why one writepage is called with the page locked.
-ben
- 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/
| |