Commits
Alexey Dobriyan authored and Pavel Emelianov committed a802ad6717d
[PATCH] dcache: move might_sleep() from under preempt_disable() dput() had might_sleep() check in the very beginning. After renaming to dput_recursive() and adding preempt_disable() call this check ended up in region with disabled preemption, so with CONFIG_DEBUG_SPINLOCK_SLEEP=y and preemption on dmesg gets heavily spammed. So, do might_sleep() check earlier.