[RFC PATCH 11/10] pipe: Add fsync() support [ver #2]

David Howells dhowells at redhat.com
Sat Nov 2 19:34:32 UTC 2019


Linus Torvalds <torvalds at linux-foundation.org> wrote:

> > > Similar synchronization is required for reusing memory after vmsplice()?
> > > I don't see other way how sender could safely change these pages.

Actually, it's probably worse than that.  If the output of the pipe gets teed
or spliced somewhere else, you still don't know when the vmspliced pages are
finished with.

David




More information about the Linux-security-module-archive mailing list