Created attachment 1260846 [details]
fs: dcache: Use cpu_chill() in trylock loops
Retry loops on RT might loop forever when the modifying side was
preempted. Use cpu_chill() instead of cpu_relax() to let the system
Note: this is a partial port for RHEL, only touching the changes in
fs/dcache.c. The other hunks of this patch (the s/cpu_relax/cpu_chill/)
were applied earlier.
tested with scratch build:
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.