LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Re: keventd takes 99% of CPU when laptop lid is closed
       [not found] <A6974D8E5F98D511BB910002A50A6647615FB5D0@hdsmsx403.hd.intel.com>
@ 2004-05-15  1:22 ` Len Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Len Brown @ 2004-05-15  1:22 UTC (permalink / raw)
  To: Antille Julien; +Cc: Andrew Morton, linux-kernel

On Fri, 2004-05-14 at 03:29, Antille Julien wrote:

> > Antille Julien <julien.antille@eivd.ch> wrote:
> > > On 2.4.26, 2.6.5 and 2.6.6, the kernel process keventd takes 99%
> of CPU
> > > when my laptop's lid is closed. It comes back to normal when I
> open it
> > > again. Laptop is a DELL Inspirion 2650.
> > >
> > > This problem did not occure with <=2.4.25 or <= 2.6.4
> >

I expect this is related to the broken state of GPE's.
Bob just completed his GPE re-write -- I'll have it
in the testing tree shortly and hopefully you'll
be able to test it out for us when it hits -mm.

thanks,
-Len



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: keventd takes 99% of CPU when laptop lid is closed
  2004-05-14  2:08 ` Andrew Morton
@ 2004-05-14  7:29   ` Antille Julien
  0 siblings, 0 replies; 4+ messages in thread
From: Antille Julien @ 2004-05-14  7:29 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel


Here is the ouput I get from the command you requested me to do:

c02064a8 acpi_ut_update_object_reference               5   0,0095
c0137e10 kmalloc                                       6   0,0163
c01f48d7 acpi_ds_result_pop                            6   0,0769
c01f9ab3 acpi_ex_name_segment                          6   0,0455
c01fec80 acpi_ns_search_and_enter                      6   0,0234
c01ff4b4 acpi_ns_walk_namespace                        6   0,0246
c0207994 acpi_ut_create_update_state_and_push          6   0,1200
c01f3d7d acpi_ds_exec_end_op                           7   0,0113
c0200855 acpi_ps_next_parse_state                      7   0,0355
c02013eb acpi_ps_pop_scope                             8   0,0800
c01f3c6d acpi_ds_exec_begin_op                         9   0,0331
c01f4b86 acpi_ds_create_walk_state                     9   0,0818
c0201857 acpi_ps_delete_parse_tree                     9   0,0621
c0207542 acpi_ut_valid_acpi_name                       9   0,1915
c01fdb18 acpi_ns_lookup                               10   0,0134
c02006f0 acpi_ps_complete_this_op                     10   0,0280
c02014b7 acpi_ps_append_arg                           10   0,0787
c01fbac2 acpi_ex_resolve_operands                     11   0,0139
c020173c acpi_ps_get_next_walk_op                     11   0,0417
c0200500 acpi_ps_get_next_arg                         14   0,0368
c01f2884 acpi_ds_method_data_init                     15   0,1402
c020067c acpi_ps_get_opcode_info                      17   0,2576
c01febe0 acpi_ns_search_node                          18   0,2727
c01f1a97 acpi_os_get_thread_id                        21   0,6000
c01ff439 acpi_ns_get_parent_node                      22   0,7586
c020091a acpi_ps_parse_loop                           44   0,0205
c01ff456 acpi_ns_get_next_valid_node                  48   2,6667
c0207928 acpi_ut_release_mutex                        53   0,4907
c010ac60 handle_IRQ_event                             72   0,4091
c01f153e acpi_os_write_port                           72   1,0909
c020585a acpi_ut_acquire_from_cache                   75   0,4601
c02057d0 acpi_ut_release_to_cache                     76   0,5507
c02078b6 acpi_ut_acquire_mutex                        95   0,8333
c01ff468 acpi_ns_get_next_node                       108   1,4211
c01fe00e acpi_ns_delete_namespace_by_owner           127   0,8038
c01f14ef acpi_os_read_port                           167   2,1139
c01f1985 acpi_os_wait_semaphore                      202   0,9395
c01f1a5c acpi_os_signal_semaphore                    254   5,7727
c020c4d3 acpi_processor_idle                        1205   2,5262
00000000 total                                      3042   0,0014

I hope that helps.

Julien Antille

On Friday 14 May 2004 04.08, Andrew Morton wrote:
> Antille Julien <julien.antille@eivd.ch> wrote:
> > On 2.4.26, 2.6.5 and 2.6.6, the kernel process keventd takes 99% of CPU
> > when my laptop's lid is closed. It comes back to normal when I open it
> > again. Laptop is a DELL Inspirion 2650.
> >
> > This problem did not occure with <=2.4.25 or <= 2.6.4
>
> Can you please generate a kernel profile?
>
> Boot with the "profile=1" kernel command line option.
>
> sudo readprofile -r
> <close lid>
> <wait 30 seconds>
> <open lid>
> sudo readprofile -n -v -m /wherever/System.map | sort -n +2 | tail -40 >
> foo
>
> And send us foo?
>
> Make sure that you use the System.map which corresponds to the
> currently-running kernel.
>
> Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: keventd takes 99% of CPU when laptop lid is closed
  2004-05-13 18:26 Antille Julien
@ 2004-05-14  2:08 ` Andrew Morton
  2004-05-14  7:29   ` Antille Julien
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2004-05-14  2:08 UTC (permalink / raw)
  To: Antille Julien; +Cc: linux-kernel

Antille Julien <julien.antille@eivd.ch> wrote:
>
> On 2.4.26, 2.6.5 and 2.6.6, the kernel process keventd takes 99% of CPU when 
> my laptop's lid is closed. It comes back to normal when I open it again.
> Laptop is a DELL Inspirion 2650.
> 
> This problem did not occure with <=2.4.25 or <= 2.6.4
> 

Can you please generate a kernel profile?

Boot with the "profile=1" kernel command line option.

sudo readprofile -r
<close lid>
<wait 30 seconds>
<open lid>
sudo readprofile -n -v -m /wherever/System.map | sort -n +2 | tail -40 > foo

And send us foo?

Make sure that you use the System.map which corresponds to the
currently-running kernel.

Thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* keventd takes 99% of CPU when laptop lid is closed
@ 2004-05-13 18:26 Antille Julien
  2004-05-14  2:08 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Antille Julien @ 2004-05-13 18:26 UTC (permalink / raw)
  To: linux-kernel

On 2.4.26, 2.6.5 and 2.6.6, the kernel process keventd takes 99% of CPU when 
my laptop's lid is closed. It comes back to normal when I open it again.
Laptop is a DELL Inspirion 2650.

This problem did not occure with <=2.4.25 or <= 2.6.4

Any clue ?

Julien Antille

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-15  1:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <A6974D8E5F98D511BB910002A50A6647615FB5D0@hdsmsx403.hd.intel.com>
2004-05-15  1:22 ` keventd takes 99% of CPU when laptop lid is closed Len Brown
2004-05-13 18:26 Antille Julien
2004-05-14  2:08 ` Andrew Morton
2004-05-14  7:29   ` Antille Julien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).