All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] 回复:Re: Re:  [PATCH] fix cpuhotplug04 check last cpu error
@ 2021-06-28  3:57 gouhao
  2021-06-28  4:27 ` [LTP] " Li Wang
  0 siblings, 1 reply; 4+ messages in thread
From: gouhao @ 2021-06-28  3:57 UTC (permalink / raw
  To: ltp

An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210628/2ca7fbfc/attachment-0001.htm>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LTP] [PATCH] fix cpuhotplug04 check last cpu error
  2021-06-28  3:57 [LTP] 回复:Re: Re: [PATCH] fix cpuhotplug04 check last cpu error gouhao
@ 2021-06-28  4:27 ` Li Wang
  2021-06-30  8:16   ` [LTP] [PATCH] fix cpuhotplug04 check last cpu error【Suspected phishing email, please pay attention to password security】 =?unknown-8bit?b?6Iuf5rWp?=
  0 siblings, 1 reply; 4+ messages in thread
From: Li Wang @ 2021-06-28  4:27 UTC (permalink / raw
  To: ltp

On Mon, Jun 28, 2021 at 11:58 AM <gouhao@uniontech.com> wrote:

> This change makes sense.
>
> On my computer, the last CPU can't be offline, which causes the execution
> of this testcase to fail.
>

But the CPU0 on your system will always online, so the last one should be
offline safely.
If it not, that might a kernel issue I guess.

>
> However, the testcase makes special treatment to the last CPU. If the last
> CPU cannot be offline, the execution result of the testcase should not be
> affected.
>

Yes, but from cpuhotplug04.sh comment line#84:

# If all the CPUs are hotpluggable, we expect
# that the kernel will refuse to offline the last CPU.
# If only some of the CPUs are hotpluggable,
# they all can be offlined.

How do you think of this description? In your system, it obviously belongs
to
the second scenario that the cpu0 is online and you should be able to
offline
all the remaining hotplugged one, isn't it?

>
> Therefore, if cpu0 does not have an online file, it will lead to an error
> in the judgment of the last CPU.
>

If cpu0 does not have an online file, that means the last CPU (hotplugged)
can be offline as well.
To verify this assumption, you can try manually offline CPU one by one,
this time I suggest you
try the last one first.

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210628/2b93ddcf/attachment.htm>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LTP]  [PATCH] fix cpuhotplug04 check last cpu error【Suspected phishing email, please pay attention to password security】
  2021-06-28  4:27 ` [LTP] " Li Wang
@ 2021-06-30  8:16   ` =?unknown-8bit?b?6Iuf5rWp?=
  2021-06-30  8:30     ` Li Wang
  0 siblings, 1 reply; 4+ messages in thread
From: =?unknown-8bit?b?6Iuf5rWp?= @ 2021-06-30  8:16 UTC (permalink / raw
  To: ltp

An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210630/b36b571a/attachment-0001.htm>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [LTP]  [PATCH] fix cpuhotplug04 check last cpu error【Suspected phishing email, please pay attention to password security】
  2021-06-30  8:16   ` [LTP] [PATCH] fix cpuhotplug04 check last cpu error【Suspected phishing email, please pay attention to password security】 =?unknown-8bit?b?6Iuf5rWp?=
@ 2021-06-30  8:30     ` Li Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Li Wang @ 2021-06-30  8:30 UTC (permalink / raw
  To: ltp

Hi Hao,

On Wed, Jun 30, 2021 at 4:16 PM ?? <gouhao@uniontech.com> wrote:

>
>
> Hi LiWang:
>
>
> you are right.
>
>
> I asked the CPU manufacturers and tried several kernel, which should be
> the problem of the kernel.
>
>
> I don't understand the code right.
>
>
> Thank you very much.
>

You're welcome, and no one can always right,
just like Petr said: we are all learning.

-- 
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210630/e2d6773b/attachment.htm>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-30  8:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-28  3:57 [LTP] 回复:Re: Re: [PATCH] fix cpuhotplug04 check last cpu error gouhao
2021-06-28  4:27 ` [LTP] " Li Wang
2021-06-30  8:16   ` [LTP] [PATCH] fix cpuhotplug04 check last cpu error【Suspected phishing email, please pay attention to password security】 =?unknown-8bit?b?6Iuf5rWp?=
2021-06-30  8:30     ` Li Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.