[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-keyrings
Subject: Re: [RFC PATCH 11/10] pipe: Add fsync() support [ver #2]
From: David Howells <dhowells () redhat ! com>
Date: 2019-10-31 15:15:53
Message-ID: 17311.1572534953 () warthog ! procyon ! org ! uk
[Download RAW message or body]
Konstantin Khlebnikov <khlebnikov@yandex-team.ru> wrote:
> Similar synchronization is required for reusing memory after vmsplice()?
> I don't see other way how sender could safely change these pages.
Sounds like a point - if you have multiple parallel contributors to the pip=
e
via vmsplice(), then FIONREAD is of no use. To use use FIONREAD, you have =
to
let the pipe become empty before you can be sure.
David
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic