|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 0 of 4] aio event fd support to blktap2
On Thu, 2010-01-28 at 22:37 +0000, Daniel Stodden wrote:
> - Does a runtime kernel version check. I guess this code will
> need additional cpp magic on BSDs.
I guess BSD will need cpp magic regardless of the kernel version check
since it will have a different interface altogether. But for the Linux
version can we not just try eventfd(), check for -ENOSYS and fall back
to the old way if necessary, instead of hardcoding the kernel version?
I suppose eventfd is an unlikely candidate for backporting to anything
older but in general IMHO it's preferable to check for the actual
functionality you want to use rather than hardcoding version numbers
etc.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 3 of 4] blktap2: Separate tapdisk raw I/O into different backends, (continued)
- [Xen-devel] [PATCH 3 of 4] blktap2: Separate tapdisk raw I/O into different backends, Daniel Stodden
- [Xen-devel] [PATCH 4 of 4] blktap2: Prefer AIO eventfd support on kernels >= 2.6.22, Daniel Stodden
- [Xen-devel] Re: [PATCH 0 of 4] aio event fd support to blktap2, Daniel Stodden
- Re: [Xen-devel] [PATCH 0 of 4] aio event fd support to blktap2, Keir Fraser
- Re: [Xen-devel] [PATCH 0 of 4] aio event fd support to blktap2, Daniel Stodden
- Re: [Xen-devel] [PATCH 0 of 4] aio event fd support to blktap2, Daniel Stodden
- Re: [Xen-devel] [PATCH 0 of 4] aio event fd support to blktap2, Keir Fraser
- Re: [Xen-devel] [PATCH 0 of 4] aio event fd support to blktap2, Daniel Stodden
- Re: [Xen-devel] [PATCH 0 of 4] aio event fd support to blktap2, Pasi Kärkkäinen
- Re: [Xen-devel] [PATCH 0 of 4] aio event fd support to blktap2, Daniel Stodden
Re: [Xen-devel] [PATCH 0 of 4] aio event fd support to blktap2,
Ian Campbell <=
|
|
|
|
|