Re: [PATCH 1/3] PCI: vpd handle longer delays in access

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

 



On Mon, 8 Sep 2008 14:26:05 -0700
Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:

> On Mon, 8 Sep 2008 14:08:24 -0700
> Stephen Hemminger <shemminger@xxxxxxxxxx> wrote:
> 
> > 
> > What is a good way to say "i am polling for a while"?
> 
> 
> can you take a fixed time delay?
> 
> or use cond_resched()
cond_resched sounds like the best suggestion.  The problem is that this
code needs to deal with hardware that could be fast, or slow depending
on how the device is implemented.  
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux