diff options
author | Hugh Dickins <hughd@google.com> | 2021-06-24 18:39:07 -0700 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2021-06-30 08:47:28 -0400 |
commit | 7b55a4bcfccf839d5b65fbfba82f8edcf1bef423 (patch) | |
tree | 3f4609021e2568a940714c64d5895581ff922fb8 /mm/percpu-internal.h | |
parent | 1cb0b9059f9ef46e113fd90ed50accbc877cc013 (diff) | |
download | linux-rt-7b55a4bcfccf839d5b65fbfba82f8edcf1bef423.tar.gz |
mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
commit 3306d3119ceacc43ea8b141a73e21fea68eec30c upstream.
page_vma_mapped_walk() cleanup: re-evaluate pmde after taking lock, then
use it in subsequent tests, instead of repeatedly dereferencing pointer.
Link: https://lkml.kernel.org/r/53fbc9d-891e-46b2-cb4b-468c3b19238e@google.com
Signed-off-by: Hugh Dickins <hughd@google.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Cc: Wang Yugui <wangyugui@e16-tech.com>
Cc: Will Deacon <will@kernel.org>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Zi Yan <ziy@nvidia.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/percpu-internal.h')
0 files changed, 0 insertions, 0 deletions