From: Mike Snitzer <snitzer@redhat.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: dm-devel@redhat.com, Thomas Gleixner <tglx@linutronix.de>,
Alasdair Kergon <agk@redhat.com>
Subject: Re: [dm-devel] dm table: Remove BUG_ON(in_interrupt())
Date: Fri, 13 Nov 2020 13:51:31 -0500 [thread overview]
Message-ID: <20201113185131.GA3671@redhat.com> (raw)
In-Reply-To: <20201113141910.2215071-1-bigeasy@linutronix.de>
On Fri, Nov 13 2020 at 9:19am -0500,
Sebastian Andrzej Siewior <bigeasy@linutronix.de> wrote:
> From: Thomas Gleixner <tglx@linutronix.de>
>
> The BUG_ON(in_interrupt()) in dm_table_event() is a historic leftover from
> a rework of the dm table code which changed the calling context.
>
> Issuing a BUG for a wrong calling context is frowned upon and
> in_interrupt() is deprecated and only covering parts of the wrong
> contexts. The sanity check for the context is covered by
> CONFIG_DEBUG_ATOMIC_SLEEP and other debug facilities already.
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> Cc: dm-devel@redhat.com
> Cc: Mike Snitzer <snitzer@redhat.com>
> Cc: Alasdair Kergon <agk@redhat.com>
I picked this up for 5.11, thanks.
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
prev parent reply other threads:[~2020-11-13 18:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-13 14:19 [dm-devel] [PATCH] dm table: Remove BUG_ON(in_interrupt()) Sebastian Andrzej Siewior
2020-11-13 18:51 ` Mike Snitzer [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=20201113185131.GA3671@redhat.com \
--to=snitzer@redhat.com \
--cc=agk@redhat.com \
--cc=bigeasy@linutronix.de \
--cc=dm-devel@redhat.com \
--cc=tglx@linutronix.de \
/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.