aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/percpu-vm.c
diff options
context:
space:
mode:
authorDennis Zhou <dennisz@fb.com>2017-06-21 13:52:46 -0400
committerTejun Heo <tj@kernel.org>2017-06-21 13:53:52 -0400
commit303abfdf76ea41c228e8b3da73ed3807121a9ca6 (patch)
tree9f860486a6b1c8f234dc8c871dfc788491f467c1 /mm/percpu-vm.c
parentpercpu: resolve err may not be initialized in pcpu_alloc (diff)
downloadwireguard-linux-303abfdf76ea41c228e8b3da73ed3807121a9ca6.tar.xz
wireguard-linux-303abfdf76ea41c228e8b3da73ed3807121a9ca6.zip
percpu: fix early calls for spinlock in pcpu_stats
From 2c06e795162cb306c9707ec51d3e1deadb37f573 Mon Sep 17 00:00:00 2001 From: Dennis Zhou <dennisz@fb.com> Date: Wed, 21 Jun 2017 10:17:09 -0700 Commit 30a5b5367ef9 ("percpu: expose statistics about percpu memory via debugfs") introduces percpu memory statistics. pcpu_stats_chunk_alloc takes the spin lock and disables/enables irqs on creation of a chunk. Irqs are not enabled when the first chunk is initialized and thus kernels are failing to boot with kernel debugging enabled. Fixed by changing _irq to _irqsave and _irqrestore. Fixes: 30a5b5367ef9 ("percpu: expose statistics about percpu memory via debugfs") Signed-off-by: Dennis Zhou <dennisz@fb.com> Reported-by: Alexander Levin <alexander.levin@verizon.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'mm/percpu-vm.c')
0 files changed, 0 insertions, 0 deletions