From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Mike Rapoport <rppt@kernel.org>
Cc: Mike Rapoport <rppt@linux.ibm.com>,
lsf-pc@lists.linux-foundation.org, linux-mm@kvack.org
Subject: Re: [LSF/MM/BPF TOPIC] Restricted kernel address spaces
Date: Mon, 17 Feb 2020 13:34:57 +0300 [thread overview]
Message-ID: <20200217103457.c3bmwp43fpa3ho4f@box> (raw)
In-Reply-To: <20200216063504.GA22092@hump.haifa.ibm.com>
On Sun, Feb 16, 2020 at 08:35:04AM +0200, Mike Rapoport wrote:
> > BTW, with clarified scope of the AMD Erratum, I believe we can implement
> > "collapse" for direct mapping. Willing to try?
>
> My initial plan was to use a pool of large pages to satisfy "secret"
> allocation requests. Whenever a new large page is allocated for that pool,
> it's removed from the direct map without being split into small pages and
> then when it would be reinstated back there would be no need to collapse
> it.
It might be okay. But you likely will have to split 1G pages in direct
mapping into 2M. Being able to repare the direct mapping is more generally
useful.
--
Kirill A. Shutemov
next prev parent reply other threads:[~2020-02-17 10:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-06 16:59 Mike Rapoport
2020-02-07 17:39 ` Kirill A. Shutemov
2020-02-11 17:20 ` Mike Rapoport
2020-02-11 21:53 ` Kirill A. Shutemov
2020-02-16 6:35 ` Mike Rapoport
2020-02-17 10:34 ` Kirill A. Shutemov [this message]
2020-02-18 15:06 ` Mike Rapoport
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=20200217103457.c3bmwp43fpa3ho4f@box \
--to=kirill@shutemov.name \
--cc=linux-mm@kvack.org \
--cc=lsf-pc@lists.linux-foundation.org \
--cc=rppt@kernel.org \
--cc=rppt@linux.ibm.com \
/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