>> >>> 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. I'm not sure if this a real case, but I'm sure in this case kernel text needs to be saved too if the kernel has been patched with binary patch at run-time. Thanks, Luming