• Pierre Ossman's avatar
    [PATCH] mmc: use own work queue · 7104e2d5
    Pierre Ossman authored
    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: default avatarPierre Ossman <drzeus@drzeus.cx>
    Cc: Russell King <rmk@arm.linux.org.uk>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    7104e2d5
mmc_sysfs.c 8.4 KB