kernel/fs/autofs/expire.c
.. .. @@ -8,6 +8,7 @@ 8 8 * option, any later version, incorporated herein by reference. 9 9 */ 10 10 11 +#include <linux/delay.h>11 12 #include "autofs_i.h" 12 13 13 14 /* Check if a dentry can be expired */ .. .. @@ -153,7 +154,7 @@ 153 154 parent = p->d_parent; 154 155 if (!spin_trylock(&parent->d_lock)) { 155 156 spin_unlock(&p->d_lock); 156 - cpu_relax();157 + cpu_chill();157 158 goto relock; 158 159 } 159 160 spin_unlock(&p->d_lock);