Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1517117

Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS

From Heiko Carstens <heiko.carstens@de.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS
Date 2016-11-08 13:10 +0100
Message-ID <sBdnY-Jq-31@gated-at.bofh.it> (permalink)
References <syuOm-155-13@gated-at.bofh.it> <szWpb-8rf-3@gated-at.bofh.it> <sBb2O-7xW-31@gated-at.bofh.it> <sBd4C-lV-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 08, 2016 at 12:39:28PM +0100, Arnd Bergmann wrote:
> On Tuesday, November 8, 2016 10:30:42 AM CET Heiko Carstens wrote:
> > Three architectures (parisc, powerpc, s390) decided to ignore the system
> > calls completely, but still have the pkey code linked into the kernel
> > image.
> 
> Wouldn't it actually make sense to hook this up to the storage keys
> in the s390 page tables?

We have storage keys per _physical_ page. Not per page within the the table
entries. So this doesn't work unfortunately.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS Mark Rutland <mark.rutland@arm.com> - 2016-11-01 01:10 +0100
  Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS Dave Hansen <dave.hansen@linux.intel.com> - 2016-11-02 20:20 +0100
    Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS Mark Rutland <mark.rutland@arm.com> - 2016-11-05 00:50 +0100
      Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS Heiko Carstens <heiko.carstens@de.ibm.com> - 2016-11-08 10:40 +0100
        Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-11-08 11:50 +0100
          Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS Heiko Carstens <heiko.carstens@de.ibm.com> - 2016-11-08 12:30 +0100
            Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS Dave Hansen <dave.hansen@linux.intel.com> - 2016-11-08 19:40 +0100
        Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS Arnd Bergmann <arnd@arndb.de> - 2016-11-08 12:50 +0100
          Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS Heiko Carstens <heiko.carstens@de.ibm.com> - 2016-11-08 13:10 +0100

csiph-web