Comment 64 for bug 188226

Revision history for this message
dhaval (dhaval-giani) wrote : Re: [Bug 188226] Re: Kernel should use CONFIG_FAIR_CGROUP_SCHED

On Sat, May 24, 2008 at 3:09 PM, cwillu <email address hidden> wrote:
> Doesn't seem to allow more than one task to be added:
>
> root@dominubuntu:/dev/cpuset# ls
> cpuacct.usage cpuset.memory_pressure_enabled ff
> cpuset.cpu_exclusive cpuset.memory_spread_page notify_on_release
> cpuset.cpus cpuset.memory_spread_slab pulse
> cpuset.mem_exclusive cpuset.mems releasable
> cpuset.memory_migrate cpuset.sched_load_balance release_agent
> cpuset.memory_pressure cpu.shares tasks
> root@dominubuntu:/dev/cpuset# mkdir test
> root@dominubuntu:/dev/cpuset# cd test
> root@dominubuntu:/dev/cpuset/test# echo 0 > cpuset.cpus
> root@dominubuntu:/dev/cpuset/test# echo 0 > cpuset.mems
> root@dominubuntu:/dev/cpuset/test# echo $$ > tasks
> root@dominubuntu:/dev/cpuset/test# echo 6781 > tasks
> bash: echo: write error: Operation not permitted
>

cat /proc/mounts. If you have mounted ns as well, that would explain it.

And use mount -t cgroup -o cpu none /cgroup to mount the group scheduler.

Thanks
Dhaval