[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6599ad830906170242v47b56368ra1b39ef2c5bb4a81@mail.gmail.com>
Date: Wed, 17 Jun 2009 02:42:58 -0700
From: Paul Menage <menage@...gle.com>
To: Li Zefan <lizf@...fujitsu.com>
Cc: Nikanth Karthikesan <knikanth@...e.de>,
linux-kernel@...r.kernel.org
Subject: Re: cpusets: document adding/removing cpus to cpuset elaborately
On Tue, Jun 16, 2009 at 5:45 PM, Li Zefan<lizf@...fujitsu.com> wrote:
> Nikanth Karthikesan wrote:
>> Writing a pid to the file, tasks adds that task to that cgroup/cpuset. But to
>> add a cpu/mem to a cpuset, the new list of cpus should be written to the
>> cpuset.mems file which would replace the old list of cpus. Make this clearer
>> in the documentation.
>>
>
> Though I think '>' already means overwrite so removing/adding cpus should
> always writing the full list of CPUs to 'cpus'
But in the context of cgroups/cpusets that's not always the case -
think of the "tasks" file.
>
> Acked-by: Li Zefan <lizf@...fujitsu.com>
Acked-by: Paul Menage <menage@...gle.com>
Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists