[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <57C9E37A.9070805@intel.com>
Date: Fri, 2 Sep 2016 13:39:22 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: Juerg Haefliger <juerg.haefliger@....com>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
kernel-hardening@...ts.openwall.com, linux-x86_64@...r.kernel.org
Cc: vpk@...columbia.edu
Subject: Re: [RFC PATCH v2 2/3] xpfo: Only put previous userspace pages into
the hot cache
On 09/02/2016 04:39 AM, Juerg Haefliger wrote:
> Allocating a page to userspace that was previously allocated to the
> kernel requires an expensive TLB shootdown. To minimize this, we only
> put non-kernel pages into the hot cache to favor their allocation.
But kernel allocations do allocate from these pools, right? Does this
just mean that kernel allocations usually have to pay the penalty to
convert a page?
So, what's the logic here? You're assuming that order-0 kernel
allocations are more rare than allocations for userspace?
Powered by blists - more mailing lists