From: Tejun Heo <tj@kernel.org>
To: axboe@kernel.dk, vgoyal@redhat.com
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
dpshah@google.com, ctalbott@google.com, rni@google.com
Subject: [PATCHSET] blkcg: fix percpu stat allocation and remove stats_lock, take#2
Date: Thu, 8 Mar 2012 10:53:55 -0800 [thread overview]
Message-ID: <1331232840-16044-1-git-send-email-tj@kernel.org> (raw)
Hello, guys.
This patchset is another retry at fixing percpu stat allocation and
removing stats_lock. From the last try[L], percpu mempool stuff is
replaced with in-blkcg delayed allocation using work item. Other than
that, the rest of the patchset remain the same.
Vivek, I made some minor adjustments to your percpu alloc patch.
Also, your patch fixes the suspicious RCU deref warning, which was
caused by blkg_alloc() needing sleepable context from the first place.
I added a note for that in the commit message.
0001-blkcg-alloc-per-cpu-stats-from-worker-thread-in-a-de.patch
0002-blkcg-don-t-use-percpu-for-merged-stats.patch
0003-blkcg-simplify-stat-reset.patch
0004-blkcg-restructure-blkio_get_stat.patch
0005-blkcg-remove-blkio_group-stats_lock.patch
0001 fix blkcg per cpu stat allocation by implementing delayed
allocation in blkcg proper using a work item.
0002-0005 replace blkg->stats_lock with u64_stats_sync.
This patchset is on top of the current block/for-3.4/core - 671058fb2a
"block: make blk-throttle preserve the issuing task on delayed bios".
and available in the following git branch.
git://git.kernel.org/pub/scm/linux/kernel/git/tj/misc.git blkcg-stats
Thanks.
block/blk-cgroup.c | 466 ++++++++++++++++++++++++++---------------------------
block/blk-cgroup.h | 31 ++-
2 files changed, 257 insertions(+), 240 deletions(-)
--
tejun
[L] http://thread.gmane.org/gmane.linux.kernel/1257428
next reply other threads:[~2012-03-08 18:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-08 18:53 Tejun Heo [this message]
2012-03-08 18:53 ` [PATCH 1/5] blkcg: alloc per cpu stats from worker thread in a delayed manner Tejun Heo
2012-03-08 18:53 ` [PATCH 2/5] blkcg: don't use percpu for merged stats Tejun Heo
2012-03-08 18:53 ` [PATCH 3/5] blkcg: simplify stat reset Tejun Heo
2012-03-08 18:53 ` [PATCH 4/5] blkcg: restructure blkio_get_stat() Tejun Heo
2012-03-08 18:54 ` [PATCH 5/5] blkcg: remove blkio_group->stats_lock Tejun Heo
2012-03-09 17:15 ` Vivek Goyal
2012-03-09 18:03 ` 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=1331232840-16044-1-git-send-email-tj@kernel.org \
--to=tj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=axboe@kernel.dk \
--cc=ctalbott@google.com \
--cc=dpshah@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rni@google.com \
--cc=vgoyal@redhat.com \
/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.