lkml.org 
[lkml]   [2006]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][RFC] splice support
>> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-30 10:05    [W:0.069 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site