Re: unregistered changes to the user<->kernel API

Andrea Arcangeli
2001-06-14T17:48:27Z

On Thu, Jun 14, 2001 at 10:32:49AM -0700, Richard Henderson wrote:
> within glibc, and (2) making these accesses slower since they
> will be considered O_DIRECT after the change.

and then read/write will return -EINVAL which is life-threatening.
O_DIRECT like rawio via /dev/raw imposes special buffer size and
alignment (size multiple of softblocksize of the fs and softblocksize
alignment, at max I can turn it down to hardblocksize without intensive
changes and guaranteeing zerocopy [modulo bounce buffers on x86 of
course]).

So in short at least glibc would need to be replaced...

Andrea