diff options
| author | KOSAKI Motohiro <[email protected]> | 2010-03-05 13:41:43 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-03-06 11:26:24 -0800 |
| commit | 06f9d8c2b50060543fb6e0af87ddb86e654dee6b (patch) | |
| tree | 0e0f7687c58e0948334f238208529d65de165eea /tools/perf/scripts/python | |
| parent | c58267c32429ea6535428ca6b8a036892c1697f2 (diff) | |
mm: mlock_vma_pages_range() only return success or failure
Currently, mlock_vma_pages_range() only return len or 0. then current
error handling of mmap_region() is meaningless complex.
This patch makes simplify and makes consist with brk() code.
Signed-off-by: KOSAKI Motohiro <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Lee Schermerhorn <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Hugh Dickins <[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