Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1372332
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] sched/deadline: No need to check NULL later_mask |
| Date | 2016-04-06 11:40 +0200 |
| Message-ID | <rkS6m-1Kx-15@gated-at.bofh.it> (permalink) |
| References | <rj5ho-3uY-11@gated-at.bofh.it> <rj5r5-3yN-23@gated-at.bofh.it> <rj6ds-46Z-7@gated-at.bofh.it> <rja7o-70D-3@gated-at.bofh.it> <rjqOS-2eO-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Apr 02, 2016 at 06:14:28PM +0800, Xunlei Pang wrote: > Your proposal is very nice! > > At the sched_init() stage we only have one (to be "idle") task and with irq disabled, > no scheduling will happen, and the cpu_possible_mask was already initiated, so it's > safe to simply move them there. > > Also, how about rt&deadline sharing a percpu mask? Because only one of them can > use the mask at a moment, operations are always under some spin_lock_irqsave(). > > I made a new patch below, slightly tested by running tens of rt&dl tasks for a while, > are you fine with it? Yep, looks fine. Please submit as a proper patch. Thanks!
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [PATCH] sched/deadline: No need to check NULL later_mask Peter Zijlstra <peterz@infradead.org> - 2016-04-06 11:40 +0200 Re: [PATCH] sched/deadline: No need to check NULL later_mask Xunlei Pang <xpang@redhat.com> - 2016-04-06 15:10 +0200
csiph-web