Re: [tip:sched/core] sched: Add 'autogroup' scheduling feature: automated per session task groups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:sched/core] sched: Add 'autogroup' scheduling feature: automated per session task groups
- From: Oleg Nesterov <oleg@xxxxxxxxxx>
- Date: Thu, 16 Dec 2010 16:07:57 +0100
- Cc: linux-tip-commits@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, hpa@xxxxxxxxx, mingo@xxxxxxxxxx, mathieu.desnoyers@xxxxxxxxxxxx, a.p.zijlstra@xxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, pjt@xxxxxxxxxx, markus@xxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, mingo@xxxxxxx
- In-reply-to: <1292508592.5940.28.camel@xxxxxxxxxxxxxxxx>
- User-agent: Mutt/1.5.18 (2008-05-17)
On 12/16, Mike Galbraith wrote:
>
> I'd also have to disable interrupts though,
Even irq_disable can't help, I think.
> so may as well just lock it.
this also looks simpler.
> I didn't do the -ESRCH or no display bit. As far as autogroup is
> concerned, if you couldn't lock, it's history, so belongs to init.
Agreed. I considered this option too, but I was worried about
sched_group_set_shares(root).
However, as you pointed out,
> sched_group_set_shares() does the right thing, says no to changing the
> root task group's shares.
Aha, I see, thanks.
I believe the patch is correct and closes the hole.
Oleg.
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]