From: Ira Weiny <ira.weiny@intel.com>
To: lsf-pc@lists.linux-foundation.org
Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, ira.weiny@intel.com
Subject: [LSF/MM/BPF TOPIC] PKS for the page cache and beyond
Date: Fri, 25 Feb 2022 08:45:51 -0800 [thread overview]
Message-ID: <YhkHvxrEeiIMNQm8@iweiny-desk3> (raw)
In-Reply-To: <Yhj/dsW1IiU9PgzI@iweiny-desk3>
Resend due to typo in tag. s/PPF/BPF/
However, I also realized one should fill out the google form now. I'll do that
straight away.
Thanks,
Ira
On Fri, Feb 25, 2022 at 08:10:30AM -0800, Ira Weiny wrote:
> Hello,
>
> Protection Key Supervisor (PKS) presents a way to control access to a large
> domain of memory quickly, without a page table walk or TLB flush, as well as
> with finer granularity; allowing protection control on individual threads.
>
> Multiple areas of memory have been identified as candidates to be protected
> with PKS. These include the initial use case persistent memory (PMEM), page
> tables[1], kernel secret keys[2], and the page cache.[3] Like PMEM the page
> cache presents a significant surface area where stray writes, or other bugs,
> could corrupt data permanently.
>
> I would like to discuss the ramifications of being able to change memory
> permissions in this new way. While PKS has a lot to offer it does not come for
> free. One trade off is the loss of direct access via page_address() in
> !HIGHMEM builds.
>
> Already PMEM's faced challenges in the leverage of kmap/kunmap. While the page
> cache should be able to leverage this work, this is driving a redefinition of
> what kmap means. Especially since the HIGHMEM use case is increasingly
> meaningless on modern machines.
>
> Ira Weiny
>
> [1] https://lore.kernel.org/lkml/20210830235927.6443-2-rick.p.edgecombe@intel.com/
> [2] https://lore.kernel.org/lkml/20201009201410.3209180-3-ira.weiny@intel.com/
> [3] https://lwn.net/Articles/883352/
prev parent reply other threads:[~2022-02-25 16:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-25 16:10 [LSF/MM/PPF TOPIC] PKS for the page cache and beyond Ira Weiny
2022-02-25 16:45 ` Ira Weiny [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YhkHvxrEeiIMNQm8@iweiny-desk3 \
--to=ira.weiny@intel.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=lsf-pc@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox