From: Paul Jackson Date: Wed, 15 Feb 2006 23:17:38 +0000 (-0800) Subject: [PATCH] cpuset: oops in exit on null cpuset fix X-Git-Tag: v2.6.16-rc4~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06fed33849c13af637c4d09e9ba27828fac9edd5;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed