Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1536806

Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock stress test

From Ming Lei <ming.lei@canonical.com>
Newsgroups linux.kernel
Subject Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock stress test
Date 2016-12-06 11:00 +0100
Message-ID <sLkHv-kZ-3@gated-at.bofh.it> (permalink)
References <sIkE1-4Vh-3@gated-at.bofh.it> <sJxSx-3eG-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Will,

On Thu, Dec 1, 2016 at 7:30 PM, Will Deacon <will.deacon@arm.com> wrote:
> On Mon, Nov 28, 2016 at 11:10:14AM +0800, Ming Lei wrote:
>> When I run stress-ng via the following steps on one ARM64 dual
>> socket system(Cavium Thunder), the kernel oops[1] can often be
>> triggered after running the stress test for several hours(sometimes
>> it may take longer):
>>
>> - git clone git://kernel.ubuntu.com/cking/stress-ng.git
>> - apply the attachment patch which just makes the posix file
>> lock stress test more aggressive
>> - run the test via '~/git/stress-ng$./stress-ng --lockf 128 --aggressive'
>>
>>
>> From the oops log, looks one garbage file_lock node is got
>> from the linked list of 'ctx->flc_posix' when the issue happens.
>>
>> BTW, the issue isn't observed on single socket Cavium Thunder yet,
>> and the same issue can be seen on Ubuntu Xenial(v4.4 based kernel)
>> too.
>
> FWIW, I've been running this on Seattle for 24 hours with your patch applied
> and not seen any problems yet. That said, Thomas did just fix an rt_mutex
> race which only seemed to pop up on Thunder, so you could give those
> patches a try.
>
>   https://lkml.kernel.org/r/20161130205431.629977871@linutronix.de

I applied the patch against Ubuntu Yakkety kernel(v4.8 based), and run
the test again on one dual-socket Cavium ThunderX system, and the
issue can still be triggered.

So looks not a same issue with David Daney's.

Anyway, thank you for providing this input!

Thanks,
Ming

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[bug report v4.8] fs/locks.c: kernel oops during posix lock stress test Ming Lei <ming.lei@canonical.com> - 2016-11-28 04:20 +0100
  Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock  stress test Will Deacon <will.deacon@arm.com> - 2016-11-28 12:00 +0100
  Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock  stress test Jeff Layton <jlayton@poochiereds.net> - 2016-11-28 14:50 +0100
    Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock  stress test Ming Lei <ming.lei@canonical.com> - 2016-11-29 02:20 +0100
    Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock  stress test Ming Lei <ming.lei@canonical.com> - 2016-12-08 17:20 +0100
  Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock  stress test Will Deacon <will.deacon@arm.com> - 2016-12-01 12:40 +0100
    Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock  stress test Ming Lei <ming.lei@canonical.com> - 2016-12-06 11:00 +0100

csiph-web