summaryrefslogtreecommitdiff
path: root/include/linux/fanotify.h
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2021-03-04 12:48:25 +0200
committerJan Kara <jack@suse.cz>2021-03-16 16:37:51 +0100
commit94e00d28a680dff18805ca472b191364347d2234 (patch)
treed1b50fca5c1d57faf50a0a387552385dde90975f /include/linux/fanotify.h
parent7e3e5c6943994943eb76cab2d3a1806bc10b9045 (diff)
fsnotify: use hash table for faster events merge
In order to improve event merge performance, hash events in a 128 size hash table by the event merge key. The fanotify_event size grows by two pointers, but we just reduced its size by removing the objectid member, so overall its size is increased by one pointer. Permission events and overflow event are not merged so they are also not hashed. Link: https://lore.kernel.org/r/20210304104826.3993892-5-amir73il@gmail.com Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'include/linux/fanotify.h')
0 files changed, 0 insertions, 0 deletions