Re: [PATCH net-next v4 0/9] Introduce support to lazy initializemostly static keys

From: David Miller
Date: Sat Oct 19 2013 - 19:47:06 EST


From: Hannes Frederic Sowa <hannes@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 19 Oct 2013 21:48:50 +0200

> This series implements support for delaying the initialization of secret
> keys, e.g. used for hashing, for as long as possible. This functionality
> is implemented by a new macro, net_get_random_bytes.
>
> I already used it to protect the socket hashes, the syncookie secret
> (most important) and the tcp_fastopen secrets.
>
> Changelog:
> v2) Use static_keys in net_get_random_once to have as minimal impact to
> the fast-path as possible.
> v3) added patch "static_key: WARN on usage before jump_label_init was called":
> Patch "x86/jump_label: expect default_nop if static_key gets enabled
> on boot-up" relaxes the checks for using static_key primitives before
> jump_label_init. So tighten them first.
> v4) Update changelog on the patch "static_key: WARN on usage before
> jump_label_init was called"

Although I was very skeptical about these changes when you first posted
them, I am quite happy with this series now.

Thanks for working on this and not giving up :-)

Series applied, thanks a lot!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/