OpenCloudOS-Kernel/fs/notify/inotify
Amir Goldstein 94e00d28a6 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>
2021-03-16 16:37:51 +01:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
inotify.h inotify: convert to handle_inode_event() interface 2020-12-03 15:41:29 +01:00
inotify_fsnotify.c fsnotify: use hash table for faster events merge 2021-03-16 16:37:51 +01:00
inotify_user.c fanotify: reduce event objectid to 29-bit hash 2021-03-16 16:14:28 +01:00