Re: [PATCH RESEND 2/2] Fix some kallsyms_lookup() vs rmmod races

From: Andrew Morton
Date: Fri Mar 16 2007 - 14:16:35 EST


On Fri, 16 Mar 2007 17:16:39 +0000 Paulo Marques <pmarques@xxxxxxxxxxxx> wrote:

> Does freeze_processes() / unfreeze_processes() solve this by only
> freezing processes that have voluntarily scheduled (opposed to just
> being preempted)?

It goes much much further than that. Those processes need to actually
perform an explicit call to try_to_freeze().
-
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/