[PATCH 09/11] hash-bl: explicitly initialise hash-bl heads

Al Viro viro at zeniv.linux.org.uk
Thu Dec 7 03:15:13 UTC 2023


On Wed, Dec 06, 2023 at 05:05:38PM +1100, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> Because we are going to change how the structure is laid out to
> support RTPREEMPT and LOCKDEP, just assuming that the hash table is
> allocated as zeroed memory is no longer sufficient to initialise
> a hash-bl table.

static inline void init_bl_hash(struct hlist_bl *table, int shift)?



More information about the Linux-security-module-archive mailing list