Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2750226ybi; Thu, 18 Jul 2019 13:43:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRRzubOGh5DiLSALkCJ7uX121OwLNfPzRFNRXpmbeHXfDz1pG9Ez4D+oZw/53DK8Y56S0E X-Received: by 2002:a17:90a:f498:: with SMTP id bx24mr53977926pjb.91.1563482624673; Thu, 18 Jul 2019 13:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563482624; cv=none; d=google.com; s=arc-20160816; b=0aTOl6OFML6Fk3HXc3u5LgAR//TpH+H5iiujkQkjNRON/nSRbhO9NfPAngOb6UrV0Q 1A3T8S28pFOPic+rxgQMgWPpP4bB2t85jOdS4m4Vw4nx9Ntd91+CNuHsxBp5hAzw3H3L TJQ9XFIE82FPJd6TcCzydhgUwf7qcUuBFKn/CCTn04mLfr8H8dvERw4vg73smwHPZlJq 01GZ0875qnWvZdbGCLqwUEZDf+fDD6mwgmA80TxbBNYo41Xsl+n+siHg/KjKWrLrUfNV vi30PkhT0EC0O90auoiqeSKb08uZ8fzhLh2gM0W/yU/8LAGFZEbx7T+wVKQVcZJtPtUJ UbBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=9eblpP3JyzQ/q2PT74U6nG0AEs1Cq9zUs8kBlURUKNg=; b=MZsmq2eSTzQpBPdFmpr9jMpRI27Z41fWODRSKY0vn0TEW2dacfgNtyFdcKm0oTpzY/ +Rk/xGuuOpzKWrwYgYS6u9bP4noCxNZmLGV+sjVaXXDrPEQLpVC8dya7Be6UTArVmY2R Wd4OOQXeYZP/ZvtqiOcrRUUh7D1VF42iX7e5DrMJHadoAhnf1QvIl5fLJvskr3A41Gd7 BxRwadIthlyRFMFHazAWqI28lVTpuZ61mGGvJCdt81u+xBRFn+AbCMnvZwvyHP6GX/M+ oMVvxjCvgWRaQZGxvd7FSWWYEVHp0DWHWSktqiGlu2ZHDHXm6ZV2C7N5E0fjFzYBMu3q xBfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9si26324607pgp.435.2019.07.18.13.43.28; Thu, 18 Jul 2019 13:43:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728056AbfGRUnJ (ORCPT + 99 others); Thu, 18 Jul 2019 16:43:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36988 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727685AbfGRUnI (ORCPT ); Thu, 18 Jul 2019 16:43:08 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 71EB881F0C; Thu, 18 Jul 2019 20:43:08 +0000 (UTC) Received: from redhat.com (ovpn-120-147.rdu2.redhat.com [10.10.120.147]) by smtp.corp.redhat.com (Postfix) with SMTP id C0FFA607B0; Thu, 18 Jul 2019 20:42:51 +0000 (UTC) Date: Thu, 18 Jul 2019 16:42:50 -0400 From: "Michael S. Tsirkin" To: Andrew Morton Cc: Wei Wang , linux-mm@kvack.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, xdeguillard@vmware.com, namit@vmware.com, pagupta@redhat.com, riel@surriel.com, dave.hansen@intel.com, david@redhat.com, konrad.wilk@oracle.com, yang.zhang.wz@gmail.com, nitesh@redhat.com, lcapitulino@redhat.com, aarcange@redhat.com, pbonzini@redhat.com, alexander.h.duyck@linux.intel.com, dan.j.williams@intel.com Subject: Re: [PATCH v2] mm/balloon_compaction: avoid duplicate page removal Message-ID: <20190718164152-mutt-send-email-mst@kernel.org> References: <1563442040-13510-1-git-send-email-wei.w.wang@intel.com> <20190718082535-mutt-send-email-mst@kernel.org> <20190718133626.e30bec8fc506689b3daf48ee@linux-foundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190718133626.e30bec8fc506689b3daf48ee@linux-foundation.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 18 Jul 2019 20:43:08 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 18, 2019 at 01:36:26PM -0700, Andrew Morton wrote: > On Thu, 18 Jul 2019 08:26:11 -0400 "Michael S. Tsirkin" wrote: > > > On Thu, Jul 18, 2019 at 05:27:20PM +0800, Wei Wang wrote: > > > Fixes: 418a3ab1e778 (mm/balloon_compaction: List interfaces) > > > > > > A #GP is reported in the guest when requesting balloon inflation via > > > virtio-balloon. The reason is that the virtio-balloon driver has > > > removed the page from its internal page list (via balloon_page_pop), > > > but balloon_page_enqueue_one also calls "list_del" to do the removal. > > > This is necessary when it's used from balloon_page_enqueue_list, but > > > not from balloon_page_enqueue_one. > > > > > > So remove the list_del balloon_page_enqueue_one, and update some > > > comments as a reminder. > > > > > > Signed-off-by: Wei Wang > > > > > > ok I posted v3 with typo fixes. 1/2 is this patch with comment changes. Pls take a look. > > I really have no idea what you're talking about here :(. Some other > discussion and patch thread, I suppose. > > You're OK with this patch? Not exactly. I will send v5 soon, you will be CC'd. > Should this patch have cc:stable? Yes. Sorry.