From: Nicholas Mc Guire <der.herr@hofr.at>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: linux-rt-users@vger.kernel.org,
Peter Zijlstra <peterz@infradead.org>,
Steven Rostedt <rostedt@goodmis.org>,
Andreas Platschek <platschek@ict.tuwien.ac.at>
Subject: Re: [PATCH] migrate_disable pushd down in rt_read_trylock
Date: Sun, 15 Dec 2013 15:15:23 +0100 [thread overview]
Message-ID: <20131215141522.GA15532@opentech.at> (raw)
In-Reply-To: <20131215131643.GC31090@linutronix.de>
On Sun, 15 Dec 2013, Sebastian Andrzej Siewior wrote:
> * Nicholas Mc Guire | 2013-11-30 07:47:55 [+0100]:
>
> >given that the broken patch was disabling once and enabling potentially a
> >number of times it should have triggert the
> >WARN_ON_ONCE(p->migrate_disable <= 0); in migrate_enable() if the recursive
> >case would have ever bin hit... so much to testing and locking...
>
> And is why I removed the line
> > No change of functionality
>
> from the change log because it was not obvious to me that is a
> zero-change patch :)
well that was the intent and obviously
it was not the case - so it served its purpose
to document the intent.
>
> Are you going to redo this one?
>
no - as David Miller stated clearly that he sees these
split-api locks as a valid idiom and there were clear
worries that this would break in the future I see no point
in pushing this. The alternative of removing the recursive
migrate_disable/enable in local_bh_* directly is good
enough I guess - see:
0001-make-migrate-disable-enable-conditioned-on-softirq_n.patch
thx!
hofrat
next prev parent reply other threads:[~2013-12-15 14:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-23 0:51 [PATCH] migrate_disable pushd down in rt_read_trylock Nicholas Mc Guire
2013-11-29 15:14 ` Sebastian Andrzej Siewior
2013-11-29 15:44 ` Sebastian Andrzej Siewior
2013-11-30 2:30 ` Nicholas Mc Guire
2013-11-30 6:47 ` Nicholas Mc Guire
2013-12-15 13:16 ` Sebastian Andrzej Siewior
2013-12-15 14:15 ` Nicholas Mc Guire [this message]
2013-12-15 15:06 ` Sebastian Andrzej Siewior
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=20131215141522.GA15532@opentech.at \
--to=der.herr@hofr.at \
--cc=bigeasy@linutronix.de \
--cc=linux-rt-users@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=platschek@ict.tuwien.ac.at \
--cc=rostedt@goodmis.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.