Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755456AbdD0LdT (ORCPT ); Thu, 27 Apr 2017 07:33:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46390 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753956AbdD0LdJ (ORCPT ); Thu, 27 Apr 2017 07:33:09 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com CEE556584E Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=drjones@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com CEE556584E Date: Thu, 27 Apr 2017 13:33:04 +0200 From: Andrew Jones To: Radim =?utf-8?B?S3LEjW3DocWZ?= Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Christoffer Dall , Marc Zyngier , Paolo Bonzini , Christian Borntraeger , Cornelia Huck , James Hogan , Paul Mackerras Subject: Re: [PATCH v2 1/9] KVM: add kvm_{test,clear}_request to replace {test,clear}_bit Message-ID: <20170427113304.2sxivi4vol3kbxhk@kamzik.brq.redhat.com> References: <20170426203227.12321-1-rkrcmar@redhat.com> <20170426203227.12321-2-rkrcmar@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170426203227.12321-2-rkrcmar@redhat.com> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 27 Apr 2017 11:33:09 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 578 Lines: 16 On Wed, Apr 26, 2017 at 10:32:19PM +0200, Radim Krčmář wrote: > Users were expected to use kvm_check_request() for testing and clearing, > but request have expanded their use since then and some users want to > only test or do a faster clear. > > Make sure that requests are not directly accessed with bit operations. This isn't 100% accurate, as the set_bit changes are made in the next patch. > > Reviewed-by: Christian Borntraeger > Signed-off-by: Radim Krčmář Otherwise Reviewed-by: Andrew Jones