Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1713249
| From | Waiman Long <longman@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] blktrace: Fix potentail deadlock between delete & sysfs ops |
| Date | 2017-08-16 21:30 +0200 |
| Message-ID | <ufcaS-2DT-1@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <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> <ufc1c-2Al-13@gated-at.bofh.it> |
| Organization | Red Hat |
On 08/16/2017 03:14 PM, Steven Rostedt wrote: > 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 I am planning to use usleep_range(). That will allow a short sleep in the us range instead of ms. The documentation suggest that for a 10us-20ms sleep. Cheers, Longman
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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