Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1028555pxb; Fri, 26 Feb 2021 00:07:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKmT48xAzPgsrZWjpH3y8QamQZ+VMFi/p/lZItMcpb1vynez8xEbe7VSYB2jo0JdqXfofF X-Received: by 2002:a05:6402:5188:: with SMTP id q8mr1952066edd.89.1614326857480; Fri, 26 Feb 2021 00:07:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614326857; cv=none; d=google.com; s=arc-20160816; b=lN9RtFLu0npdHB35ag4PWMBMAyngt8msihhCA9nKUD69672sCM/0nIScFJrtaXXWGz IQdA6zOylfMEac+LTswLoMKi2IT2at2vhAh1v6SzgaQupTJGv7f3woBar/hD+xUuC/ZL 3IdkrBUMF+z7d5HNbaAZukZ2pSseM/MAfwtK6RJGRcbbuEd6NcSSm00Q79IMEIK987lv NyCTX9K+VLtFu8lDXYamdvlNQWUMDMRDWPdXrVhcSUd3Ob+EySyJS95UdlUmxcsSQ1/1 Jzltkuf5Dq6Z61AL0s40G/n3vNKRO2aE0v2aP7Q3CIolK0F6XshvjyFlGUPCzcHSwfbB PWJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=HV5MSlda6N597b7xTJHRQ+L2lFOzy5bnowVO9E3RZ1I=; b=EB+FdW+MMPyi5Z14Tta/g4uLMujDIdoGiQ9KPtslFdJoXnEwM7qX/QcNawVOyDfc4T InDJDifVUq1nhU/RvPD5WnVMiLzmMviQ179Npgc6rtphcwrANzKfw5lBwh4oXmHknlUe V7udQYMIAFfkG/F/FuVXv8CCXVrQnjy1BLYXx1QffF5b4xwp7D9/Go7XAtSU3jSed+NH Xz9U0Svjl2gxnI1NvpshRXNLVgMDVp11MhwsAseY08dWBNMLdpDvVIQDF1QZOjt1WwY8 U80W6V9Fa1ZrWTFQ03mYbHfc3ine5KqmEmWS1fiDIC9SbobKM8xpA7Omis9pHAMPVl4D AQlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Dagp2sIF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dg28si5150022edb.249.2021.02.26.00.07.12; Fri, 26 Feb 2021 00:07:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Dagp2sIF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230163AbhBZIFR (ORCPT + 99 others); Fri, 26 Feb 2021 03:05:17 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:60997 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230024AbhBZIFI (ORCPT ); Fri, 26 Feb 2021 03:05:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614326621; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HV5MSlda6N597b7xTJHRQ+L2lFOzy5bnowVO9E3RZ1I=; b=Dagp2sIF2GfVCzQ2ZOQbK37DTrdflH2V0/a/j9u30EEyZOcB6v6SurYLFRiWnhuvi/YjrF eN0rQjvA9o4CbMFix5UZbmBo2EWiPGHpJ49uALbcLO7y2l92wzZGgglwRcR8sL+67MeZCN V5db0ed9sm6VhYVjmOsTuvp+/eFJSoM= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-238-Tmf3M9KcM1yl6hxlXgJ-Iw-1; Fri, 26 Feb 2021 03:03:39 -0500 X-MC-Unique: Tmf3M9KcM1yl6hxlXgJ-Iw-1 Received: by mail-ed1-f72.google.com with SMTP id m1so4120198edv.12 for ; Fri, 26 Feb 2021 00:03:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=HV5MSlda6N597b7xTJHRQ+L2lFOzy5bnowVO9E3RZ1I=; b=ma3UfNqp1Dqh4KG2KMMqQC0I0TyqMO67zht2N0jxPAqxxZe1+ub1NHaSzWWVdNOEw2 Hq1jeknRdtNkreBYY27pqygJ5px9LrUOm+h4EpLv8xxj7CwO6UW+XM7/P2OO5ADBVXyc 8GLeIxR0bOcruCS9cD5xAEvOKrt8DqLEoWDA9dQb6d2wl1hmVFg25UHiaxPGyiejjSEP aMJmAzWsBFotJNYH5rruammCfLUtYutdYUW6LDgrjb2RVa2vBY2o+JPOBA5Gmcmhwrzr frsQkB/zo1IiPgBTfM/2t5JiH2kRQxNCC3heXZ61YMdOFHZlj8Uxx0Jw5dbi9oDzRL0G M6WQ== X-Gm-Message-State: AOAM532gYIzi+DG8S9IN4uqsKLziXLDkubM5VcysAw1fZ9DGH8D/X8w0 79J4W/05mrAF7LkPBDFeiI2DLR6+UN8SsNnY7JR+WfoWE8QN5Q71ixyvFzWFUOUxPXGLye3BctI 92cDjjV+DHku2hEEgQYXJ11WyaT7dWOPW8NFzhqLPd2AnjIZecpnk/p1jRQyCTmhfhEUe2DZI4u r6 X-Received: by 2002:a05:6402:229a:: with SMTP id cw26mr1907119edb.224.1614326618195; Fri, 26 Feb 2021 00:03:38 -0800 (PST) X-Received: by 2002:a05:6402:229a:: with SMTP id cw26mr1907083edb.224.1614326617991; Fri, 26 Feb 2021 00:03:37 -0800 (PST) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id l7sm5058597edv.50.2021.02.26.00.03.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 26 Feb 2021 00:03:37 -0800 (PST) Subject: Re: [PATCH v2 1/1] KVM: x86: remove misplaced comment on active_mmu_pages To: Dongli Zhang , kvm@vger.kernel.org, x86@kernel.org Cc: seanjc@google.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, hpa@zytor.com, linux-kernel@vger.kernel.org References: <20210226061945.1222-1-dongli.zhang@oracle.com> From: Paolo Bonzini Message-ID: <78662af6-be71-4a81-8999-5b7011682728@redhat.com> Date: Fri, 26 Feb 2021 09:03:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210226061945.1222-1-dongli.zhang@oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/02/21 07:19, Dongli Zhang wrote: > The 'mmu_page_hash' is used as hash table while 'active_mmu_pages' is a > list. Remove the misplaced comment as it's mostly stating the obvious > anyways. > > Signed-off-by: Dongli Zhang > Reviewed-by: Sean Christopherson > --- > Changed since v1: > - change 'incorrect' to 'misplaced' > > arch/x86/include/asm/kvm_host.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h > index 84499aad01a4..318242512407 100644 > --- a/arch/x86/include/asm/kvm_host.h > +++ b/arch/x86/include/asm/kvm_host.h > @@ -937,9 +937,6 @@ struct kvm_arch { > unsigned int indirect_shadow_pages; > u8 mmu_valid_gen; > struct hlist_head mmu_page_hash[KVM_NUM_MMU_PAGES]; > - /* > - * Hash table of struct kvm_mmu_page. > - */ > struct list_head active_mmu_pages; > struct list_head zapped_obsolete_pages; > struct list_head lpage_disallowed_mmu_pages; > Queued, thanks. Paolo