diff options
| author | Kirill A. Shutemov <[email protected]> | 2014-06-04 16:08:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-06-04 16:54:04 -0700 |
| commit | 69e68b4f03135da4a09d1215a3942d7dabd1075b (patch) | |
| tree | b69462f8a648708c31244d89a7fda3bde225ac7c /tools/perf/scripts/python | |
| parent | f2b495ca82e188fd2818479a551f126edf023756 (diff) | |
mm: cleanup follow_page_mask()
Cleanups:
- move pte-related code to separate function. It's about half of the
function;
- get rid of some goto-logic;
- use 'return NULL' instead of 'return page' where page can only be
NULL;
Signed-off-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions