From 05eaaafa89b813e1bd5e34b4d47ec99cdc3a5911 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Wed, 15 May 2013 02:12:57 +0200 Subject: kern/llsync: new module This module provides lockless synchronization so that reads can safely occur during updates, without holding a lock. It is based on passive serialization as described in US patent 4809168, and achieves a goal similar to Linux RCU (Read-Copy Update). --- kern/kernel.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kern/kernel.c') diff --git a/kern/kernel.c b/kern/kernel.c index 93c0c19c..1acd5308 100644 --- a/kern/kernel.c +++ b/kern/kernel.c @@ -17,6 +17,7 @@ #include #include +#include #include #include #include @@ -33,6 +34,7 @@ kernel_main(void) /* Initialize the kernel */ task_setup(); thread_setup(); + llsync_setup(); /* Rendezvous with APs */ cpu_mp_sync(); -- cgit v1.2.3