diff options
| author | Ying Han <[email protected]> | 2012-05-29 15:06:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-05-29 16:22:20 -0700 |
| commit | 096a7cf44712ab531101bb4689f75f7fcd9b9f18 (patch) | |
| tree | 319313b6fcb6cc45bd7bee6b3fda4c8416863371 /tools/perf/scripts/python | |
| parent | c3ac9a8ade65ccbfd145fbff895ae8d8d62d09b0 (diff) | |
mm: rename is_mlocked_vma() to mlocked_vma_newpage()
Andrew pointed out that the is_mlocked_vma() is misnamed. A function
with name like that would expect bool return and no side-effects.
Since it is called on the fault path for new page, rename it in this
patch.
Signed-off-by: Ying Han <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Acked-by: KOSAKI Motohiro <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Reviewed-by: Minchan Kim <[email protected]>
[[email protected]: s/mlock_vma_newpage/mlock_vma_newpage/, per Minchan]
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