kern/163585: cpuset(1) by twice kill SMP functionality
John Baldwin
jhb at freebsd.org
Tue Feb 18 20:00:01 UTC 2014
The following reply was made to PR kern/163585; it has been noted by GNATS.
From: John Baldwin <jhb at freebsd.org>
To: bug-followup at freebsd.org,
olevole at olevole.ru
Cc:
Subject: Re: kern/163585: cpuset(1) by twice kill SMP functionality
Date: Tue, 18 Feb 2014 14:49:25 -0500
I suspect you were using 'cpuset -c -l N -p <PID>' rather than
'cpuset -l N -p <PID>' in which case this is working as designed. When you
use '-c', you change the mask of the global cpuset that the process belongs
to, not the mask that is private to the process itself.
The cpuminer bug referenced was exactly due to this (it was using
CPU_WHICH_CPUSET incorrectly which is identical to using cpuset -c)
--
John Baldwin
More information about the freebsd-bugs
mailing list