aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorRik van Riel <[email protected]>2012-10-09 15:31:12 +0200
committerMel Gorman <[email protected]>2012-12-11 14:28:34 +0000
commit2c3cf556b2f7ab5823195766eddec6f1a43134f5 (patch)
treeed36a604ac7e629e4eb7c36eda1560ba5b19df59 /net/lapb/lapb_iface.c
parentcef23d9db6b76732d9b0933cb162358a6a1f43d7 (diff)
x86/mm: Introduce pte_accessible()
We need pte_present to return true for _PAGE_PROTNONE pages, to indicate that the pte is associated with a page. However, for TLB flushing purposes, we would like to know whether the pte points to an actually accessible page. This allows us to skip remote TLB flushes for pages that are not actually accessible. Fill in this method for x86 and provide a safe (but slower) method on other architectures. Signed-off-by: Rik van Riel <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Fixed-by: Linus Torvalds <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/n/[email protected] [ Added Linus's review fixes. ] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions