From: David Rientjes <rientjes@google.com>
To: Mikulas Patocka <mpatocka@redhat.com>
Cc: Douglas Anderson <dianders@chromium.org>,
Mike Snitzer <snitzer@redhat.com>,
shli@kernel.org, Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-kernel@vger.kernel.org, linux-raid@vger.kernel.org,
dm-devel@redhat.com, linux@roeck-us.net,
Sonny Rao <sonnyrao@chromium.org>,
Alasdair Kergon <agk@redhat.com>
Subject: Re: [PATCH] RFC: dm: avoid the mutex lock in dm_bufio_shrink_count()
Date: Mon, 28 Nov 2016 16:56:18 -0800 (PST) [thread overview]
Message-ID: <alpine.DEB.2.10.1611281656020.107214@chino.kir.corp.google.com> (raw)
In-Reply-To: <alpine.LRH.2.02.1611231531340.31481@file01.intranet.prod.int.rdu2.redhat.com>
On Wed, 23 Nov 2016, Mikulas Patocka wrote:
> From: Mikulas Patocka <mpatocka@redhat.com>
>
> dm-bufio: don't take the lock in dm_bufio_shrink_count
>
> dm_bufio_shrink_count is called from do_shrink_slab to find out how many
> freeable objects are there. The reported value doesn't have to be precise,
> so we don't need to take the dm-bufio lock.
>
> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Acked-by: David Rientjes <rientjes@google.com>
prev parent reply other threads:[~2016-11-29 0:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-17 21:16 Douglas Anderson
2016-11-17 22:20 ` David Rientjes
2016-11-23 20:42 ` Mikulas Patocka
2016-11-29 0:56 ` David Rientjes [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=alpine.DEB.2.10.1611281656020.107214@chino.kir.corp.google.com \
--to=rientjes@google.com \
--cc=agk@redhat.com \
--cc=dianders@chromium.org \
--cc=dm-devel@redhat.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=mpatocka@redhat.com \
--cc=shli@kernel.org \
--cc=snitzer@redhat.com \
--cc=sonnyrao@chromium.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
all inboxes | Powered by JetHome®