On Thu, 9 Nov 2006 07:44:34 -0700 "Ju, Seokmann" <Seokmann.Ju@xxxxxxx> wrote: > On Wednesday, November 08, 2006 10:56 PM, > > For this driver cond_resched() seems to be a better alternative > Can you add some details on why cond_resched() better than yield()? Since 2.5.early, yield() can cause very very long pauses if there are busy processes in the machine. Many seconds. Quite a lot of yield()-using code broke when we made that CPU scheduler change. - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html