]> git.neil.brown.name Git - history.git/commit
[PATCH] urgent rmap bugfix
authorRik van Riel <riel@conectiva.com.br>
Tue, 23 Jul 2002 04:11:28 +0000 (21:11 -0700)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Tue, 23 Jul 2002 04:11:28 +0000 (21:11 -0700)
commit263399c65c7c1a08f3b8223ea5d7e981800f1821
tree9636e644fec2f600945ce8af208338a0e3a2e3e7
parentde77864d2144b6c0f524f5395ea0a459d3804242
[PATCH] urgent rmap bugfix

It turns out there was a subtle bug in Craig Kulesa's port of
the rmap patch to 2.5, which is only apparent on non-x86 machines
where pfn 0 isn't valid.

The problem was that zap_pte_range() would clear the pte before
page_remove_rmap() would get called. This means that on these
machines the pte chain would never be removed and the machine
would oops at page_alloc.c line 98...

Thanks to Russell King for helping track down this bug.
mm/rmap.c