aboutsummaryrefslogtreecommitdiff
path: root/src/bkl.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-07-06 18:14:04 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-07-06 18:14:04 +0300
commit76517486919657ecadda9867125dc6730f29a5b7 (patch)
tree02d975db2b911ec7b92c4b1be7c5a2510b418ae1 /src/bkl.c
parent608f44306a6f0d5692f5c81bcbfe7a621ec254ba (diff)
downloadkmi-76517486919657ecadda9867125dc6730f29a5b7.tar.gz
kmi-76517486919657ecadda9867125dc6730f29a5b7.zip
pretty massive virtual memory rewrite
+ The system is now a bit simpler and hopefully easier to understand, while also extending the shared memory to be 1:N, where there is one owner who may become a zombie while waiting for the N to die.
Diffstat (limited to 'src/bkl.c')
-rw-r--r--src/bkl.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bkl.c b/src/bkl.c
index 6dc120f..aa7bd53 100644
--- a/src/bkl.c
+++ b/src/bkl.c
@@ -1,3 +1,12 @@
+/* SPDX-License-Identifier: copyleft-next-0.3.1 */
+/* Copyright 2024, Kim Kuparinen < kimi.h.kuparinen@gmail.com > */
+
#include <kmi/lock.h>
+/**
+ * @file bkl.c
+ *
+ * Instanciation of the big kernel lock.
+ */
+
spinlock_t bkl = 0;