Messages in this thread | | | From | Nick Piggin <> | Subject | Re: [patch 1/2] mm: dont clear PG_uptodate in invalidate_complete_page2() | Date | Mon, 7 Jul 2008 20:43:16 +1000 |
| |
On Monday 07 July 2008 19:21, Miklos Szeredi wrote: > On Mon, 7 Jul 2008, Nick Piggin wrote: > > I don't know what became of this thread, but I agree with everyone else > > you should not skip clearing PG_uptodate here. If nothing else, it > > weakens some important assertions in the VM. But I agree that splice > > should really try harder to work with it and we should be a little > > careful about just changing things like this. > > Sure, that's why I rfc'ed. > > But I'd still like to know, what *are* those assumptions in the VM > that would be weakened by this?
Not assumptions (that I know of, but there could be some) but assertions. For example we assert that pages in page tables are always uptodate. We'd miss warning if we had an invalidated page in the pagetables after this change.
| |