summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2010-10-26 14:21:25 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-26 16:52:05 -0700
commit723548bff1dde9ab6bdb23f4bb92277c4da49473 (patch)
tree7c4b97cb80003caae19a849e9ffb490be943bbf2 /fs/xfs
parent1e99bad0d9c12a4aaa60cd812c84ef152564bcf5 (diff)
downloadlinux-723548bff1dde9ab6bdb23f4bb92277c4da49473.tar.gz
linux-723548bff1dde9ab6bdb23f4bb92277c4da49473.tar.bz2
linux-723548bff1dde9ab6bdb23f4bb92277c4da49473.zip
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 <akpm@linux-foundation.org> Signed-off-by: David Rientjes <rientjes@google.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Rik van Riel <riel@redhat.com> Cc: Ying Han <yinghan@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions