diff options
author | Ingo Molnar <mingo@kernel.org> | 2014-12-12 03:09:03 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-12-12 03:09:03 -0500 |
commit | 3459f0d78ffe27a1b341c22eb158b622eaaea3fc (patch) | |
tree | 715b0575eec541d0181876ad367ca5480cdcecf3 /lib | |
parent | 9fc81d87420d0d3fd62d5e5529972c0ad9eab9cc (diff) | |
parent | bee2782f30f66898be3f74ad02e4d1f87a969694 (diff) |
Merge branch 'linus' into perf/urgent, to pick up the upstream merged bits
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.debug | 14 | ||||
-rw-r--r-- | lib/genalloc.c | 1 | ||||
-rw-r--r-- | lib/show_mem.c | 2 |
3 files changed, 3 insertions, 14 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 4e35a5d767ed..d780351835e9 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -1238,21 +1238,9 @@ config RCU_CPU_STALL_TIMEOUT | |||
1238 | RCU grace period persists, additional CPU stall warnings are | 1238 | RCU grace period persists, additional CPU stall warnings are |
1239 | printed at more widely spaced intervals. | 1239 | printed at more widely spaced intervals. |
1240 | 1240 | ||
1241 | config RCU_CPU_STALL_VERBOSE | ||
1242 | bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR" | ||
1243 | depends on TREE_PREEMPT_RCU | ||
1244 | default y | ||
1245 | help | ||
1246 | This option causes RCU to printk detailed per-task information | ||
1247 | for any tasks that are stalling the current RCU grace period. | ||
1248 | |||
1249 | Say N if you are unsure. | ||
1250 | |||
1251 | Say Y if you want to enable such checks. | ||
1252 | |||
1253 | config RCU_CPU_STALL_INFO | 1241 | config RCU_CPU_STALL_INFO |
1254 | bool "Print additional diagnostics on RCU CPU stall" | 1242 | bool "Print additional diagnostics on RCU CPU stall" |
1255 | depends on (TREE_RCU || TREE_PREEMPT_RCU) && DEBUG_KERNEL | 1243 | depends on (TREE_RCU || PREEMPT_RCU) && DEBUG_KERNEL |
1256 | default n | 1244 | default n |
1257 | help | 1245 | help |
1258 | For each stalled CPU that is aware of the current RCU grace | 1246 | For each stalled CPU that is aware of the current RCU grace |
diff --git a/lib/genalloc.c b/lib/genalloc.c index cce4dd68c40d..2e65d206b01c 100644 --- a/lib/genalloc.c +++ b/lib/genalloc.c | |||
@@ -598,6 +598,7 @@ struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order, | |||
598 | 598 | ||
599 | return pool; | 599 | return pool; |
600 | } | 600 | } |
601 | EXPORT_SYMBOL(devm_gen_pool_create); | ||
601 | 602 | ||
602 | /** | 603 | /** |
603 | * dev_get_gen_pool - Obtain the gen_pool (if any) for a device | 604 | * dev_get_gen_pool - Obtain the gen_pool (if any) for a device |
diff --git a/lib/show_mem.c b/lib/show_mem.c index 09225796991a..5e256271b47b 100644 --- a/lib/show_mem.c +++ b/lib/show_mem.c | |||
@@ -28,7 +28,7 @@ void show_mem(unsigned int filter) | |||
28 | continue; | 28 | continue; |
29 | 29 | ||
30 | total += zone->present_pages; | 30 | total += zone->present_pages; |
31 | reserved = zone->present_pages - zone->managed_pages; | 31 | reserved += zone->present_pages - zone->managed_pages; |
32 | 32 | ||
33 | if (is_highmem_idx(zoneid)) | 33 | if (is_highmem_idx(zoneid)) |
34 | highmem += zone->present_pages; | 34 | highmem += zone->present_pages; |