From: "HAGIO KAZUHITO(萩尾 一仁)" <k-hagio-ab@nec.com>
To: Tao Liu <ltao@redhat.com>,
"sourabhjain@linux.ibm.com" <sourabhjain@linux.ibm.com>
Cc: "YAMAZAKI MASAMITSU(山崎 真光)" <yamazaki-msmt@nec.com>,
"kexec@lists.infradead.org" <kexec@lists.infradead.org>
Subject: Re: [PATCH v2][makedumpfile] Fix a data race in multi-threading mode (--num-threads=N)
Date: Wed, 2 Jul 2025 06:02:56 +0000 [thread overview]
Message-ID: <29488c31-41a4-4dee-b768-9f8c49deeea6@nec.com> (raw)
In-Reply-To: <CAO7dBbW=zX15-LDE71qYMJKmm=EF-VANJ3YtK+8n92yrSOS3pA@mail.gmail.com>
Hi Tao, Sourabh,
>> thank you for testing! sorry one more thing,
>> does --num-threads=1 break the vmcore?
>
> Yes:
Thank you for testing and information, certainly the race occurs between
the main and sub-thread, I will check the code again. If you could
determine how it breaks the vmcore, please let me know. It will be
better to add the scenario to the commit log.
Thanks,
Kazu
>
> [root@ibm-p10-01-lp45 makedumpfile]# ./makedumpfile -d 31 -l ~/vmcore /tmp/out7
> Copying data : [100.0 %] /
> eta: 0s
>
> The dumpfile is saved to /tmp/out7.
>
> makedumpfile Completed.
> [root@ibm-p10-01-lp45 makedumpfile]# ./makedumpfile --num-threads=1 -d
> 31 -l ~/vmcore /tmp/out8
> Copying data : [100.0 %] -
> eta: 0s
> Copying data : [100.0 %] /
> eta: 0s
>
> The dumpfile is saved to /tmp/out8.
>
> makedumpfile Completed.
> [root@ibm-p10-01-lp45 makedumpfile]# cmp /tmp/out7 /tmp/out8
> /tmp/out7 /tmp/out8 differ: byte 11119019, line 49418
>
>>
>> Thanks,
>> Kazu
>
next prev parent reply other threads:[~2025-07-02 6:03 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-25 2:23 [PATCH v2][makedumpfile] Fix a data race in multi-threading mode (--num-threads=N) Tao Liu
2025-07-01 7:38 ` HAGIO KAZUHITO(萩尾 一仁)
2025-07-01 7:59 ` Tao Liu
2025-07-02 0:13 ` HAGIO KAZUHITO(萩尾 一仁)
2025-07-02 4:36 ` Tao Liu
2025-07-02 4:52 ` HAGIO KAZUHITO(萩尾 一仁)
2025-07-02 5:03 ` Tao Liu
2025-07-02 6:02 ` HAGIO KAZUHITO(萩尾 一仁) [this message]
2025-07-02 5:03 ` Sourabh Jain
2025-07-03 14:31 ` Petr Tesarik
2025-07-03 22:35 ` Tao Liu
2025-07-04 6:49 ` HAGIO KAZUHITO(萩尾 一仁)
2025-07-04 7:51 ` Tao Liu
2025-07-10 5:34 ` Tao Liu
2025-07-11 12:08 ` YAMAZAKI MASAMITSU(山崎 真光)
2025-07-13 23:37 ` Tao Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=29488c31-41a4-4dee-b768-9f8c49deeea6@nec.com \
--to=k-hagio-ab@nec.com \
--cc=kexec@lists.infradead.org \
--cc=ltao@redhat.com \
--cc=sourabhjain@linux.ibm.com \
--cc=yamazaki-msmt@nec.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox