Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1713245

Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs ops

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs ops
Date 2017-08-16 21:20 +0200
Message-ID <ufc1c-2Al-13@gated-at.bofh.it> (permalink)
References (2 earlier) <ufb58-21P-7@gated-at.bofh.it> <ufb58-21P-5@gated-at.bofh.it> <ufby9-2bt-1@gated-at.bofh.it> <ufbHQ-2eE-7@gated-at.bofh.it> <ufbRw-2wV-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs  ops Steven Rostedt <rostedt@goodmis.org> - 2017-08-16 01:20 +0200
  Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs  ops Steven Rostedt <rostedt@goodmis.org> - 2017-08-16 20:20 +0200
    Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs  ops Waiman Long <longman@redhat.com> - 2017-08-16 20:50 +0200
      Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs  ops Steven Rostedt <rostedt@goodmis.org> - 2017-08-16 21:00 +0200
        Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs  ops Waiman Long <longman@redhat.com> - 2017-08-16 21:10 +0200
          Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs  ops Steven Rostedt <rostedt@goodmis.org> - 2017-08-16 21:20 +0200
            Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs  ops Waiman Long <longman@redhat.com> - 2017-08-16 21:30 +0200
  Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs  ops Waiman Long <longman@redhat.com> - 2017-08-16 20:20 +0200

csiph-web