Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2014 20:00:01 GMT
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/163585: cpuset(1) by twice kill SMP functionality
Message-ID:  <201402182000.s1IK01X1075300@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/163585; it has been noted by GNATS.

From: John Baldwin <jhb@freebsd.org>
To: bug-followup@freebsd.org,
 olevole@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402182000.s1IK01X1075300>