vendredi 11 septembre 2015

Linux Kernel Generic Netlink - Is it concurrent?

Say that i have registered a generic netlink interface using genl_register_family_with_ops with multiple callbacks.

I don't see any warnings about it and I assume the callbacks are serially called but there is no information about how the callbacks are called neither.

Is it possible that multiple callbacks are called concurrently on the same generic netlink interface I have registered? Do I need any synchronization between the callbacks?

To make the question simpler:

Can a single netlink callback be preempted or concurrently run in two cores?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire