[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOnJCUJm9YBK1FtY1YuYLgsJhOYzEwmn7386msW9=HddXptMQw@mail.gmail.com>
Date: Thu, 18 Jun 2020 18:33:59 -0700
From: Atish Patra <atishp@...shpatra.org>
To: Palmer Dabbelt <palmer@...belt.com>
Cc: Michel Lespinasse <walken@...gle.com>,
Albert Ou <aou@...s.berkeley.edu>,
LKML <linux-kernel@...r.kernel.org>,
Daniel Jordan <daniel.m.jordan@...cle.com>,
Atish Patra <atish.patra@....com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Mike Rapoport <rppt@...ux.ibm.com>,
linux-riscv <linux-riscv@...ts.infradead.org>,
Zong Li <zong.li@...ive.com>
Subject: Re: [PATCH] RISC-V: Acquire mmap lock before invoking walk_page_range
On Wed, Jun 17, 2020 at 7:29 PM Zong Li <zong.li@...ive.com> wrote:
>
> On Thu, Jun 18, 2020 at 8:01 AM Michel Lespinasse <walken@...gle.com> wrote:
> >
> > On Wed, Jun 17, 2020 at 1:38 PM Atish Patra <atish.patra@....com> wrote:
> > > As per walk_page_range documentation, mmap lock should be acquired by the
> > > caller before invoking walk_page_range. mmap_assert_locked gets triggered
> > > without that. The details can be found here.
> > >
> > > http://lists.infradead.org/pipermail/linux-riscv/2020-June/010335.html
> > >
> > > Fixes: 395a21ff859c(riscv: add ARCH_HAS_SET_DIRECT_MAP support)
> > > Signed-off-by: Atish Patra <atish.patra@....com>
> >
> > Thanks for the fix.
> >
> > Reviewed-by: Michel Lespinasse <walken@...gle.com>
>
> It also looks good to me. Thanks for the fix.
>
> Reviewed-by: Zong Li <zong.li@...ive.com>
>
Hi Palmer,
Can you include this one in rc2 PR as well ?
Anybody who gets this issue with their rootfs can't use rc1 without
turning off DEBUG_VM.
--
Regards,
Atish
Powered by blists - more mailing lists