# Re: \[PATCH\] mm: only enable sys\_pkey\* when ARCH\_HAS\_PKEYS

- From: Heiko Carstens \<hidden\>
- Date: 2016-11-08 12:05:52 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2016/11/4869920
- Thread: https://ratatoskr.run/linux-api/2016/11/4865732/t.md

```text
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.
```
