diff options
author | Amir Goldstein <amir73il@gmail.com> | 2021-03-04 12:48:26 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2021-03-16 16:38:29 +0100 |
commit | b8cd0ee8cda68a888a317991c1e918a8cba1a568 (patch) | |
tree | 0f42ff64d788a11932bebc8fd4ce2b7ff11618f4 /Makefile | |
parent | 94e00d28a680dff18805ca472b191364347d2234 (diff) | |
download | linux-next-b8cd0ee8cda68a888a317991c1e918a8cba1a568.tar.gz |
fanotify: limit number of event merge attempts
Event merges are expensive when event queue size is large, so limit the
linear search to 128 merge tests.
In combination with 128 size hash table, there is a potential to merge
with up to 16K events in the hashed queue.
Link: https://lore.kernel.org/r/20210304104826.3993892-6-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions