Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1435028

Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs

From Linus Torvalds <torvalds@linux-foundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs
Date 2016-07-01 08:00 +0200
Message-ID <rPZEC-2KL-3@gated-at.bofh.it> (permalink)
References <rPUlz-7QC-3@gated-at.bofh.it> <rPUlz-7QC-1@gated-at.bofh.it> <rPWQq-11a-27@gated-at.bofh.it> <rPYyS-28b-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 30, 2016 at 9:39 PM, Dave Hansen <dave@sr71.net> wrote:
>
> I think what you suggest will work if we don't consider A/D in
> pte_none().  I think there are a bunch of code path where assume that
> !pte_present() && !pte_none() means swap.

Yeah, we would need to change pte_none() to mask off D/A, but I think
that might be the only real change needed (other than making sure that
we don't use the bits in the swap entries, I didn't look at that part
at all)

           Linus

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Dave Hansen <dave@sr71.net> - 2016-07-01 02:20 +0200
  Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Dave Hansen <dave@sr71.net> - 2016-07-01 04:00 +0200
  Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Nadav Amit <nadav.amit@gmail.com> - 2016-07-01 04:10 +0200
  Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Linus Torvalds <torvalds@linux-foundation.org> - 2016-07-01 05:00 +0200
    Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Brian Gerst <brgerst@gmail.com> - 2016-07-01 05:10 +0200
      Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Dave Hansen <dave@sr71.net> - 2016-07-03 19:20 +0200
    Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Dave Hansen <dave@sr71.net> - 2016-07-01 06:50 +0200
      Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Linus Torvalds <torvalds@linux-foundation.org> - 2016-07-01 08:00 +0200
        Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs ebiederm@xmission.com (Eric W. Biederman) - 2016-07-01 17:40 +0200
          Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Dave Hansen <dave@sr71.net> - 2016-07-01 18:00 +0200
            Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs ebiederm@xmission.com (Eric W. Biederman) - 2016-07-01 20:30 +0200
      Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Linus Torvalds <torvalds@linux-foundation.org> - 2016-07-01 18:10 +0200
        Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Dave Hansen <dave@sr71.net> - 2016-07-01 18:20 +0200
          Re: [PATCH 6/6] x86: Fix stray A/D bit setting into non-present PTEs Linus Torvalds <torvalds@linux-foundation.org> - 2016-07-01 18:30 +0200

csiph-web