On Thu, Aug 15, 2013 at 10:41:39AM +0200, Belisko Marek wrote: > Hi, > > On Thu, Aug 15, 2013 at 10:08 AM, Woody Wu <narkewoody@xxxxxxxxx> wrote: > > Hi, > > > > Near the end of kernel startup, there is a message 'Freeing init memory > > ..'. This process on embedded system takes several seconds. After > > searched kernel source, however, I cannot find the same literal text in > > all the .c files. > rgrep 'Freeing' . on kernell source give me a lot of output. I believe > you're looking on arm for that one: > arch/arm/mm/init.c: printk(KERN_INFO "Freeing %s memory: > %dK\n", s, size); Yes, thank you very much! Now I want to disable the 'Freeing' behavior to reduce boot time, is there a kernel config or cmdline option? I am not sure if I can disable CONFIG_HIGHMEM to archive this purpose. > So, I want to know, who was printing this message and > > how can I disable the behavior to save some boot time since I don't care > > losting of several hundreds kilo bytes of memory. > > > > Thanks in advance. > > woody > > > > -- > > I can't go back to yesterday - because I was a different person then > > > > _______________________________________________ > > Kernelnewbies mailing list > > Kernelnewbies@xxxxxxxxxxxxxxxxx > > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > Cheers, > > marek > > -- > as simple and primitive as possible > ------------------------------------------------- > Marek Belisko - OPEN-NANDRA > Freelance Developer > > Ruska Nova Ves 219 | Presov, 08005 Slovak Republic > Tel: +421 915 052 184 > skype: marekwhite > twitter: #opennandra > web: http://open-nandra.com -- I can't go back to yesterday - because I was a different person then _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies