From: Tejun Heo <tj@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, Christoph Lameter <cl@linux.com>,
Dennis Zhou <dennisszhou@gmail.com>
Subject: [GIT PULL] percpu fixes for v4.14-rc3
Date: Tue, 3 Oct 2017 06:26:49 -0700 [thread overview]
Message-ID: <20171003132649.GF3301751@devbig577.frc2.facebook.com> (raw)
Hello, Linus.
Rather important fixes this time.
* The new percpu area allocator had a subtle bug in how it iterates
the memory regions and could skip viable areas, which led to
allocation failures for module static percpu variables. Dennis
fixed the bug and another non-critical one in stat calculation.
* Mark noticed that the generic implementations of percpu local atomic
reads aren't properly protected against irqs and there's a (slim)
chance for split reads on some 32bit systems. Generic
implementations are updated to disable irq when read size is larger
than ulong size. This may have made some 32bit archs which can do
atomic local 64bit accesses generate sub-optimal code. We need to
find them out and implement arch-specific overrides.
Thanks.
The following changes since commit e365806ac289457263a133bd32df8df49897f612:
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (2017-09-25 18:24:14 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git for-4.14-fixes
for you to fetch changes up to 1fa4df3e688902d033dfda796eb83ae6ad8d0488:
percpu: fix iteration to prevent skipping over block (2017-09-28 07:39:27 -0700)
----------------------------------------------------------------
Dennis Zhou (2):
percpu: fix starting offset for chunk statistics traversal
percpu: fix iteration to prevent skipping over block
Mark Rutland (1):
percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
include/asm-generic/percpu.h | 24 ++++++++++++++++++++++--
mm/percpu-stats.c | 2 +-
mm/percpu.c | 4 ++++
3 files changed, 27 insertions(+), 3 deletions(-)
--
tejun
next reply other threads:[~2017-10-03 13:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-03 13:26 Tejun Heo [this message]
2017-10-03 17:27 ` [GIT PULL] percpu fixes for v4.14-rc3 Linus Torvalds
2017-10-03 18:32 ` Tejun Heo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171003132649.GF3301751@devbig577.frc2.facebook.com \
--to=tj@kernel.org \
--cc=cl@linux.com \
--cc=dennisszhou@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.