[PATCH] security: convert security hooks to use hlist

Sargun Dhillon sargun at sargun.me
Mon Mar 26 19:31:25 UTC 2018

On Sun, Mar 25, 2018 at 2:25 PM, James Morris <jmorris at namei.org> wrote:
> On Sun, 25 Mar 2018, Sargun Dhillon wrote:
>> This changes security_hook_heads to use hlist_heads instead of
>> the circular doubly-linked list heads. This should cut down
>> the size of the struct by about half.
> Can you please measure it?
At least for my kernel config, 1656 bytes vs. 3280 bytes.

> --
> James Morris
> <jmorris at namei.org>
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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