hc
2023-11-07 5e8555e3ea324daaf0e38422bcba48c4df33a0d9
kernel/fs/autofs/expire.c
....@@ -8,6 +8,7 @@
88 * option, any later version, incorporated herein by reference.
99 */
1010
11
+#include <linux/delay.h>
1112 #include "autofs_i.h"
1213
1314 /* Check if a dentry can be expired */
....@@ -153,7 +154,7 @@
153154 parent = p->d_parent;
154155 if (!spin_trylock(&parent->d_lock)) {
155156 spin_unlock(&p->d_lock);
156
- cpu_relax();
157
+ cpu_chill();
157158 goto relock;
158159 }
159160 spin_unlock(&p->d_lock);