Re: events: possible deadlock in __perf_event_task_sched_out

2017-08-21 Thread Peter Zijlstra
On Mon, Aug 21, 2017 at 01:58:13PM +0530, Shubham Bansal wrote: > > This is a WARN, printk is a pig. > > So, its not a bug? No, triggering the WARN is the problem, this is just fallout after that.

Re: events: possible deadlock in __perf_event_task_sched_out

2017-08-21 Thread Peter Zijlstra
On Mon, Aug 21, 2017 at 01:58:13PM +0530, Shubham Bansal wrote: > > This is a WARN, printk is a pig. > > So, its not a bug? No, triggering the WARN is the problem, this is just fallout after that.

Re: events: possible deadlock in __perf_event_task_sched_out

2017-08-21 Thread Shubham Bansal
> This is a WARN, printk is a pig. So, its not a bug?

Re: events: possible deadlock in __perf_event_task_sched_out

2017-08-21 Thread Shubham Bansal
> This is a WARN, printk is a pig. So, its not a bug?

Re: events: possible deadlock in __perf_event_task_sched_out

2017-08-21 Thread Peter Zijlstra
On Mon, Aug 21, 2017 at 01:56:27AM +0530, Shubham Bansal wrote: > -> #1 ((console_sem).lock){..}: >lock_acquire+0x173/0x470 >_raw_spin_lock_irqsave+0x42/0x60 >down_trylock+0x13/0x70 >__down_trylock_console_sem+0x38/0xc0 >console_trylock+0x17/0xb0 >

Re: events: possible deadlock in __perf_event_task_sched_out

2017-08-21 Thread Peter Zijlstra
On Mon, Aug 21, 2017 at 01:56:27AM +0530, Shubham Bansal wrote: > -> #1 ((console_sem).lock){..}: >lock_acquire+0x173/0x470 >_raw_spin_lock_irqsave+0x42/0x60 >down_trylock+0x13/0x70 >__down_trylock_console_sem+0x38/0xc0 >console_trylock+0x17/0xb0 >

events: possible deadlock in __perf_event_task_sched_out

2017-08-20 Thread Shubham Bansal
Hi all, While fuzzing with syzkaller inside Qemu I've stumbled on the following warning which is reproducible with == // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include

events: possible deadlock in __perf_event_task_sched_out

2017-08-20 Thread Shubham Bansal
Hi all, While fuzzing with syzkaller inside Qemu I've stumbled on the following warning which is reproducible with == // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include