Re: Where does the linux kernel put local variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Dave
>
> If you look at the linker script file for the kernel
> http://lxr.free-electrons.com/source/arch/arm/kernel/vmlinux.lds.S#L244
> , you'll see that INIT_TASK_DATA (which includes the kernel stack) is
> between _data and _edata. This is the stack used for kernel booting and
> then taken over by the init task.

Thanks for your advice ,after read 
http://lxr.free-electrons.com/source/arch/arm/kernel/head-common.S#L122, 
I'v got my answer.
-- 
Rock Lee

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux