12.2 cpuset behaves unexpected

Peter pmc at citylink.dinoex.sub.org
Thu Oct 15 13:09:25 UTC 2020


After upgrading 11.4 -> 12.2, cpuset now behaves rather different:

# cpuset -C -p NNN

11.4: a new set is created with all cpu enabled, and the process
      is moved into that set, with the thread mask unchanged.
12.2: nothing is done, but an error raises if threadmask == setmask.

# cpuset -l XX -C -p NNN

11.4: a new set is created with all cpu enabled, and the process
      is moved into that set, with the thread mask changed to the
      -l parameter.
12.2: an error raises if threadmask == setmask, otherwise the
      threadmask is changed to the -l parameter.

It seems the -C option does not work anymore (except for creating
errors that appear somehow bogus).


PMc


More information about the freebsd-stable mailing list