From: Mike Snitzer <snitzer@redhat.com>
To: Mikulas Patocka <mpatocka@redhat.com>
Cc: dm-devel@redhat.com
Subject: Re: dm-snapshot: use mutex instead of rw-semaphore
Date: Fri, 5 Jan 2018 15:24:09 -0500 [thread overview]
Message-ID: <20180105202409.GA21622@redhat.com> (raw)
In-Reply-To: <alpine.LRH.2.02.1711231615160.2217@file01.intranet.prod.int.rdu2.redhat.com>
On Thu, Nov 23 2017 at 4:15pm -0500,
Mikulas Patocka <mpatocka@redhat.com> wrote:
> The rw-semaphore is acquired for read only on two places, none of them is
> performance-critical. So, we can replace it with a mutex.
Can you expand on why you'd like to avoid using a rw_semaphore? mutex
being faster in the fast path?
Thanks,
Mike
next prev parent reply other threads:[~2018-01-05 20:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-23 21:15 [PATCH] dm-snapshot: use mutex instead of rw-semaphore Mikulas Patocka
2018-01-05 20:24 ` Mike Snitzer [this message]
2018-01-05 22:52 ` Mikulas Patocka
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=20180105202409.GA21622@redhat.com \
--to=snitzer@redhat.com \
--cc=dm-devel@redhat.com \
--cc=mpatocka@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.