On Thu, Aug 16, 2012 at 12:39 PM, Amarnath Revanna
amarnath.reva...@gmail.com wrote:
Just want to add a little more for better understanding:
When I spoke about .init section of the final kernel image, please note that
this section is going to
contain all the __init data (and functions)
To be more precise, all the content of the .init section will be freed at
the end of the boot. (see vmlinux.lds.S)
This is done by the function free_initmem() which is an architecture
specific function defined in linux-*/arch/arch/mm/init.c.
This function frees the memory between the symbols
sorry for the wrong manipulation
(resume of the previous mail)
As explained before, the symbols and functions defined with __init are only
used during boot initialization.
Thez will never be used again.
So The entire .init section is freed, and this freed memory will become
available memory pages
Hi,
On Tue, Aug 14, 2012 at 9:34 AM, Mulyadi Santosa
mulyadi.sant...@gmail.com wrote:
Hi.. :)
On Tue, Aug 14, 2012 at 9:14 AM, 王哲 wangzhe5...@gmail.com wrote:
i use the __init for function print_k.
in my opinion after the fisrt invoking the print_k in the hello_init.
the memory of print_k
Hi Ezequiel,
On Thu, Aug 16, 2012 at 10:53 PM, Ezequiel Garcia elezegar...@gmail.comwrote:
Hi Amar,
On Thu, Aug 16, 2012 at 1:08 PM, Amarnath Revanna
amarnath.reva...@gmail.com wrote:
On the other hand, any other kernel module that you load using insmod or
modprobe comes after this
Just want to add a little more for better understanding:
When I spoke about .init section of the final kernel image, please note
that this section is going to
contain all the __init data (and functions) coming from _All_ the drivers
and modules that were included
as part of the kernel image.
Hey Amar,
On Thu, Aug 16, 2012 at 3:39 PM, Amarnath Revanna
amarnath.reva...@gmail.com wrote:
Just want to add a little more for better understanding:
When I spoke about .init section of the final kernel image, please note that
this section is going to
contain all the __init data (and
On Fri, Aug 17, 2012 at 12:19 AM, Ezequiel Garcia elezegar...@gmail.comwrote:
Hey Amar,
On Thu, Aug 16, 2012 at 3:39 PM, Amarnath Revanna
amarnath.reva...@gmail.com wrote:
Just want to add a little more for better understanding:
When I spoke about .init section of the final kernel
Hey wanny,
On Tue, Aug 14, 2012 at 1:04 AM, Mulyadi Santosa
mulyadi.sant...@gmail.com wrote:
Hi.. :)
On Tue, Aug 14, 2012 at 9:14 AM, 王哲 wangzhe5...@gmail.com wrote:
i use the __init for function print_k.
in my opinion after the fisrt invoking the print_k in the hello_init.
the memory of
2012/8/14 Ezequiel Garcia elezegar...@gmail.com
Hey wanny,
On Tue, Aug 14, 2012 at 1:04 AM, Mulyadi Santosa
mulyadi.sant...@gmail.com wrote:
Hi.. :)
On Tue, Aug 14, 2012 at 9:14 AM, 王哲 wangzhe5...@gmail.com wrote:
i use the __init for function print_k.
in my opinion after the fisrt
On Tue, Aug 14, 2012 at 8:46 AM, 王哲 wangzhe5...@gmail.com wrote:
2012/8/14 Ezequiel Garcia elezegar...@gmail.com
Hey wanny,
On Tue, Aug 14, 2012 at 1:04 AM, Mulyadi Santosa
mulyadi.sant...@gmail.com wrote:
Hi.. :)
On Tue, Aug 14, 2012 at 9:14 AM, 王哲 wangzhe5...@gmail.com wrote:
i
Hi.. :)
On Tue, Aug 14, 2012 at 9:14 AM, 王哲 wangzhe5...@gmail.com wrote:
i use the __init for function print_k.
in my opinion after the fisrt invoking the print_k in the hello_init.
the memory of print_k will be freed,and the second invoking will
not be executed.but the result of second
12 matches
Mail list logo