diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-01-28 12:24:58 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2011-02-01 16:30:37 -0500 |
commit | 2dea9d5e7727b8474981557cbf925687b8f33865 (patch) | |
tree | 96134311a3b67372e19a5f7eb232acb3d0be9b09 /litmus/Kconfig | |
parent | fd8ae31c74975c8499983c9831bff2b136b98434 (diff) |
Litmus core: change plugin locking interface to generic 'allocate_lock()'
As the number of supported locking protocols is expected to rise,
hard-coding things like priority inheritance in the plugin interface
doesn't scale. Instead, use a new generic lock-ops approach. With this
approach, each plugin can define its own protocol implementation (or
use a generic one), and plugins can support multiple protocols without
having to change the plugin interface for each protocol.
Diffstat (limited to 'litmus/Kconfig')
-rw-r--r-- | litmus/Kconfig | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/litmus/Kconfig b/litmus/Kconfig index a2f267870f29..ad8dc8308cf0 100644 --- a/litmus/Kconfig +++ b/litmus/Kconfig | |||
@@ -46,28 +46,19 @@ config NP_SECTION | |||
46 | Note that plugins still need to explicitly support non-preemptivity. | 46 | Note that plugins still need to explicitly support non-preemptivity. |
47 | Currently, only GSN-EDF and PSN-EDF have such support. | 47 | Currently, only GSN-EDF and PSN-EDF have such support. |
48 | 48 | ||
49 | This is required to support the FMLP. | 49 | This is required to support locking protocols such as the FMLP. |
50 | If disabled, all tasks will be considered preemptable at all times. | 50 | If disabled, all tasks will be considered preemptable at all times. |
51 | 51 | ||
52 | config SRP | 52 | config LITMUS_LOCKING |
53 | bool "Stack Resource Policy (SRP)" | 53 | bool "Support for real-time locking protocols" |
54 | default n | ||
55 | help | ||
56 | Include support for Baker's Stack Resource Policy. | ||
57 | |||
58 | Say Yes if you want FMLP local long critical section | ||
59 | synchronization support. | ||
60 | |||
61 | config FMLP | ||
62 | bool "FMLP support" | ||
63 | depends on NP_SECTION | 54 | depends on NP_SECTION |
64 | default n | 55 | default n |
65 | help | 56 | help |
66 | Include support for deterministic multiprocessor real-time | 57 | Enable LITMUS^RT's deterministic multiprocessor real-time |
67 | synchronization support. | 58 | locking protocols. |
68 | 59 | ||
69 | Say Yes if you want FMLP long critical section | 60 | Say Yes if you want to include locking protocols such as the FMLP and |
70 | synchronization support. | 61 | Baker's SRP. |
71 | 62 | ||
72 | endmenu | 63 | endmenu |
73 | 64 | ||