diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | 2018-08-22 20:16:04 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-08-23 05:16:01 +0300 |
commit | bd0dbb73e01306a1060e56f81e5fe287be936477 (patch) | |
tree | c9fca4a21b66504708a415be3f63b5a4d03573a6 /sound/core/oss/copy.c | |
parent | 810e9f86f36f59f1d6f6710220c49afe0c705f38 (diff) | |
download | linux-bd0dbb73e01306a1060e56f81e5fe287be936477.tar.xz |
powerpc/mm/books3s: Add new pte bit to mark pte temporarily invalid.
When splitting a huge pmd pte, we need to mark the pmd entry invalid. We
can do that by clearing _PAGE_PRESENT bit. But then that will be taken as a
swap pte. In order to differentiate between the two use a software pte bit
when invalidating.
For regular pte, due to bd5050e38aec ("powerpc/mm/radix: Change pte relax
sequence to handle nest MMU hang") we need to mark the pte entry invalid when
relaxing access permission. Instead of marking pte_none which can result in
different page table walk routines possibly skipping this pte entry, invalidate
it but still keep it marked present.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'sound/core/oss/copy.c')
0 files changed, 0 insertions, 0 deletions