All of lore.kernel.org
 help / color / mirror / Atom feed
* Stack usage
@ 2005-03-22  3:34 Lee Revell
  2005-03-22 10:22 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Lee Revell @ 2005-03-22  3:34 UTC (permalink / raw)
  To: alsa-devel

Andrew Morton made an interesting post on LKML recently and mentioned
that with 4K stacks, 512 bytes is excessive in his opinion.

I ran make checkstack on my 2.6.12-rc1 tree and found some possible ALSA
offenders:

0x0000b186 snd_emu10k1_add_controls:                    588
0x0000b3e2 snd_emu10k1_add_controls:                    588
0x0536 snd_seq_midisynth_register_port:                 564
0x0933 snd_seq_midisynth_register_port:                 564
0x00001af3 snd_iprintf:                                 540
0x00005bd3 snd_verbose_printk:                          540
0x0743 snd_virmidi_dev_attach_seq:                      464
0x00001c33 snd_mixer_oss_build_input:                   464
0x0186 snd_seq_system_client_init:                      436
0x0319 snd_seq_system_client_init:                      436
0x00003bf6 snd_ctl_card_info:                           396
0x00003d30 snd_ctl_card_info:                           396
0x00003ef6 snd_pcm_oss_proc_write:                      376
0x000042fc snd_pcm_oss_proc_write:                      376
0x0000af26 snd_emu10k1_verify_controls:                 368
0x0000b085 snd_emu10k1_verify_controls:                 368
0x0000b586 snd_emu10k1_list_controls:                   316
0x0000b616 snd_emu10k1_list_controls:                   316
0x00001c63 snd_pcm_info_user:                           308
0x000002e4 snd_pcm_proc_info_read:                      300
0x00000431 snd_pcm_proc_info_read:                      300
0x00004113 snd_ctl_elem_info_user:                      296
0x00000e13 snd_rawmidi_info_user:                       288
0x00004c43 snd_ctl_elem_add_user:                       288
0x00001ab6 snd_mixer_oss_build_test:                    284
0x00001b5a snd_mixer_oss_build_test:                    284
0x00000f26 snd_rawmidi_info_select_user:                284
0x00000fb3 snd_rawmidi_info_select_user:                284
0x000026b6 snd_timer_user_ginfo:                        268
0x00002882 snd_timer_user_ginfo:                        268

It looks like snd_emu10k1_add_controls is not too hard to fix, but maybe
I am missing something.

Any interest in addressing this?

Lee



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

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

end of thread, other threads:[~2005-03-22 15:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-22  3:34 Stack usage Lee Revell
2005-03-22 10:22 ` Takashi Iwai
2005-03-22 11:27   ` Takashi Iwai
2005-03-22 11:38     ` Ronny V. Vindenes
2005-03-22 11:43       ` Takashi Iwai
2005-03-22 15:48   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.