kernel_samsung_a53x/fs/notify
Amir Goldstein 34fadebe91 fanotify: limit number of event merge attempts
[ Upstream commit b8cd0ee8cda68a888a317991c1e918a8cba1a568 ]

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>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:37 +01:00
..
dnotify file: Rename fcheck lookup_fd_rcu 2024-11-19 12:27:27 +01:00
fanotify fanotify: limit number of event merge attempts 2024-11-19 12:27:37 +01:00
inotify fsnotify: use hash table for faster events merge 2024-11-19 12:27:36 +01:00
fdinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fdinfo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsnotify.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsnotify.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
group.c inotify, memcg: account inotify instances to kmemcg 2024-11-19 12:27:32 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mark.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
notification.c fsnotify: use hash table for faster events merge 2024-11-19 12:27:36 +01:00