Re: [PATCH][RFC] splice support
From: Jan Engelhardt
Date: Thu Mar 30 2006 - 02:59:31 EST
>> OK.. Do you plan to make it reject unrecognised flags?
>
>Depends, not sure if eg a 'move' flag should be a hard or soft
>indication. Say we can't move a page and the caller asked us to migrate,
>we'd probably just do the sane thing and copy that one page. It would be
>silly to fail that request entirely.
>
Another bit in the flags:
enum {
SPLICE_COPY = 1 << 0,
SPLICE_MOVE = 1 << 1,
SPLICE_MOVEORCOPY = 1 << 2, // fallback to copy if move fails
};
Jan Engelhardt
--
-
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/