Re: [PATCH] protect remove_proc_entry

From: Daniel Walker
Date: Fri Dec 30 2005 - 16:33:20 EST


On Fri, 2005-12-30 at 16:28 -0500, Steven Rostedt wrote:

> + spin_lock_irqsave(&remove_proc_lock, flags);
...
> + spin_unlock_irqrestore(&remove_proc_lock, flags);

Why do an irqsave here? Are you not sure what context it gets called
from?

Daniel

-
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/