Revert "ACPI: created a dedicated workqueue for notify() execution"
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 <firstname.lastname@example.org> Cc: Len Brown <email@example.com> Cc: Alexey Starikovskiy <firstname.lastname@example.org> Signed-off-by: Linus Torvalds <email@example.com>
Showing with 21 additions and 13 deletions