The iocb is as minimally different from the posix aio api as possible. The
main reason for the difference is that struct sigevent is unreasonably huge.
A lightweight posix aio implementation on top of the kernel API shares the
fields between the kernel iocb and the posix aiocb.
> I don't see how the flushing flood is related to this, this is a normal
> syscall, any issue that applies to these aio_read/write/fsync should
> apply to all other syscalls too. Also the 4G starvation will be more
> likely fixed by x86-64 or in software by using a softpagesize larger
> than 4k so that the mem_map array doesn't load all the zone_normal.
A 4G/4G split flushes the TLB on every syscall.
-ben
-- "You will be reincarnated as a toad; and you will be much happier." - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/