[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOJsxLHo6-6w9M3H1UP1hPX1bnxZ06tqbnc9cwR5_sLQBgA7HA@mail.gmail.com>
Date: Thu, 3 Dec 2020 09:29:57 +0200
From: Pekka Enberg <penberg@...il.com>
To: Eric Lin <tesheng@...estech.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
linux-riscv <linux-riscv@...ts.infradead.org>,
Michel Lespinasse <walken@...gle.com>,
Vlastimil Babka <vbabka@...e.cz>, Peter Xu <peterx@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Albert Ou <aou@...s.berkeley.edu>,
Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Christoph Hellwig <hch@...radead.org>
Subject: Re: [PATCH v2 0/2] Let illegal access to user-space memory die
Hi Eric,
On Thu, Dec 3, 2020 at 8:51 AM Eric Lin <tesheng@...estech.com> wrote:
>
> Accesses to user-space memory without calling uaccess routine
> leads to hanging in page fault handler. Like arm64, we let it
> die earlier in page fault handler.
>
> Changes in v2:
> -Add a die_kernel_fault() helper
> -Split one long line code into two
Please also make no_context() use the new helper. Other than that:
Reviewed-by: Pekka Enberg <penberg@...nel.org>
Powered by blists - more mailing lists