From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH 4/4] x86/capabilities: set/clear them using non-locked bitops Date: Wed, 14 Oct 2015 15:36:34 +0100 Message-ID: <561E6872.9030208@citrix.com> References: <561E734D02000078000AAEC5@prv-mh.provo.novell.com> <561E756402000078000AAF0D@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZmNB2-0005e6-Li for xen-devel@lists.xenproject.org; Wed, 14 Oct 2015 14:37:12 +0000 In-Reply-To: <561E756402000078000AAF0D@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel Cc: Keir Fraser List-Id: xen-devel@lists.xenproject.org On 14/10/15 14:31, Jan Beulich wrote: > Their initialization happens without races, so there's no point in > using atomic (locked) operations to update the respective flags. > (There's one case where the clear_bit() was completely pointless.) > > Also drop a neighboring stale comment from AMD code. > > Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper