Re: [PATCH] doc: Add CPU Isolation documentation
From: Sebastian Andrzej Siewior
Date: Wed Mar 25 2026 - 06:00:19 EST
On 2026-03-24 17:40:07 [+0100], To Waiman Long wrote:
> On 2026-03-24 12:00:17 [-0400], Waiman Long wrote:
> > > while looking at this again, shouldn't you also do
> > > echo 7 > cpuset.cpus.exclusive
> > >
> > > to ensure the CPU isn't used somewhere else?
> >
> > For backport compatibility, the use of cpuset.cpus.exclusive is optional for
> > creating a local partition underneath the cgroup root. The example should
> > still work without setting cpuset.cpus.exclusive.
>
> I would have to double check but I think only after the
> cpuset.cpus.exclusive the CPU vanished from the cpumask of my current
> task.
Let me take that back. After setting cpuset.cpus.partition the CPU mask
of the remaining tasks gets updated. All good.
> > Cheers,
> > Longman
>
Sebastian