On Mon, 2010-11-15 at 20:47 -0800, Andrew Morton wrote: > On Mon, 15 Nov 2010 08:29:11 -0600 "Steven J. Magnani" <steve@xxxxxxxxxxxxxxx> wrote: > > > As efficient as schedule() may be, it still scares me to call it on > > reclaim of every block of memory allocated by a terminating process, > > particularly on the relatively slow processors that inhabit NOMMU land. > > This is cond_resched(), not schedule()! cond_resched() is just a few > instructions, except for the super-rare case where it calls schedule(). The light comes on..._cond_resched() is overloaded. I was looking at the static version, which calls schedule(). The extern version is much more lightweight. I'll respin the patch. Thanks, ------------------------------------------------------------------------ Steven J. Magnani "I claim this network for MARS! www.digidescorp.com Earthling, return my space modulator!" #include <standard.disclaimer> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>