summaryrefslogtreecommitdiffstats
path: root/mm/readahead.c
diff options
context:
space:
mode:
authorWaiman Long <longman@redhat.com>2019-05-20 10:14:50 -0400
committerThomas Gleixner <tglx@linutronix.de>2019-06-14 14:51:16 +0200
commitd5f34153e526903abe71869dbbc898bfc0f69373 (patch)
treed40ebb04fb282564a99b766956893d85cb72c0e4 /mm/readahead.c
parenta7344a68a79ab91bc38af4b9d24284b479aa780a (diff)
debugobjects: Move printk out of db->lock critical sections
The db->lock is a raw spinlock and so the lock hold time is supposed to be short. This will not be the case when printk() is being involved in some of the critical sections. In order to avoid the long hold time, in case some messages need to be printed, the debug_object_is_on_stack() and debug_print_object() calls are now moved out of those critical sections. Signed-off-by: Waiman Long <longman@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Yang Shi <yang.shi@linux.alibaba.com> Cc: "Joel Fernandes (Google)" <joel@joelfernandes.org> Cc: Qian Cai <cai@gmx.us> Cc: Zhong Jiang <zhongjiang@huawei.com> Link: https://lkml.kernel.org/r/20190520141450.7575-6-longman@redhat.com
Diffstat (limited to 'mm/readahead.c')
0 files changed, 0 insertions, 0 deletions