[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220309201814.241f39d9ed2f6671c636ece4@linux-foundation.org>
Date: Wed, 9 Mar 2022 20:18:14 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
Michael Ellerman <mpe@...erman.id.au>,
Dennis Zhou <dennis@...nel.org>, Tejun Heo <tj@...nel.org>,
Christoph Lameter <cl@...ux.com>,
Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.org>,
Vladimir Davydov <vdavydov.dev@...il.com>, linux-mm@...ck.org,
cgroups@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH 3/3] KVM: use vcalloc/__vcalloc for very large
allocations
On Tue, 8 Mar 2022 05:59:18 -0500 Paolo Bonzini <pbonzini@...hat.com> wrote:
> Allocations whose size is related to the memslot size can be arbitrarily
> large. Do not use kvzalloc/kvcalloc, as those are limited to "not crazy"
> sizes that fit in 32 bits. Now that it is available, they can use either
> vcalloc or __vcalloc, the latter if accounting is required.
>
> Cc: stable@...r.kernel.org
Please fully describe the end user visible runtime effects when
proposing a -stable backport. And when not proposing a -stable
backport, come to that...
Powered by blists - more mailing lists