Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1671865

Re: [PATCH 1/1] percpu: fix early calls for spinlock in pcpu_stats

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] percpu: fix early calls for spinlock in pcpu_stats
Date 2017-06-21 20:00 +0200
Message-ID <tUS55-VR-27@gated-at.bofh.it> (permalink)
References <tUehj-Na-11@gated-at.bofh.it> <tUehj-Na-13@gated-at.bofh.it> <tUQFY-8uH-13@gated-at.bofh.it> <tUS55-VR-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jun 21, 2017 at 01:52:46PM -0400, Dennis Zhou wrote:
> 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>

Applied to percpu/for-4.13.

Thanks.

-- 
tejun

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 4/4] percpu: add tracepoint support for percpu memory Dennis Zhou <dennisz@fb.com> - 2017-06-20 01:30 +0200
  Re: [PATCH 4/4] percpu: add tracepoint support for percpu memory "Levin, Alexander (Sasha Levin)" <alexander.levin@verizon.com> - 2017-06-21 18:30 +0200
    Re: [PATCH 1/1] percpu: fix early calls for spinlock in pcpu_stats Tejun Heo <tj@kernel.org> - 2017-06-21 20:00 +0200

csiph-web