diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2013-06-06 07:20:34 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-06-20 06:55:06 (GMT) |
commit | 8663890a9e9278623d20c67aa9fbeeb31ff3be97 (patch) | |
tree | 25d4a836ceaba9530ae01d2fd390d5450b0b260a /lib/locking-selftest-hardirq.h | |
parent | 25e33ed9c711c8d64c403a17d4a2cdeac213800b (diff) | |
download | linux-fsl-qoriq-8663890a9e9278623d20c67aa9fbeeb31ff3be97.tar.xz |
mm/thp: use the correct function when updating access flags
We should use pmdp_set_access_flags to update access flags. Archs like
powerpc use extra checks(_PAGE_BUSY) when updating a hugepage PTE. A
set_pmd_at doesn't do those checks. We should use set_pmd_at only when
updating a none hugepage PTE.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>a
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/locking-selftest-hardirq.h')
0 files changed, 0 insertions, 0 deletions