diff options
| author | Nick Piggin <npiggin@suse.de> | 2006-09-26 10:31:32 +0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 19:48:49 +0400 |
| commit | 5081dde33f7a61d28d9b185cc386f12cb837c7a4 (patch) | |
| tree | d2e6f39db4005229580f571137a833c1dabfc38b /include/linux/moduleloader.h | |
| parent | af5b912435de32fbede08cee949429823ed49781 (diff) | |
| download | linux-5081dde33f7a61d28d9b185cc386f12cb837c7a4.tar.xz | |
[PATCH] oom: kthread infinite loop fix
Skip kernel threads, rather than having them return 0 from badness.
Theoretically, badness might truncate all results to 0, thus a kernel thread
might be picked first, causing an infinite loop.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/moduleloader.h')
0 files changed, 0 insertions, 0 deletions
