Re: INFO: rcu detected stall in do_raw_spin_unlock

From: Tetsuo Handa
Date: Sat Apr 14 2018 - 03:02:32 EST


Infinite loop inside shrink_dcache_parent() due to lack of cond_resched().
I can reproduce this issue by running the reproducer on one CPU (using "taskset -c 0").
Reverting commit 32785c0539b7e96f ("fs/dcache.c: add cond_resched() in shrink_dentry_list()")
solves this issue.

#syz dup: INFO: rcu detected stall in d_walk