[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201203081655.GB25276@atcfdc88>
Date: Thu, 3 Dec 2020 16:16:55 +0800
From: Eric Lin <tesheng@...estech.com>
To: Pekka Enberg <penberg@...il.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
On Thu, Dec 03, 2020 at 03:29:57PM +0800, Pekka Enberg wrote:
Hi Pekka,
> 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:
>
OK, I'll make no_context() use the new helper in v3.
Thanks for your review.
> Reviewed-by: Pekka Enberg <penberg@...nel.org>
Powered by blists - more mailing lists