summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorWaiman Long2013-08-29 03:13:26 +0200
committerLinus Torvalds2013-08-29 03:13:27 +0200
commit0f8f2aaaab0b0f9c13635cb02e7d19bdaa9aa1bb (patch)
treeda409bc0a2149914582c9f8d834ebc27a2ae9cde /fs/dcache.c
parentRevert "fs: Allow unprivileged linkat(..., AT_EMPTY_PATH) aka flink" (diff)
downloadkernel-qcow2-linux-0f8f2aaaab0b0f9c13635cb02e7d19bdaa9aa1bb.tar.gz
kernel-qcow2-linux-0f8f2aaaab0b0f9c13635cb02e7d19bdaa9aa1bb.tar.xz
kernel-qcow2-linux-0f8f2aaaab0b0f9c13635cb02e7d19bdaa9aa1bb.zip
Add new lockref infrastructure reference implementation
This introduces a new "lockref" structure that supports the concept of lockless updates of reference counts that still honor an attached spinlock. NOTE! This reference implementation is not the optimized lockless version, rather it is the fallback implementation using standard spinlocks. The actual optimized versions will be merged into 3.12, but I wanted to get the infrastructure in place and document the new interfaces. [ Also note that this particular commit is drastically cut-down minimal version of the original patch by Waiman. In order to properly credit the original author I'm marking Waiman as the author here, but in the end this patch bears little resemblance to the patch by Waiman. So blame any errors on me editing things down to the point where I can introduce the infrastructure before the merge window for 3.12 actually opens. - Linus ] Signed-off-by: Waiman Long <Waiman.Long@hp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions