Re: sw_ring.c poll problem

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

 




Ge Gao <ggao@xxxxxxxxxxxxxx> wrote:

>Dear all,
>	I found that ring_sw.c the poll function has to read half of the
>data for poll to work. Basically, you have to fill half of the ring
>buffer
>in order for poll to be triggrerred. You have to also read more than
>half
>of the data for poll to be disappeared. This would pose problems. If
>you
>have big ring buffer, the data will lost its immediacy. If you have
>small
>ring buffer, the data could lost if not buffered enough. Is that
>possible
>this poll action configurable? Or I missed anything.

Use kfifobuf instead. Sw _ring is going away anyway.
>	Thanks.
>
>Best regards,
>
>Ge GAO
>--
>To unsubscribe from this list: send the line "unsubscribe linux-iio" in
>the body of a message to majordomo@xxxxxxxxxxxxxxx
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux