Hi,,, On Feb 12, 2008 11:40 AM, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote: > Under /proc/sys/kernel there exists a parameters called > kstack_depth_to_print. But I also see that a lot of other files (as listed > below) not using this parameter directly from procfs. > > Am I mistaken in my analysis? > > ./kernel/sysctl.c: > .procname = "kstack_depth_to_print", > .data = &kstack_depth_to_print, > > ./arch/m68k/kernel/traps.c: > static int kstack_depth_to_print = 48; > for (i = 0; i < kstack_depth_to_print; i++) { > > ./arch/m68knommu/kernel/traps.c: > int kstack_depth_to_print = 48; > for (i = 0; i < kstack_depth_to_print; i++) { Hm, if I am not mistaken, declaring something like that is just a matter of initialization, right? It's just make it to enter .data instead of .bss section. Which value that takes effect during the loop, I think, depends on whether the user change that default value or not. Somebody CMIIW... regards, Mulyadi. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ