Re: Linux 3.19-rc3

From: Sedat Dilek
Date: Tue Jan 06 2015 - 05:29:57 EST


On Tue, Jan 6, 2015 at 10:40 AM, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Tue, Jan 06, 2015 at 05:49:11AM +0100, Sedat Dilek wrote:
>> This has been there since just before rc1. Is there a fix for this
>> stalled in someones git tree maybe ?
>>
>> [ 7.952588] WARNING: CPU: 0 PID: 299 at kernel/sched/core.c:7303
>> __might_sleep+0x8d/0xa0()
>> [ 7.952592] do not call blocking ops when !TASK_RUNNING; state=1 set at [<ffffffff910a0f7a>] prepare_to_wait+0x2a/0x90
>> [ 7.952595] CPU: 0 PID: 299 Comm: systemd-readahe Not tainted 3.19.0-rc3+ #100
>
>> [ 7.952620] [<ffffffff911a63e0>] fanotify_read+0xe0/0x5b0
>
>
> http://marc.info/?l=linux-kernel&m=141874374029791

I included below include in my patch and inotify_user.c has it...
...
+#include <linux/wait.h>
...

Will you send out a proper patch when people confirm it solves their
issue within fanotify area?

- Sedat -

[1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/fs/notify/inotify/inotify_user.c#n40
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/