[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <11ba709b-6b9f-ff87-708f-60dd5200dcde@suse.com>
Date: Mon, 3 Aug 2020 08:18:18 +0200
From: Jürgen Groß <jgross@...e.com>
To: Roger Pau Monne <roger.pau@...rix.com>,
linux-kernel@...r.kernel.org
Cc: stable@...r.kernel.org,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Stefano Stabellini <sstabellini@...nel.org>,
xen-devel@...ts.xenproject.org
Subject: Re: [PATCH v3 1/4] xen/balloon: fix accounting in
alloc_xenballooned_pages error path
On 27.07.20 11:13, Roger Pau Monne wrote:
> target_unpopulated is incremented with nr_pages at the start of the
> function, but the call to free_xenballooned_pages will only subtract
> pgno number of pages, and thus the rest need to be subtracted before
> returning or else accounting will be skewed.
>
> Signed-off-by: Roger Pau Monné <roger.pau@...rix.com>
> Reviewed-by: Juergen Gross <jgross@...e.com>
> Cc: stable@...r.kernel.org
Pushed to xen/tip.git for-linus-5.9
Juergen
Powered by blists - more mailing lists