Re: [PATCH] shm: fix a race between shm_exit() and shm_init()

Thadeu Lima de Souza Cascardo
2011-08-03T13:13:37Z

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

As Marc Zyngier has pointed out, the culprit is driver_init, which
calls devices_init. I'd say other calls from driver_init also call into
kset and kobject, which will dispatch uevent helper.

I tried to reproduce the problem using UML and only was successful after
setting CONFIG_UEVENT_HELPER_PATH. I guess we could obsolete this
feature and plan its removal soon. Is anybody still using this?

Regards,
Cascardo.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]