- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Sat, 17 Jul 2004 20:11:37 -0400
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 17 July 2004 07:07 pm, David Schleef wrote: > On Sat, Jul 17, 2004 at 06:55:21PM -0400, Frank Mori Hess wrote: > > I've lifted the 10 insn limit in cvs. Now it just checks > > need_resched() after each insn. > > The purpose of this was to run all of the instructions without a > reschedule, and 10 is a decent limit. But in 2.6, this is hard > to achieve anyway, so it makes less sense. > Oh, I forgot about that. Is it really harder to achieve with 2.6? My understanding is that preemption is disabled in the ioctl due to the big kernel lock. We could just check for reschedule every 10th insn. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA+cA55vihyNWuA4URAl0fAJ4hzCrNiVX4kojNrycZEYSY9/xUIgCgwsy/ soeVM3ZiBbrW7UfzdvilnZA= =C9qm -----END PGP SIGNATURE-----
Received on 2004-07-17Z23:11:37