hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
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);