diff options
author | Paul Jackson <pj@sgi.com> | 2006-02-15 18:17:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-15 18:32:21 -0500 |
commit | 06fed33849c13af637c4d09e9ba27828fac9edd5 (patch) | |
tree | 0dd2fa91503250edc94ec58b23fbb3e9ad6100f4 /include/asm-m32r/mman.h | |
parent | 651c29a17f7ea0204dacbc2a5042d57b1c9e2e37 (diff) |
[PATCH] cpuset: oops in exit on null cpuset fix
Fix a latent bug in cpuset_exit() handling. If a task tried to allocate
memory after calling cpuset_exit(), it oops'd in
cpuset_update_task_memory_state() on a NULL cpuset pointer.
So set the exiting tasks cpuset to the root cpuset instead of to NULL.
A distro kernel hit this with an added kernel package that had just such a
hook (allocating memory) in the exit code path.
Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m32r/mman.h')
0 files changed, 0 insertions, 0 deletions