Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate_complete_page2()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Miklos Szeredi
Date: Wednesday, June 25, 2008 - 8:59 am

> > > > > Like __block_prepare_write()?

But callers do check after having locked the page.


Umm, it doesn't make any sense to try to always get fresh data.  If
you do read() on a file, the data may become old and invalid a
millisecond after the read finished.  We can't and needn't do anything
about this.

Miklos
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate_c ..., Miklos Szeredi, (Wed Jun 25, 8:59 am)