Re: [patch 18/26] drivers/scsi/megaraid.c: Replacing yield() with a better alternative

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux