> On May 31, 2020, at 1:33 AM, Rin Okuyama <r...@netbsd.org> wrote: > > db_show_callout(): struct callout_cpu and cpu_info are too much for stack. > > XXX > DDB can be running in the interrupt context, e.g., when activated from > console. Therefore, use kmem_intr_alloc(9) instead of kmem_alloc(9). > > Frame size, e.g. for m68k, becomes: > 9212 (oops!) --> 0 > I'm not sure we want to be calling memory allocators from within ddb. I think it would be better to simply allocate that space in the .bss segment -- ddb only runs on 1 CPU at a time. -- thorpej
- Re: CVS commit: src/sys/kern Andrew Doran
- Re: CVS commit: src/sys/kern Maxime Villard
- Re: CVS commit: src/sys/kern Roy Marples
- Re: CVS commit: src/sys/kern Andrew Doran
- Re: CVS commit: src/sys/kern Roy Marples
- Re: CVS commit: src/sys/kern Andrew Doran
- Re: CVS commit: src/sys/kern Jason Thorpe
- Re: CVS commit: src/sys/kern Kamil Rytarowski
- Re: CVS commit: src/sys/kern Michael van Elst
- Re: CVS commit: src/sys/kern Kamil Rytarowski
- Re: CVS commit: src/sys/kern Jason Thorpe
- re: CVS commit: src/sys/kern matthew green
- Re: CVS commit: src/sys/kern Joerg Sonnenberger
- Re: CVS commit: src/sys/kern Rin Okuyama
- Re: CVS commit: src/sys/kern Taylor R Campbell
- Re: CVS commit: src/sys/kern Jaromír Doleček
- Re: CVS commit: src/sys/kern Taylor R Campbell
- Re: CVS commit: src/sys/kern Kamil Rytarowski
- Re: CVS commit: src/sys/kern Paul Goyette
- Re: CVS commit: src/sys/kern Kamil Rytarowski
- Re: CVS commit: src/sys/kern Taylor R Campbell