Skip to content

breaking the global file_list_lock

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 of 7 patches 47 repliesIn review

6 of 7 patches are in this archive. The cover letter announces 7.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7lockdep: lock_set_subclass - reset a held locks subclassinclude/linux/lockdep.h kernel/lockdep.c+73 -00 replies
3/7barrier: a scalable synchonisation barrierinclude/linux/barrier.h+65 -019 replies
4/7fs: break the file_list_lock for sb->s_filesfs/dquot.c fs/file_table.c fs/open.c +5 more+194 -377 replies
5/7fs: restore previous sb->s_files iteration semanticsfs/file_table.c fs/super.c include/linux/fs.h +1 more+16 -00 replies
6/7schedule_on_each_cpu_wq()include/linux/workqueue.h kernel/workqueue.c+56 -110 replies
7/7fs: fixup filevec_add_drain_allfs/file_table.c+19 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] breaking the global file_list_lock

This patch-set breaks up the global file_list_lock which was found to be a severe contention point under basically any filesystem intensive workload.

It has been part of the -rt kernel for some time now and is deemed solid and useful enough to post in its own right. This contention should also occur on the large SMP machines.

Feedback would be appreciated, especially with regard to the extra workqueue that was added to flush per cpu lists. Is there an alternative aproach?