[PATCH] vmsplice: allow user to pass in gift pages
authorJens Axboe <axboe@suse.de>
Mon, 1 May 2006 18:02:33 +0000 (20:02 +0200)
committerJens Axboe <axboe@suse.de>
Mon, 1 May 2006 18:02:33 +0000 (20:02 +0200)
If SPLICE_F_GIFT is set, the user is basically giving this pages away to
the kernel. That means we can steal them for eg page cache uses instead
of copying it.

The data must be properly page aligned and also a multiple of the page size
in length.

Signed-off-by: Jens Axboe <axboe@suse.de>

No differences found