aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <[email protected]>2010-07-22 22:53:23 +0000
committerBenjamin Herrenschmidt <[email protected]>2010-07-22 22:53:23 +0000
commitca91e6c09d656c6deb1f2bc5d57186c718106aa5 (patch)
treea8d30759b6fac5616691b7a4a94222ab371d2bd6 /fs/jbd/commit.c
parentpowerpc/mm: Handle hypervisor pte insert failure in __hash_page_huge (diff)
downloadkernel-ca91e6c09d656c6deb1f2bc5d57186c718106aa5.tar.gz
kernel-ca91e6c09d656c6deb1f2bc5d57186c718106aa5.zip
powerpc/mm: Move around testing of _PAGE_PRESENT in hash code
Instead of adding _PAGE_PRESENT to the access permission mask in each low level routine independently, we add it once from hash_page(). We also move the preliminary access check (the racy one before the PTE is locked) up so it applies to the huge page case. This duplicates code in __hash_page_huge() which we'll remove in a subsequent patch to fix a race in there. Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions