>
> > > - 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/