X-Git-Url: https://git.decadent.org.uk/gitweb/?p=kernel-news-talk.git;a=blobdiff_plain;f=index.html;h=b3cc8440aee544af2befb04d62de4f8c8359f672;hp=12c844c561d94da49c17153299ec0870902c0eb0;hb=6cfa6de23f7b30ab3babf15904a786cf5f1e6c63;hpb=c8edb32ab191e7e9e3cab0174437a51c680de859
diff --git a/index.html b/index.html
index 12c844c..b3cc844 100644
--- a/index.html
+++ b/index.html
@@ -353,6 +353,33 @@
+
+
File-private locking [3.15]
+
+ -
+ POSIX says that closing a file descriptor removes
+ the process's locks on that file
+
+ -
+ What if process has multiple file descriptors for the same
+ file? It loses all locks obtained through any descriptor!
+
+ -
+ Multithreaded processes may require serialisation around
+ file open/close to ensure they open each file exactly once
+
+ -
+ Hard and symbolic links can hide that two files are really the
+ same
+
+ -
+ Linux now provides file-private locks, associated with a
+ specific open file and removed when last descriptor for the
+ open file is closed
+
+
+
+
Questions?