On Tue, 2006-03-21 at 11:23 +0800, Yu, Luming wrote: > >>> > Anyway, skipping kernel text should be safe, isn't it? > >>> > >>> It probably is. But you need to save modules. > >>I just consider the region from kernel start(1M) to the end of rodata. > >>In my test, the region is about 4M memory. Just adding > >several lines to > >>save 4M memory is worthy. > > > >Why it is safe? :-) If you think BIOS as a black box, and don't know > >how BIOS works, > >then, you have to save them for safety concern. > > > s/BIOS/Modules/ As I said, I just consider the region from kernel start to the end of rodata (get from the link script). modules should be saved/restored as normal. Thanks, Shaohua