Re: [PATCH 1/2] SCHED: Generic hooks for trapping task preemption

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Avi Kivity <avi@...>
Cc: <kvm-devel@...>, <linux-kernel@...>, Ingo Molnar <mingo@...>, <shaohua.li@...>
Date: Wednesday, July 11, 2007 - 10:56 pm

On Wed, 2007-07-11 at 18:55 +0300, Avi Kivity wrote:

Hmm, I would have thought that having CONFIG_KVM "select PREEMPT_HOOKS"
would be a little clearer.


The old current/tsk conflation.  You hand in "tsk" here, but since
that's not handed through to the sched_in, it must be "current".  It's
just unfortunate that this generates better code...

But patch looks good.

Cheers,
Rusty.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2][RFC] Scheduler preemption hooks, #2, Avi Kivity, (Wed Jul 11, 11:55 am)
Re: [PATCH 1/2] SCHED: Generic hooks for trapping task preem..., Rusty Russell, (Wed Jul 11, 10:56 pm)