]> err.no Git - linux-2.6/commit
cpuset: limit the input of cpuset.sched_relax_domain_level
authorLi Zefan <lizf@cn.fujitsu.com>
Tue, 13 May 2008 02:27:17 +0000 (10:27 +0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 19 Jun 2008 07:45:36 +0000 (09:45 +0200)
commit30e0e178193d4221abc9926b07a4c7661c7cc4a9
treef6ad7d54e810a97345ad82b55832a2dbfb3ca6e2
parent9bedbcb207ed9a571b239231d99c8fd4a34ae24d
cpuset: limit the input of cpuset.sched_relax_domain_level

We allow the inputs to be [-1 ... SD_LV_MAX), and return -EINVAL
for inputs outside this range.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Acked-by: Paul Jackson <pj@sgi.com>
Acked-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Documentation/cpusets.txt
kernel/cpuset.c
kernel/sched.c