aboutsummaryrefslogtreecommitdiffstats
path: root/fs/file_table.c
diff options
context:
space:
mode:
authorNick Piggin <[email protected]>2010-08-17 18:37:37 +0000
committerAl Viro <[email protected]>2010-08-18 12:35:48 +0000
commit2dc91abe03d8ce6dd7f9251faffafca5f6b9e85d (patch)
tree1712fcb512310a80a7d2c7f92b30ce91750efaf1 /fs/file_table.c
parenttty: fix fu_list abuse (diff)
downloadkernel-2dc91abe03d8ce6dd7f9251faffafca5f6b9e85d.tar.gz
kernel-2dc91abe03d8ce6dd7f9251faffafca5f6b9e85d.zip
lglock: introduce special lglock and brlock spin locks
lglock: introduce special lglock and brlock spin locks This patch introduces "local-global" locks (lglocks). These can be used to: - Provide fast exclusive access to per-CPU data, with exclusive access to another CPU's data allowed but possibly subject to contention, and to provide very slow exclusive access to all per-CPU data. - Or to provide very fast and scalable read serialisation, and to provide very slow exclusive serialisation of data (not necessarily per-CPU data). Brlocks are also implemented as a short-hand notation for the latter use case. Thanks to Paul for local/global naming convention. Cc: [email protected] Cc: Al Viro <[email protected]> Cc: "Paul E. McKenney" <[email protected]> Signed-off-by: Nick Piggin <[email protected]> Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions