diff options
| author | David Rientjes <[email protected]> | 2010-10-26 14:21:25 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-10-26 16:52:05 -0700 |
| commit | 723548bff1dde9ab6bdb23f4bb92277c4da49473 (patch) | |
| tree | 7c4b97cb80003caae19a849e9ffb490be943bbf2 /scripts/objdiff | |
| parent | 1e99bad0d9c12a4aaa60cd812c84ef152564bcf5 (diff) | |
oom: rewrite error handling for oom_adj and oom_score_adj tunables
It's better to use proper error handling in oom_adjust_write() and
oom_score_adj_write() instead of duplicating the locking order on various
exit paths.
Suggested-by: Andrew Morton <[email protected]>
Signed-off-by: David Rientjes <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Ying Han <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions