[makedumpfile PATCH v2] Wipe excluded pages that are written into ELF dump file

Atsushi Kumagai ats-kumagai at wm.jp.nec.com
Sun Jan 28 20:51:22 PST 2018


Hello Eric,

>On 08/07/2017 07:25 PM, Atsushi Kumagai wrote:
>> Hello Eric,
>>
>> Thanks for your work, this version looks good to me.
>> I'll merge this into v1.6.3.
>>
>> Regards,
>> Atsushi Kumagai
>
>Thank you!
>eric

I noticed that wiping zero pages seems to cause different behavior
of crash like:

[kmem -i]
-    SWAP USED        1         4 KB    0% of TOTAL SWAP
-    SWAP FREE   489979       1.9 GB   99% of TOTAL SWAP
+    SWAP USED   229886       898 MB   46% of TOTAL SWAP  // wiped page is counted as SWAP USED ?
+    SWAP FREE   260094      1016 MB   53% of TOTAL SWAP

I don't investigate the details yet, but I decided to slip this
feature to v1.6.4.

Thanks,
Atsushi Kumagai




More information about the kexec mailing list