Re: [PATCH v2 10/16] fanotify: add a helper to check for pre content events

Christian Brauner
2024-08-09T12:11:02Z

On Thu, Aug 08, 2024 at 03:27:12PM GMT, Josef Bacik wrote:
> We want to emit events during page fault, and calling into fanotify
> could be expensive, so add a helper to allow us to skip calling into
> fanotify from page fault. This will also be used to disable readahead
> for content watched files which will be handled in a subsequent patch.
>
> Signed-off-by: Josef Bacik <josef@toxicpanda.com>
> ---

Reviewed-by: Christian Brauner <brauner@kernel.org>