aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2021-03-04 10:48:26 +0000
committerJan Kara <[email protected]>2021-03-16 15:38:29 +0000
commitb8cd0ee8cda68a888a317991c1e918a8cba1a568 (patch)
tree0f42ff64d788a11932bebc8fd4ce2b7ff11618f4 /lib/dump_stack.c
parentfsnotify: use hash table for faster events merge (diff)
downloadkernel-b8cd0ee8cda68a888a317991c1e918a8cba1a568.tar.gz
kernel-b8cd0ee8cda68a888a317991c1e918a8cba1a568.zip
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/[email protected] Signed-off-by: Amir Goldstein <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions