diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-06 16:49:35 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-05-06 16:49:35 -0400 |
commit | 44b10b376140b33e03ad54c927564f5f720b61ca (patch) | |
tree | 8fd06d65d8518da0c43e26b95c94e1ecb77926bd /litmus | |
parent | aab1d2517ef6e9a8a4586d2d93718d1d8e717b95 (diff) |
Exported page size via color proc interface
Diffstat (limited to 'litmus')
-rw-r--r-- | litmus/color_proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/litmus/color_proc.c b/litmus/color_proc.c index 1d46496542c9..76c540adad37 100644 --- a/litmus/color_proc.c +++ b/litmus/color_proc.c | |||
@@ -196,10 +196,11 @@ static int __init litmus_sysctl_init(void) | |||
196 | snprintf(info_buffer, INFO_BUFFER_SIZE, | 196 | snprintf(info_buffer, INFO_BUFFER_SIZE, |
197 | "Cache size\t: %lu B\n" | 197 | "Cache size\t: %lu B\n" |
198 | "Line size\t: %lu B\n" | 198 | "Line size\t: %lu B\n" |
199 | "Page size\t: %lu B\n" | ||
199 | "Ways\t\t: %lu\n" | 200 | "Ways\t\t: %lu\n" |
200 | "Sets\t\t: %lu\n" | 201 | "Sets\t\t: %lu\n" |
201 | "Colors\t\t: %lu", | 202 | "Colors\t\t: %lu", |
202 | color_cache_info.size, color_cache_info.line_size, | 203 | color_cache_info.size, color_cache_info.line_size, PAGE_SIZE, |
203 | color_cache_info.ways, color_cache_info.sets, | 204 | color_cache_info.ways, color_cache_info.sets, |
204 | color_cache_info.nr_colors); | 205 | color_cache_info.nr_colors); |
205 | 206 | ||