lkml.org 
[lkml]   [2001]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectbug in 2.4.9 - ACPI driver
Hi,

I just traced down a bug in the acpi driver.
I have a toshiba 2805-S402 laptop and I just
got a bug crash.

The interrupt handler in drivers/acpi/ospm/ec/ecgpe.c: ec_gpe_handler
calls acpi_os_queue_for_execution
in drivers/acpi/os.c which calls acpi_os_callocate
which eventually calls kmalloc with the GFP_KERNEL flag.
This of course should not be called like this in an
interrupt handler!

I currently changed the allocate to use the GFP_ATOMIC instead,
but this acpi_os_callocate and acpi_os_allocate are used
else where, and I don't think this is a proper fix.
there probably should be some sort of acpi_os_allocate_int
and acpi_os_callocate_int for interrupts to use, but
I'm not familiar enough with this driver to know what
to touch.

cheers,

-- Steve.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:02    [W:0.024 / U:0.140 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site