lkml.org 
[lkml]   [1999]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.041 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site