From: Tejun Heo <tj@kernel.org>
To: linux-kernel@vger.kernel.org
Cc: cl@linux-foundation.org
Subject: [PATCHSET percpu/for-3.18] add @gfp to init functions of percpu data structures
Date: Mon, 25 Aug 2014 20:43:29 -0400 [thread overview]
Message-ID: <1409013812-21700-1-git-send-email-tj@kernel.org> (raw)
There's now a pending patchset[1] which implements atomic percpu
allocation. This patchset propagates @gfp to percpu data structures
so that they can be allocated and initialized from !GFP_KERNEL
contexts too. This will be used for opportunistic allocations of data
structures embedding percpu constructs in IO path.
This patchset adds @gfp to alloc/init functions of percpu_counter,
[flex_]proportions and percpu-refcount. We could add separate
alloc/init functions which take @gfp but there aren't too many users
yet, so let's just add it to the existing ones.
This patchset contains the following patches
0001-percpu_counter-add-gfp-to-percpu_counter_init.patch
0002-proportions-add-gfp-to-init-functions.patch
0003-percpu-refcount-add-gfp-to-percpu_ref_init.patch
and is on top of
[1] [PATCHSET REPOST percpu/for-3.18] percpu: implement atomic allocation support
and avaliable in the following git branch.
git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu.git/review-add-gfps
diffstat follows. Thanks.
arch/x86/kvm/mmu.c | 2 +-
drivers/target/target_core_tpg.c | 3 ++-
fs/aio.c | 4 ++--
fs/btrfs/disk-io.c | 8 ++++----
fs/btrfs/extent-tree.c | 2 +-
fs/ext2/super.c | 6 +++---
fs/ext3/super.c | 6 +++---
fs/ext4/super.c | 14 +++++++++-----
fs/file_table.c | 2 +-
fs/quota/dquot.c | 2 +-
fs/super.c | 3 ++-
include/linux/flex_proportions.h | 5 +++--
include/linux/percpu-refcount.h | 3 ++-
include/linux/percpu_counter.h | 10 ++++++----
include/linux/proportions.h | 5 +++--
include/net/dst_ops.h | 2 +-
include/net/inet_frag.h | 2 +-
kernel/cgroup.c | 6 +++---
lib/flex_proportions.c | 8 ++++----
lib/percpu-refcount.c | 6 ++++--
lib/percpu_counter.c | 4 ++--
lib/proportions.c | 10 +++++-----
mm/backing-dev.c | 4 ++--
mm/mmap.c | 2 +-
mm/nommu.c | 2 +-
mm/page-writeback.c | 2 +-
mm/shmem.c | 2 +-
net/dccp/proto.c | 2 +-
net/ipv4/tcp.c | 4 ++--
net/ipv4/tcp_memcontrol.c | 2 +-
net/sctp/protocol.c | 2 +-
31 files changed, 74 insertions(+), 61 deletions(-)
--
tejun
[1] http://lkml.kernel.org/g/1408726399-4436-1-git-send-email-tj@kernel.org
next reply other threads:[~2014-08-26 0:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-26 0:43 Tejun Heo [this message]
2014-08-26 0:43 ` [PATCH 1/3] percpu_counter: add @gfp to percpu_counter_init() Tejun Heo
2014-08-26 0:46 ` David Miller
2014-08-26 10:21 ` Jan Kara
2014-08-26 0:43 ` [PATCH 2/3] proportions: add @gfp to init functions Tejun Heo
2014-08-26 10:19 ` Jan Kara
2014-08-26 0:43 ` [PATCH 3/3] percpu-refcount: add @gfp to percpu_ref_init() Tejun Heo
2014-08-26 15:35 ` [PATCH v2 " Tejun Heo
2014-09-08 0:30 ` [PATCH 0.5/3] percpu_counter: make percpu_counters_lock irq-safe Tejun Heo
2014-09-08 0:30 ` [PATCHSET percpu/for-3.18] add @gfp to init functions of percpu data structures 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=1409013812-21700-1-git-send-email-tj@kernel.org \
--to=tj@kernel.org \
--cc=cl@linux-foundation.org \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).