linux-riscv.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Stefan O'Rear <sorear2@gmail.com>
Cc: schwab@suse.de, linux-riscv@lists.infradead.org,
	Palmer Dabbelt <palmer@sifive.com>,
	Albert Ou <aou@eecs.berkeley.edu>
Subject: Re: [PATCH] riscv: Add pte bit to distinguish swap from invalid
Date: Mon, 17 Dec 2018 10:37:41 -0800	[thread overview]
Message-ID: <20181217183741.GB23353@infradead.org> (raw)
In-Reply-To: <1544983416-32532-1-git-send-email-sorear2@gmail.com>

On Sun, Dec 16, 2018 at 01:03:36PM -0500, Stefan O'Rear wrote:
> Previously, invalid PTEs and swap PTEs had the same binary
> representation, causing errors when attempting to unmap PROT_NONE
> mappings, including implicit unmap on exit.
> 
> Typical error:
> 
> swap_info_get: Bad swap file entry 40000000007a9879
> BUG: Bad page map in process a.out  pte:3d4c3cc0 pmd:3e521401
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Stefan O'Rear <sorear2@gmail.com>

Looks fine:

Reviewed-by: Christoph Hellwig <hch@lst.de>

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

  reply	other threads:[~2018-12-17 18:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-16 18:03 [PATCH] riscv: Add pte bit to distinguish swap from invalid Stefan O'Rear
2018-12-17 18:37 ` Christoph Hellwig [this message]
2019-02-08 17:36   ` David Abdurachmanov
2019-02-08 17:46     ` Palmer Dabbelt

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=20181217183741.GB23353@infradead.org \
    --to=hch@infradead.org \
    --cc=aou@eecs.berkeley.edu \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@sifive.com \
    --cc=schwab@suse.de \
    --cc=sorear2@gmail.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;
as well as URLs for NNTP newsgroup(s).