From: Christian Borntraeger <borntraeger@linux.ibm.com>
To: peterz@infradead.org
Cc: bigeasy@linutronix.de, dietmar.eggemann@arm.com,
ebiederm@xmission.com, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org, mgorman@suse.de, mingo@kernel.org,
oleg@redhat.com, rjw@rjwysocki.net, rostedt@goodmis.org,
tj@kernel.org, vincent.guittot@linaro.org, will@kernel.org,
Marc Hartmayer <mhartmay@linux.ibm.com>
Subject: Re: [PATCH v3 6/6] freezer,sched: Rewrite core freezer logic
Date: Mon, 26 Sep 2022 10:06:58 +0200 [thread overview]
Message-ID: <b1d41989-7f4f-eb1d-db35-07a6f6b7a7f5@linux.ibm.com> (raw)
In-Reply-To: <56576c3c-fe9b-59cf-95b8-158734320f24@linux.ibm.com>
Am 23.09.22 um 09:53 schrieb Christian Borntraeger:
> Am 23.09.22 um 09:21 schrieb Christian Borntraeger:
>> Peter,
>>
>> as a heads-up. This commit (bisected and verified) triggers a
>> regression in our KVM on s390x CI. The symptom is that a specific
>> testcase (start a guest with next kernel and a poky ramdisk,
>> then ssh via vsock into the guest and run the reboot command) now
>> takes much longer (300 instead of 20 seconds). From a first look
>> it seems that the sshd takes very long to end during shutdown
>> but I have not looked into that yet.
>> Any quick idea?
>>
>> Christian
>
> the sshd seems to hang in virtio-serial (not vsock).
FWIW, sshd does not seem to hang, instead it seems to busy loop in
wait_port_writable calling into the scheduler over and over again.
>
> PID: 237 TASK: 81d1a100 CPU: 1 COMMAND: "sshd"
> LOWCORE INFO:
> -psw : 0x0404e00180000000 0x0000000131ceb136
> -function : __list_add_valid at 131ceb136
> -prefix : 0x00410000
> -cpu timer: 0x7fffffd3ec4f33d4
> -clock cmp: 0x2639f08006283e00
> -general registers:
> 0x00000008dcea2dce 0x00000001387d44b8
> 0x0000000081d1a228 0x00000001387d44b8
> 0x00000001387d44b8 0x00000001387d44b8
> 0x00000001387d3800 0x00000001387d3700
> 0x0000000081d1a100 0x00000001387d44b8
> 0x00000001387d44b8 0x0000000081d1a228
> 0x0000000081d1a100 0x0000000081d1a100
> 0x0000000131608b32 0x00000380004b7aa8
> -access registers:
> 0x000003ff 0x8fff5870 0000000000 0000000000
> 0000000000 0000000000 0000000000 0000000000
> 0000000000 0000000000 0000000000 0000000000
> 0000000000 0000000000 0000000000 0000000000
> -control registers:
> 0x00a0000014966a10 0x0000000133348007
> 0x00000000028c6140 000000000000000000
> 0x000000000000ffff 0x00000000028c6140
> 0x0000000033000000 0x0000000081f001c7
> 0x0000000000008000 000000000000000000
> 000000000000000000 000000000000000000
> 000000000000000000 0x0000000133348007
> 0x00000000db000000 0x00000000028c6000
> -floating point registers:
> 0x000003ffb82a9761 0x0000006400000000
> 0x000003ffb82a345c 000000000000000000
> 0x0000000000007fff 0x000003ffe22fe000
> 000000000000000000 0x000003ffe22fa51c
> 0x000003ffb81889c0 000000000000000000
> 0x000002aa3ce2b470 000000000000000000
> 000000000000000000 000000000000000000
> 000000000000000000 000000000000000000
>
> #0 [380004b7b00] pick_next_task at 1315f2088
> #1 [380004b7b98] __schedule at 13215e954
> #2 [380004b7c08] schedule at 13215eeea
> #3 [380004b7c38] wait_port_writable at 3ff80149b2e [virtio_console]
> #4 [380004b7cc0] port_fops_write at 3ff8014a282 [virtio_console]
> #5 [380004b7d40] vfs_write at 131889e3c
> #6 [380004b7e00] ksys_write at 13188a2e8
> #7 [380004b7e50] __do_syscall at 13215761c
> #8 [380004b7e98] system_call at 132166332
> PSW: 0705000180000000 000003ff8f8f3a2a (user space)
> GPRS: 0000000000000015 000003ff00000000 ffffffffffffffda 000002aa02fc68a0
> 0000000000000015 0000000000000015 0000000000000000 000002aa02fc68a0
> 0000000000000004 000003ff8f8f3a08 0000000000000015 0000000000000000
> 000003ff8ffa9f58 0000000000000000 000002aa02365b20 000003ffdf4798d0
next prev parent reply other threads:[~2022-09-26 8:09 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-22 11:18 [PATCH v3 0/6] Freezer Rewrite Peter Zijlstra
2022-08-22 11:18 ` [PATCH v3 1/6] freezer: Have {,un}lock_system_sleep() save/restore flags Peter Zijlstra
2022-08-23 17:25 ` Rafael J. Wysocki
2022-08-22 11:18 ` [PATCH v3 2/6] freezer,umh: Clean up freezer/initrd interaction Peter Zijlstra
2022-08-23 17:28 ` Rafael J. Wysocki
2022-08-22 11:18 ` [PATCH v3 3/6] sched: Change wait_task_inactive()s match_state Peter Zijlstra
2022-09-04 10:44 ` Ingo Molnar
2022-09-06 10:54 ` Peter Zijlstra
2022-09-07 7:23 ` Ingo Molnar
2022-09-07 9:29 ` Peter Zijlstra
2022-09-07 9:30 ` Peter Zijlstra
2022-08-22 11:18 ` [PATCH v3 4/6] sched/completion: Add wait_for_completion_state() Peter Zijlstra
2022-08-23 17:32 ` Rafael J. Wysocki
2022-08-26 21:54 ` Peter Zijlstra
2022-09-04 10:46 ` Ingo Molnar
2022-09-06 10:24 ` Peter Zijlstra
2022-09-07 7:35 ` Ingo Molnar
2022-09-07 9:24 ` Peter Zijlstra
2022-08-22 11:18 ` [PATCH v3 5/6] sched/wait: Add wait_event_state() Peter Zijlstra
2022-09-04 9:54 ` Ingo Molnar
2022-09-06 11:08 ` Peter Zijlstra
2022-09-07 7:26 ` Ingo Molnar
2022-08-22 11:18 ` [PATCH v3 6/6] freezer,sched: Rewrite core freezer logic Peter Zijlstra
2022-08-23 17:36 ` Rafael J. Wysocki
2022-09-04 10:09 ` Ingo Molnar
2022-09-06 11:23 ` Peter Zijlstra
2022-09-07 7:30 ` Ingo Molnar
2022-09-23 7:21 ` Christian Borntraeger
2022-09-23 7:53 ` Christian Borntraeger
2022-09-26 8:06 ` Christian Borntraeger [this message]
2022-09-26 10:55 ` Christian Borntraeger
2022-09-26 12:13 ` Peter Zijlstra
2022-09-26 12:32 ` Christian Borntraeger
2022-09-26 12:55 ` Peter Zijlstra
2022-09-26 13:23 ` Christian Borntraeger
2022-09-26 13:37 ` Peter Zijlstra
2022-09-26 13:54 ` Christian Borntraeger
2022-09-26 15:49 ` Christian Borntraeger
2022-09-26 18:06 ` Peter Zijlstra
2022-09-26 18:22 ` Peter Zijlstra
2022-09-27 5:35 ` Christian Borntraeger
2022-09-28 5:44 ` Christian Borntraeger
2022-10-21 17:22 ` Ville Syrjälä
2022-10-25 4:52 ` Ville Syrjälä
2022-10-25 10:49 ` Peter Zijlstra
2022-10-26 10:32 ` Ville Syrjälä
2022-10-26 11:43 ` Peter Zijlstra
2022-10-26 12:12 ` Peter Zijlstra
2022-10-26 12:14 ` Peter Zijlstra
2022-10-27 5:58 ` Chen Yu
2022-10-27 7:39 ` Peter Zijlstra
2022-10-27 13:09 ` Ville Syrjälä
2022-10-27 16:53 ` Peter Zijlstra
2022-11-02 16:57 ` Ville Syrjälä
2022-11-02 22:16 ` Peter Zijlstra
2022-11-07 11:47 ` Ville Syrjälä
2022-11-10 20:27 ` [Intel-gfx] [PATCH v3 6/6] freezer, sched: " Ville Syrjälä
-- strict thread matches above, loose matches on Subject: below --
2021-10-09 10:07 [PATCH v3 0/6] Freezer rewrite Peter Zijlstra
2021-10-09 10:08 ` [PATCH v3 6/6] freezer,sched: Rewrite core freezer logic Peter Zijlstra
2021-10-18 13:36 ` Peter Zijlstra
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=b1d41989-7f4f-eb1d-db35-07a6f6b7a7f5@linux.ibm.com \
--to=borntraeger@linux.ibm.com \
--cc=bigeasy@linutronix.de \
--cc=dietmar.eggemann@arm.com \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mgorman@suse.de \
--cc=mhartmay@linux.ibm.com \
--cc=mingo@kernel.org \
--cc=oleg@redhat.com \
--cc=peterz@infradead.org \
--cc=rjw@rjwysocki.net \
--cc=rostedt@goodmis.org \
--cc=tj@kernel.org \
--cc=vincent.guittot@linaro.org \
--cc=will@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).