• P
    [PATCH] mmc: use own work queue · 7104e2d5
    Pierre Ossman 提交于
    The MMC layer uses the standard work queue for doing card detection.  As this
    queue is shared with other crucial subsystems, the effects of a long (and
    perhaps buggy) detection can cause the system to be unusable.  E.g.  the
    keyboard stops working while the detection routine is running.
    
    The solution is to add a specific mmc work queue to run the detection code in.
    This is similar to how other subsystems handle detection (a full kernel
    thread is the most common theme).
    Signed-off-by: NPierre Ossman <drzeus@drzeus.cx>
    Cc: Russell King <rmk@arm.linux.org.uk>
    Signed-off-by: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    7104e2d5
mmc.c 30.6 KB