• Linus Torvalds's avatar
    Revert "ACPI: created a dedicated workqueue for notify() execution" · b976fe19
    Linus Torvalds authored
    This reverts commit 37605a69.
    
    Again.
    
    This same bug has now been introduced twice: it was done earlier by
    commit b8d35192, only to be reverted
    last time in commit 72945b2b.
    
    We must NOT try to queue up notify handlers to another thread than the
    normal ACPI execution thread, because the notifications on some systems
    seem to just keep on accumulating until we run out of memory and/or
    threads.
    
    Keeping events within the one deferred execution thread automatically
    throttles the events properly.
    
    At least the Compaq N620c will lock up completely on the first thermal
    event without this patch reverted.
    
    Cc: David Brownell <david-b@pacbell.net>
    Cc: Len Brown <len.brown@intel.com>
    Cc: Alexey Starikovskiy <alexey.y.starikovskiy@linux.intel.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    b976fe19
osl.c 25 KB