From: Steven Rostedt <rostedt@goodmis.org>
To: Waiman Long <longman@redhat.com>
Cc: Jens Axboe <axboe@kernel.dk>,
Jeff Layton <jlayton@poochiereds.net>,
"J. Bruce Fields" <bfields@fieldses.org>,
Ingo Molnar <mingo@kernel.org>,
linux-kernel@vger.kernel.org, linux-block@vger.kernel.org,
linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs ops
Date: Wed, 16 Aug 2017 15:14:46 -0400 [thread overview]
Message-ID: <20170816151446.372fc3d2@gandalf.local.home> (raw)
In-Reply-To: <ee8f13dc-10aa-55bf-f152-5c73ae0a1d03@redhat.com>
On Wed, 16 Aug 2017 15:07:25 -0400
Waiman Long <longman@redhat.com> wrote:
> I am thinking about maybe letting a RT task to sleep a tiny amount of
> time instead of calling schedule(). Hopefully, that will allow a
> lower-priority task to make forward progress.
That is actually one of the ugly hacks we have in the PREEMPT_RT patch
(and one of the things we need to fix before getting it to mainline).
A simple msleep(1).
-- Steve
next prev parent reply other threads:[~2017-08-16 19:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-10 17:02 [PATCH] blktrace: Fix potentail deadlock between delete & sysfs ops Waiman Long
2017-08-15 23:11 ` Steven Rostedt
2017-08-16 18:14 ` Waiman Long
2017-08-16 18:17 ` Steven Rostedt
2017-08-16 18:46 ` Waiman Long
2017-08-16 18:59 ` Steven Rostedt
2017-08-16 19:07 ` Waiman Long
2017-08-16 19:14 ` Steven Rostedt [this message]
2017-08-16 19:26 ` Waiman Long
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=20170816151446.372fc3d2@gandalf.local.home \
--to=rostedt@goodmis.org \
--cc=axboe@kernel.dk \
--cc=bfields@fieldses.org \
--cc=jlayton@poochiereds.net \
--cc=linux-block@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=longman@redhat.com \
--cc=mingo@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).