[linux-yocto] [PATCH 0/1] fs: dcache: avoid livelocks on d_alloc_parallel

2021-05-08 Thread wenlin.k...@windriver.com
From: Wenlin Kang With RT, if a high priority task that runs d_alloc_parallel() preempts a low priority task that runs __d_add(), it can make d_alloc_parallel() go into an infinite retry. low priority task: high priority task: __lookup_slow() d_add() __d_add start_di

[linux-yocto] [PATCH 1/1] fs: dcache: avoid livelocks on d_alloc_parallel

2021-05-08 Thread wenlin.k...@windriver.com
From: Wenlin Kang With RT, if a high priority task that runs d_alloc_parallel() preempts a low priority task that runs __d_add(), it can make d_alloc_parallel() go into an infinite retry. low priority task: high priority task: __lookup_slow() d_add() __d_add