From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Stack usage Date: Tue, 22 Mar 2005 16:48:37 +0100 Message-ID: References: <1111462442.3058.4.camel@mindpipe> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Lee Revell Cc: alsa-devel List-Id: alsa-devel@alsa-project.org At Tue, 22 Mar 2005 11:22:47 +0100, I wrote: > > I'll take a look. > > Most of the above will be solved easily by the use of kmalloc, I > guess. The above are all initialization or ioctls, so no > time-critical routines. Most of them are fixed now on CVS. Still the following take more than 256 bytes: 0x00006f3b cs46xx_dsp_async_init: 296 0x0000734e cs46xx_dsp_async_init: 296 0x00007390 cs46xx_dsp_async_init: 296 0x00000af0 mixart_set_format: 292 0x00000ba1 mixart_set_format: 292 0x000014a4 snd_trident_synth_new_device: 288 0x0000160e snd_trident_synth_new_device: 288 0x00000f30 snd_rawmidi_info_select_user: 288 0x00000fd2 snd_rawmidi_info_select_user: 288 0x00004780 snd_ctl_elem_info_user: 284 0x000047f3 snd_ctl_elem_info_user: 284 0x00005160 snd_ctl_elem_add_user: 284 0x000051b8 snd_ctl_elem_add_user: 284 0x00000e40 snd_rawmidi_info_user: 280 0x00000e87 snd_rawmidi_info_user: 280 0x000035d6 snd_gus_dram_poke: 268 0x00003675 snd_gus_dram_poke: 268 0x000036f6 snd_gus_dram_peek: 268 0x0000381f snd_gus_dram_peek: 268 0x0189 snd_opl4_seq_new_device: 268 0x02ce snd_opl4_seq_new_device: 268 0x02ec snd_opl4_seq_new_device: 268 0x0000 create_port: 260 0x014a create_port: 260 cs46xx_dsp_async_init is a bit nasty because this is the non-static struct initialization... Takashi ------------------------------------------------------- This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click