Re: lib, fs, cgroup: WARNING in percpu_ref_kill_and_confirm
From: Zefan Li
Date: Wed May 31 2017 - 21:11:34 EST
On 2017/5/31 22:08, Alexander Potapenko wrote:
> On Fri, Mar 24, 2017 at 4:18 AM, Zefan Li <lizefan@xxxxxxxxxx> wrote:
>> On 2017/3/23 22:04, Dmitry Vyukov wrote:
>>> Hello,
>>>
>>> The following program triggers WARNING in percpu_ref_kill_and_confirm:
>>> https://gist.githubusercontent.com/dvyukov/bcfcef3d6b24b9fd841b88ee20c14d4b/raw/a54aeeb09ad1e0659b0ed87ef5efc4480ab2536f/gistfile1.txt
>>>
>>
>> The bug can be triggered immediately. I'll look into it. Thanks!
> Hi Zefan,
>
> Have you had a chance to look into this bug?
> It's still reproducible for me with KMSAN.
But I already fixed it..
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=bfb0b80db5f9dca5ac0a5fd0edb765ee555e5a8e
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9732adc5d6520238223df16630f1f8cad2269317