On 09/09/2009 12:44 PM, FUJITA Tomonori wrote: > We use threads and pipe for event notification (I/O completion); I/O > threads signal the main thread when I/Os are complete. signalfd is > faster than it (signalfd is supported as of 2.6.22). Tomo-san, AFAICS signalfd has not been backported to Red Hat's RHEL 5 kernels. So if I understand correctly, this patch would break building tgt on that platform (and presumably others, like Debian etch and SLES 10). Would you mind employing ifdefs so that when signalfd is not available on the platform tgt is being built on, it reverts to the old behavior? Just my $.02. Cheers, Florian
Attachment:
signature.asc
Description: OpenPGP digital signature