From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: Re: [PATCH 00/34] x86: Memory Protection Keys (v5) Date: Fri, 4 Dec 2015 15:38:41 -0800 Message-ID: <56622401.20001@sr71.net> References: <20151204011424.8A36E365@viggo.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Andy Lutomirski Cc: "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org" , X86 ML , Linux API , linux-arch , Andrea Arcangeli , Andrew Morton , Jan Kara , "Kirill A. Shutemov" , Naoya Horiguchi List-Id: linux-api@vger.kernel.org On 12/04/2015 03:31 PM, Andy Lutomirski wrote: > On Thu, Dec 3, 2015 at 5:14 PM, Dave Hansen wrote: >> Memory Protection Keys for User pages is a CPU feature which will >> first appear on Skylake Servers, but will also be supported on >> future non-server parts. It provides a mechanism for enforcing >> page-based protections, but without requiring modification of the >> page tables when an application changes protection domains. See >> the Documentation/ patch for more details. > > What, if anything, happened to the signal handling parts? Patches 12 and 13 contain most of it: x86, pkeys: fill in pkey field in siginfo signals, pkeys: notify userspace about protection key faults I decided to just not try to preserve the pkey_get/set() semantics across entering and returning from signals, fwiw. > Also, do you have a git tree for this somewhere? I can't actually > enable it (my laptop, while very shiny, is not a Skylake server), but > I can poke around a bit. http://git.kernel.org/cgit/linux/kernel/git/daveh/x86-pkeys.git/ Thanks for taking a look!