aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/unistd_64.h
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-04-11 15:57:59 -0400
committerGlenn Elliott <gelliott@cs.unc.edu>2012-04-11 15:57:59 -0400
commit8eb55f8fa1a2c3854f0f77b9b8663178c0129f6c (patch)
tree40a244d4d80512342a8b307253c5dd58e5b9cd2b /include/litmus/unistd_64.h
parent0c80d0acbbc2103a744f2b2b76cb66ddeb28ebbf (diff)
Added support for Dynamic Group Locks (DGLs)
Added support for Dynamic Group Locks. Locks are FIFO ordered (no timestamps), so a big DGL lock is needed to enqueue for resources atomically. Unfortunatly, this requires nested inheritance to use coarse-grain locking. Coarse-grain locking is used when DGLs are enabled. Fine-grain locking is used when DGLs are disabled. TODO: Clean up IKGLP implementatio. There is a lot of needless debug/TRACE work.
Diffstat (limited to 'include/litmus/unistd_64.h')
-rw-r--r--include/litmus/unistd_64.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/litmus/unistd_64.h b/include/litmus/unistd_64.h
index d5ced0d2642c..bf2ffeac2dbb 100644
--- a/include/litmus/unistd_64.h
+++ b/include/litmus/unistd_64.h
@@ -29,5 +29,9 @@ __SYSCALL(__NR_wait_for_ts_release, sys_wait_for_ts_release)
29__SYSCALL(__NR_release_ts, sys_release_ts) 29__SYSCALL(__NR_release_ts, sys_release_ts)
30#define __NR_null_call __LSC(11) 30#define __NR_null_call __LSC(11)
31__SYSCALL(__NR_null_call, sys_null_call) 31__SYSCALL(__NR_null_call, sys_null_call)
32#define __NR_litmus_dgl_lock __LSC(12)
33__SYSCALL(__NR_litmus_dgl_lock, sys_litmus_dgl_lock)
34#define __NR_litmus_dgl_unlock __LSC(13)
35__SYSCALL(__NR_litmus_dgl_unlock, sys_litmus_dgl_unlock)
32 36
33#define NR_litmus_syscalls 12 37#define NR_litmus_syscalls 14