[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wg1_8L+e09_RuX=Z_49oLn8=w82YzCk+kybS-ymSd_zbA@mail.gmail.com>
Date: Sun, 2 Jul 2023 21:34:35 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: lkp <oliver.sang@...el.com>
Cc: "Liam R. Howlett" <Liam.Howlett@...cle.com>,
LKML <linux-kernel@...r.kernel.org>, lkp@...ts.01.org,
lkp@...el.com
Subject: Re: [mm] 408579cd62: WARNING:suspicious_RCU_usage
On Sun, 2 Jul 2023 at 19:04, kernel test robot <oliver.sang@...el.com> wrote:
>
> commit: 408579cd627a15bd703fe3eeb8485fd02726e9d3 ("mm: Update do_vmi_align_munmap() return semantics")
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
>
> in testcase: boot
>
> on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
>
> caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
>
>
>
> If you fix the issue, kindly add following tag
> Reported-by: kernel test robot <oliver.sang@...el.com>
>
>
> [ 215.088258][ T1] WARNING: suspicious RCU usage
I think the
validate_mm(mm);
call (mm/mmap.c:2561) needs to be moved up to before the
if (unlock)
mmap_read_unlock(mm);
that is just a couple of lines earlier.
Can you verify that that fixes the warning?
Linus
Powered by blists - more mailing lists