Er.. I've not been following this whole thread (not enough time), but
the kgi folks have had a solution for that one for quite a while:
declare a circular buffer somewhere in virtual memory that's large
enough for at least two physical pages (probably want more). Keep one
page unmapped and flush the mapped one(s) on segfault into buffer,
or on explicit flush request.
There's still a bit of a latency penalty, and of course you need to use
memory, but the syscall penalty is amortized over many requests.
-- Raul- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu