Re: [RFC][PATCH 1/4] checkpoint-restart: general infrastructure

From: Arnd Bergmann
Date: Mon Aug 11 2008 - 11:26:59 EST


On Monday 11 August 2008, Serge E. Hallyn wrote:
> One reason is that I suspect that stops us from being able to send that
> data straight to a pipe to compress and/or send on the network, without
> hitting local disk.  Though if the checkpointfs was ram-based maybe not?
>
> As Oren has pointed out before, passing in an fd means we can pass a
> socket into the syscall.
>
> Using the anon_inodes would also prevent that, but if it makes for a
> cleaner overall solution then I'm not against considering either one
> of course.
>

With anon_inodes, you can still implement splice_read/splice_write,
so you can splice it into a socket.

Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/