Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Lock-Free Locks Revisited   This paper presents a new and practical approach to lock-free locks based on
helping, which allows the user to write code using fine-grained locks, but run
it in a lock-free manner.
  Although lock-free locks have been suggested in the past, they are widely
viewed as impractical, have some key limitations, and, as far as we know, have
never been implemented. The paper presents some key techniques that make
lock-free locks practical and more general. The most important technique is an
approach to idempotence -- i.e. making code that runs multiple times appear as
if it ran once. The idea is based on using a shared log among processes running
the same protected code. Importantly, the approach can be library based,
requiring very little if any change to standard code -- code just needs to use
the idempotent versions of memory operations (load, store, LL/SC, allocation,
free).
  We have implemented a C++ library called Flock based on the ideas. Flock
allows lock-based data structures to run in either lock-free or blocking
(traditional locks) mode. We implemented a variety of tree and list-based data
structures with Flock and compare the performance of the lock-free and blocking
modes under a variety of workloads. The lock-free mode is almost as fast as
blocking mode under almost all workloads, and significantly faster when threads
are oversubscribed (more threads than processors). We also compare with several
existing lock-based and lock-free alternatives.

29
The categories of this paper are: funct-an
11
The categories of this paper are: hep-lat
33
The categories of this paper are: plasm-ph
36
The categories of this paper are: cmp-lg
18
The categories of this paper are: econ
8
The categories of this paper are: hep-ex
4
The categories of this paper are: cond-mat
25
The categories of this paper are: patt-sol
0
The categories of this paper are: hep-ph
37
The categories of this paper are: supr-con
30
The categories of this paper are: q-alg
23
The categories of this paper are: solv-int
35
The categories of this paper are: mtrl-th
28
The categories of this paper are: alg-geom
5
The categories of this paper are: gr-qc
24
The categories of this paper are: dg-ga