All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Arianna Avanzini <avanzini.arianna@gmail.com>,
	linux-kernel@vger.kernel.org
Cc: kaminsky@cs.cmu.edu
Subject: Re: [PATCH] block/blk-cgroup.c: free per-blkcg data when freeing the blkcg
Date: Tue, 07 Jul 2015 07:49:41 -0600	[thread overview]
Message-ID: <559BD8F5.4080700@kernel.dk> (raw)
In-Reply-To: <1436231295-21713-1-git-send-email-avanzini.arianna@gmail.com>

On 07/06/2015 07:08 PM, Arianna Avanzini wrote:
> Currently, per-blkcg data is freed each time a policy is deactivated,
> that is also upon scheduler switch. However, when switching from a
> scheduler implementing a policy which requires per-blkcg data to
> another one, that same policy might be active on other devices, and
> therefore those same per-blkcg data could be still in use.
> This commit lets per-blkcg data be freed when the blkcg is freed
> instead of on policy deactivation.
>
> Signed-off-by: Arianna Avanzini <avanzini.arianna@gmail.com>
> Reported-and-tested-by: Michael Kaminsky <kaminsky@cs.cmu.edu>
> Fixes: e48453c3 ("block, cgroup: implement policy-specific per-blkcg data")

Thanks Arianna, applied! Hopefully this is the end of the per-policy 
data issues for 4.2.

-- 
Jens Axboe


      reply	other threads:[~2015-07-07 13:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-07  1:08 [PATCH] block/blk-cgroup.c: free per-blkcg data when freeing the blkcg Arianna Avanzini
2015-07-07 13:49 ` Jens Axboe [this message]

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=559BD8F5.4080700@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=avanzini.arianna@gmail.com \
    --cc=kaminsky@cs.cmu.edu \
    --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 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.