Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8033067ybn; Tue, 1 Oct 2019 02:02:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqwtHCG/788BAguA9FftHCjnX2MRWPuiBOngoUPt6cHhav82ttiAzV2v7SN33nwZs3RZLMlH X-Received: by 2002:a50:ce06:: with SMTP id y6mr23530751edi.282.1569920549606; Tue, 01 Oct 2019 02:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569920549; cv=none; d=google.com; s=arc-20160816; b=dDOwkVZAi/NvHuUP7gMOU4oHrmbV8DX70YpUnSWOwCR/ncgN1vuvsnMFKKUYUk6Fo8 /4YNA8Sb5zdlFMWVkewvqHPiRKkkiHjnf4AJyLCivHSXBe7MVg2Fu2w/7Rc7dTjnTYTv NOyb0TiNj8sZN9ouhaKGIW3QB7anM/iLYSPV8HDZ0/O16Jwlg2+0uSYn7e2lJO9vRyK/ PzpSx4NrUehRcEIymM3o0U6ZRzDTwHK1nciykJ0+X4PofMuTD4x90NcoJ+SIq+V2qFzu imCUAj/ctQXnuMVod0QL5J8srFTQS08OS+lrY9DdE/A1F2n1uZ4CeW4VLvQdevs2/twS AuFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=4m4gfaxRqIAPd2cAn8RRZ+OwbKg2HFjYp3lLknqwcMk=; b=Jitm4h0H6KG7hsTbfR3RfuKeG2BC4DhKg8f00VdrWQwzjwrQE3uhlxYiIb/3IUSHmz QsSOXJFo9oNVJXs2mWatKtep0qC0rSex0bi+cUkM6FaWJ/C9zm1nS2JtmjYjtGsTO+Sp weonOdxXEysZ3bSajez0bgji2x/OK2KzQs18LSqqmD1RiaclMOxaViGpJYZLdbfbB6AI G7t4tQdcG9HrZ2hp49gWzgq4p2W30abqN1MMrXFIqxWrlJOcxSnEmnshv0bnCOyREhdL ser1D5kV29W39X65q9kEitViNKe9cYZv2gVsxEGNknMIBxO4soiepcbeTkXQIITAcOdm 3wBg== 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 d17si8645080eda.213.2019.10.01.02.02.04; Tue, 01 Oct 2019 02:02:29 -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 S1733123AbfJAJB5 (ORCPT + 99 others); Tue, 1 Oct 2019 05:01:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:48750 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729787AbfJAJB5 (ORCPT ); Tue, 1 Oct 2019 05:01:57 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 82117C04DBCD; Tue, 1 Oct 2019 09:01:57 +0000 (UTC) Received: from t460s.redhat.com (ovpn-117-182.ams2.redhat.com [10.36.117.182]) by smtp.corp.redhat.com (Postfix) with ESMTP id CCCAD611DE; Tue, 1 Oct 2019 09:01:52 +0000 (UTC) From: David Hildenbrand To: linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, xen-devel@lists.xenproject.org, David Hildenbrand Subject: [PATCH v1 0/3] xen/balloon: PG_offline cleanups Date: Tue, 1 Oct 2019 11:01:49 +0200 Message-Id: <20191001090152.1770-1-david@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 01 Oct 2019 09:01:57 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some cleanups based on top of: [PATCH v1] xen/balloon: Set pages PageOffline() in balloon_add_region() Make the PG_offline less error prone, by simply setting PG_offline when they enter the page list and clearing PG_offline when they leave the page list. Only compile-tested. David Hildenbrand (3): xen/balloon: Drop __balloon_append() xen/balloon: Mark pages PG_offline in balloon_append() xen/balloon: Clear PG_offline in balloon_retrieve() drivers/xen/balloon.c | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) -- 2.21.0