]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sched: domain sysctl fixes: unregister the sysctl table before domains
authorMilton Miller <miltonm@bga.com>
Mon, 15 Oct 2007 15:00:19 +0000 (17:00 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 15 Oct 2007 15:00:19 +0000 (17:00 +0200)
commit6382bc90f5664c450afc1f896e7ddb35ba182af9
tree01e40b9d5f44bfeed712cf8d394a16aa93598436
parent97b6ea7b6369d51a451a7d5747a7939a593fdd9c
sched: domain sysctl fixes: unregister the sysctl table before domains

Unregister and free the sysctl table before destroying domains, then
rebuild and register after creating the new domains.  This prevents the
sysctl table from pointing to freed memory for root to write.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c