diff options
| author | Chris Wright <[email protected]> | 2011-07-25 17:12:14 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-07-25 20:57:09 -0700 |
| commit | d788e80a8c83ecdbdd55b6e985cced9cfe3a815b (patch) | |
| tree | d287900bc24e17b7d65f1f57b9c59901040ea01d /tools/perf/scripts/python | |
| parent | 1bb36fbd4d58ec3fab4dab5ed39a2af492c263ea (diff) | |
mm/huge_memory.c: minor lock simplification in __khugepaged_exit
The lock is released first thing in all three branches. Simplify this by
unconditionally releasing lock and remove else clause which was only there
to be sure lock was released.
Signed-off-by: Chris Wright <[email protected]>
Reviewed-by: Michal Hocko <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Acked-by: Johannes Weiner <[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