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

From: Thadeu Lima de Souza Cascardo
Date: Wed Aug 03 2011 - 09:13:38 EST


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: signature.asc
Description: Digital signature