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. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel