summaryrefslogtreecommitdiffstats
path: root/Documentation/scheduler
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2008-11-04 09:20:23 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-04 10:25:13 +0100
commitfaa2f98f856e89d1afb6e4a91707284d242e816e (patch)
tree3674a562130b89bf127c188102af6335cc5c4469 /Documentation/scheduler
parentsched: remove redundant call to unregister_sched_domain_sysctl() (diff)
downloadlinux-faa2f98f856e89d1afb6e4a91707284d242e816e.tar.xz
linux-faa2f98f856e89d1afb6e4a91707284d242e816e.zip
sched: add sanity check in partition_sched_domains()
Impact: cleanup, add debug check It's wrong to make dattr_new = NULL if doms_new == NULL, it introduces memory leak if dattr_new != NULL. Fortunately dattr_new is always NULL in this case. So remove the code and add a sanity check. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/scheduler')
0 files changed, 0 insertions, 0 deletions