Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 087efdd3 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

[GFS2] Make glock hash locks proportional to NR_CPUS



Make the number of locks used for hash chains in glock.c
proportional to NR_CPUS. Also move constants for the number
of hash chains into glock.c from incore.h since they are
not used outside of glock.c.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent ff6af411
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment