The patch titled proc: less LOCK/UNLOCK in remove_proc_entry() has been removed from the -mm tree. Its filename was proc-less-lock-unlock-in-remove_proc_entry.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: proc: less LOCK/UNLOCK in remove_proc_entry() From: Alexey Dobriyan <adobriyan@xxxxxxxxx> For the common case where a proc entry is being removed and nobody is in the process of using it, save a LOCK/UNLOCK pair. Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/proc/generic.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff -puN fs/proc/generic.c~proc-less-lock-unlock-in-remove_proc_entry fs/proc/generic.c --- a/fs/proc/generic.c~proc-less-lock-unlock-in-remove_proc_entry +++ a/fs/proc/generic.c @@ -826,12 +826,9 @@ void remove_proc_entry(const char *name, wait_for_completion(de->pde_unload_completion); - goto continue_removing; + spin_lock(&de->pde_unload_lock); } - spin_unlock(&de->pde_unload_lock); -continue_removing: - spin_lock(&de->pde_unload_lock); while (!list_empty(&de->pde_openers)) { struct pde_opener *pdeo; _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are origin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html