summaryrefslogtreecommitdiffstats
path: root/rules/liburcu.in
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2011-12-25 20:28:50 +0100
committerJuergen Beisert <jbe@pengutronix.de>2012-01-04 12:46:46 +0100
commit8de72106c7c4090291c835f5c308706d927fffbf (patch)
treec859585fdefd6c4c10d0b1433a9f213040894732 /rules/liburcu.in
parent1a2d36372b371ada09c86f5e14470d45a5d0fc08 (diff)
downloadptxdist-8de72106c7c4090291c835f5c308706d927fffbf.tar.gz
ptxdist-8de72106c7c4090291c835f5c308706d927fffbf.tar.xz
Add the userspace RCU library
From its README: This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible. Supported architectures are: x86, PPC and ARM. Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Diffstat (limited to 'rules/liburcu.in')
-rw-r--r--rules/liburcu.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/rules/liburcu.in b/rules/liburcu.in
new file mode 100644
index 000000000..739e87137
--- /dev/null
+++ b/rules/liburcu.in
@@ -0,0 +1,25 @@
+## SECTION=system_libraries
+
+menuconfig LIBURCU
+ tristate
+ prompt "liburcu "
+ select GLIBC_PTHREAD
+ help
+ liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This
+ data synchronization library provides read-side access which scales
+ linearly with the number of cores. It does so by allowing multiples
+ copies of a given data structure to live at the same time, and by
+ monitoring the data structure accesses to detect grace periods after
+ which memory reclamation is possible.
+
+if LIBURCU
+
+config LIBURCU_SMP
+ bool
+ prompt "SMP support"
+ default y
+ help
+ Provide SMP support. Warning: Disable this only on real uniprocessor
+ systems.
+
+endif