aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPavel Machek <[email protected]>2008-11-25 11:05:08 +0000
committerLen Brown <[email protected]>2008-11-26 22:39:06 +0000
commit40599072dca3ec7d4c9ff8271978be169f974638 (patch)
treec7a4f34e547aadb47644f57bb1c96a8ad9c24689 /net/unix/af_unix.c
parentACPI: battery: Convert discharge energy rate to current properly (diff)
downloadkernel-40599072dca3ec7d4c9ff8271978be169f974638.tar.gz
kernel-40599072dca3ec7d4c9ff8271978be169f974638.zip
ACPI: scheduling in atomic via acpi_evaluate_integer ()
Now I know why I had strange "scheduling in atomic" problems: acpi_evaluate_integer() does malloc(..., irqs_disabled() ? GFP_ATOMIC : GFP_KERNEL)... which is (of course) broken. There's no way to reliably tell if we need GFP_ATOMIC or not from code, this one for example fails to detect spinlocks held. Fortunately, allocation seems small enough to be done on stack. Signed-off-by: Pavel Machek <[email protected]> Acked-by: Bob Moore <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions