diff options
author | Dan Williams <[email protected]> | 2017-03-09 16:16:45 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2017-03-09 17:01:09 -0800 |
commit | b2e593e271b0760ebc8999e5f9dd068ae2b9d30a (patch) | |
tree | cafd706b335db08092cea4ed58b6510321910906 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ef947b2529f918d9606533eb9c32b187ed6a5ede (diff) |
x86, mm: unify exit paths in gup_pte_range()
All exit paths from gup_pte_range() require pte_unmap() of the original
pte page before returning. Refactor the code to have a single exit
point to do the unmap.
This mirrors the flow of the generic gup_pte_range() in mm/gup.c.
Link: http://lkml.kernel.org/r/148804251828.36605.14910389618497006945.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Ross Zwisler <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions