diff options
author | 2017-02-24 14:59:53 -0800 | |
---|---|---|
committer | 2017-02-24 17:46:56 -0800 | |
commit | db08f2030a173fdb95b2e8e28d82c4e8c04df2ac (patch) | |
tree | 7a6abca436184c04f2bf78c0e87cc14346d6b160 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mm: cleanups for printing phys_addr_t and dma_addr_t (diff) | |
download | linux-dev-db08f2030a173fdb95b2e8e28d82c4e8c04df2ac.tar.xz linux-dev-db08f2030a173fdb95b2e8e28d82c4e8c04df2ac.zip |
mm/gup: check for protnone only if it is a PTE entry
Do the prot_none/FOLL_NUMA check after we are sure this is a THP pte.
Archs can implement prot_none such that it can return true for regular
pmd entries.
Link: http://lkml.kernel.org/r/1487498326-8734-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Hillf Danton <hillf.zj@alibaba-inc.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions