Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1676317
| From | Michael Ellerman <mpe@ellerman.id.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC v4 17/17] procfs: display the protection-key number associated with a vma |
| Date | 2017-06-28 04:00 +0200 |
| Message-ID | <tXaqR-ld-11@gated-at.bofh.it> (permalink) |
| References | <tWVLc-7w2-3@gated-at.bofh.it> <tWVLc-7w2-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Ram Pai <linuxram@us.ibm.com> writes: > Display the pkey number associated with the vma in smaps of a task. > The key will be seen as below: > > VmFlags: rd wr mr mw me dw ac key=0 Why wouldn't we just emit a "ProtectionKey:" line like x86 does? See their arch_show_smap(). You should probably also do what x86 does, which is to not display the key on CPUs that don't support keys. cheers
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC v4 17/17] procfs: display the protection-key number associated with a vma Ram Pai <linuxram@us.ibm.com> - 2017-06-27 12:20 +0200 Re: [RFC v4 17/17] procfs: display the protection-key number associated with a vma Michael Ellerman <mpe@ellerman.id.au> - 2017-06-28 04:00 +0200
csiph-web