lkml.org 
[lkml]   [2007]   [Jul]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 12 Jul 2007 08:48:02 +0300
FromAvi Kivity <>
SubjectRe: [PATCH 1/2] SCHED: Generic hooks for trapping task preemption
Rusty Russell wrote:
> On Wed, 2007-07-11 at 18:55 +0300, Avi Kivity wrote:
> >> +	fire_sched_out_preempt_hooks(current);>>    	prepare_lock_switch(rq, next);
>>  	prepare_arch_switch(next);
>> >> Damn, I just found a use for this in lguest.>> Any chance of handing "next" to the sched_out hook so we can optimize
> the lguest <-> lguest switch?
>
> FYI, lguest turns off PGE globally when you load the module, because
> turning it off on each guest entry v. slow.  With these hooks I can be
> far smarter...
> 

Sure thang.  Will be there in the next version.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-07-12 07:51    [from the cache]
©2003-2008