diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-04-11 15:57:59 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-04-11 15:57:59 -0400 |
commit | 8eb55f8fa1a2c3854f0f77b9b8663178c0129f6c (patch) | |
tree | 40a244d4d80512342a8b307253c5dd58e5b9cd2b /include/litmus/unistd_32.h | |
parent | 0c80d0acbbc2103a744f2b2b76cb66ddeb28ebbf (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_32.h')
-rw-r--r-- | include/litmus/unistd_32.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/litmus/unistd_32.h b/include/litmus/unistd_32.h index 94264c27d9ac..941231c8184b 100644 --- a/include/litmus/unistd_32.h +++ b/include/litmus/unistd_32.h | |||
@@ -17,5 +17,7 @@ | |||
17 | #define __NR_wait_for_ts_release __LSC(9) | 17 | #define __NR_wait_for_ts_release __LSC(9) |
18 | #define __NR_release_ts __LSC(10) | 18 | #define __NR_release_ts __LSC(10) |
19 | #define __NR_null_call __LSC(11) | 19 | #define __NR_null_call __LSC(11) |
20 | #define __NR_litmus_dgl_lock __LSC(12) | ||
21 | #define __NR_litmus_dgl_unlock __LSC(13) | ||
20 | 22 | ||
21 | #define NR_litmus_syscalls 12 | 23 | #define NR_litmus_syscalls 14 |