aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-09-22 15:51:18 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-09-22 15:51:18 -0400
commitb05b34d2e2a7208a1162e87205c02ef8f9b67ca1 (patch)
tree8456d2e102076516467975cf394daf9c7e7e5de9
parent5a5e4ea245cbeffde9cdc3313b3dd5fbf585ec95 (diff)
EDF-WM: allow slice budgets of 50us and greater
The partitioning does seem to create some small budgets, so let's support. Going smaller than this seems a bit silly.
-rw-r--r--include/litmus/rt_param.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/litmus/rt_param.h b/include/litmus/rt_param.h
index a7332c721e0f..078e3ea4f968 100644
--- a/include/litmus/rt_param.h
+++ b/include/litmus/rt_param.h
@@ -1,3 +1,5 @@
1#include <linux/threads.h>
2
1/* 3/*
2 * Definition of the scheduler plugin interface. 4 * Definition of the scheduler plugin interface.
3 * 5 *
@@ -40,7 +42,7 @@ typedef enum {
40 * is called a 'slice'. 42 * is called a 'slice'.
41 */ 43 */
42#define MAX_EDF_WM_SLICES 24 44#define MAX_EDF_WM_SLICES 24
43#define MIN_EDF_WM_SLICE_SIZE 1000000 /* 1 millisecond */ 45#define MIN_EDF_WM_SLICE_SIZE 50000 /* .05 millisecond = 50us */
44 46
45struct edf_wm_slice { 47struct edf_wm_slice {
46 /* on which CPU is this slice allocated */ 48 /* on which CPU is this slice allocated */