On Tue, Jul 31, 2018 at 12:25 PM, Kirill Tkhai <ktkhai@xxxxxxxxxxxxx> wrote: > Nobody can clear FR_BACKGROUND bit on processing > request in parallel, so it's possible to do it > out of fc->lock. Moving such a cheap operation outside the splinlock won't make any difference in real life. And anyway the biggest problem with fc->lock is not contention (hold for long period of time), I would guess, but cachline pingponging (being acquired on different CPUs one after the other). So there's definitely work to do regarding locking in fuse, but it needs a bigger axe. Thanks, Miklos