linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: David Hildenbrand <david@redhat.com>
Cc: "linux-mm@kvack.org" <linux-mm@kvack.org>,
	 Ryan Roberts <ryan.roberts@arm.com>,
	Matthew Wilcox <willy@infradead.org>
Subject: Re: The future of PageAnonExclusive
Date: Wed, 11 Dec 2024 15:42:34 +0200	[thread overview]
Message-ID: <oelikmopexm66p7pthwrt5qw6w4ro3hduc6thefvxdhcx2l27v@bxln22rb55hx> (raw)
In-Reply-To: <3a9e7c3b-7b69-4f16-80ea-b1a0d4dba853@redhat.com>

On Wed, Dec 11, 2024 at 12:56:11PM +0100, David Hildenbrand wrote:
> > (C) Encode it in the PTE.
> > 
> >       pte_write() -> PAE
> > 
> >       !pte_write() && pte_dirty() -> PAE
> > 
> >       !pte_write && !pte_dirty() -> !PAE

You are late to the party. On x86, !pte_write() && pte_dirty() is shadow
stack.

-- 
  Kiryl Shutsemau / Kirill A. Shutemov


  reply	other threads:[~2024-12-11 13:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-11 11:55 David Hildenbrand
2024-12-11 11:56 ` David Hildenbrand
2024-12-11 13:42   ` Kirill A. Shutemov [this message]
2024-12-11 13:48     ` David Hildenbrand
2024-12-11 14:25   ` Ryan Roberts
2024-12-11 14:49     ` David Hildenbrand
2024-12-11 15:45       ` Matthew Wilcox
2024-12-11 15:50         ` David Hildenbrand
2024-12-11 16:11           ` Matthew Wilcox
2024-12-11 16:15             ` David Hildenbrand

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=oelikmopexm66p7pthwrt5qw6w4ro3hduc6thefvxdhcx2l27v@bxln22rb55hx \
    --to=kirill@shutemov.name \
    --cc=david@redhat.com \
    --cc=linux-mm@kvack.org \
    --cc=ryan.roberts@arm.com \
    --cc=willy@infradead.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