Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp933163pxb; Wed, 3 Mar 2021 21:35:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxk32x42AiRcab/6tMcbInm0AbqEYb/rrEG3SuDgfHslDi07ky3KniT/xkA4BfeStYAIdcL X-Received: by 2002:a17:906:c45a:: with SMTP id ck26mr2342900ejb.125.1614836128891; Wed, 03 Mar 2021 21:35:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614836128; cv=none; d=google.com; s=arc-20160816; b=WqJb/GrY7J/VqXk1L+tw0Ti3sfusZNun6wEHurhZTXzYisqQYAnCAcbEOi5XHikiYR UQn7UPylV+7jr5/JiIoZcnTPoiWUYfuFB2qtMfowPtL3aXq+G2xM2lLKpEP4+Uobx0S+ Ng4ujcsJDy2LtjPEP/sJA+CgkVroCEJaqkw377XzijaSfml8Y1LhHKa25rdp/bxHEJZK uGyHKfzGBNwUK8V7Jqu46H8DO+XQUyg7d/gS2hUTOCT3RM2nrX13ld4Kl1zAyXb5qCGO XeN4ljHZefdE2gVPva3Z7ibPYj8L1BRbJcaVmMmAo2Bq6VsF/CouwMBV6Qc7Mo/uq00a 29iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature; bh=tQRylwC7FAvN0F/bBIP0t+688gl4yvy+odRc0feyS9Y=; b=WkFo5GN076zpjX0EehbQAPstd0VUNHksoqo+Laq6UAhvA1q4PXXjbndD7vs2O+zkgZ UNNsI7waIYeH34ZjGwI6qO+G5wldrC24irlsINcaqatJJb7EzeOoQYGcmHFaUo0Jv+e5 6teH7oJTrk/RZ+nFUObT6cPUofosBA0muYLJawEhIAfMRXDUSjz3Bi0Pg9zz7WYKhHJ+ wU3/g8kJ93TWQADKxZpZ4IvZpbaNEL/a7k9am9jOUF9VH0WNXrGHDRdeMaqQXTvwzDek ZTQCjShGQoQYdXqiaOe8cjPvp+Tqb4jKVI3W+J+KpXr/ZFhPdKX62kieOyGBRociTkaD 8ueg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=ubLOcq54; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb13si17966227edb.8.2021.03.03.21.35.06; Wed, 03 Mar 2021 21:35:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=ubLOcq54; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1576288AbhCBE1L (ORCPT + 99 others); Mon, 1 Mar 2021 23:27:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379152AbhCBBMk (ORCPT ); Mon, 1 Mar 2021 20:12:40 -0500 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D36EAC061756 for ; Mon, 1 Mar 2021 17:11:57 -0800 (PST) Received: by mail-pf1-x42d.google.com with SMTP id m6so12736118pfk.1 for ; Mon, 01 Mar 2021 17:11:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=tQRylwC7FAvN0F/bBIP0t+688gl4yvy+odRc0feyS9Y=; b=ubLOcq546XToAmmbIzobC3s9/PaSLx+F7qRU09TugZmKZvcIYC7K3xN9r4kFDnUyct RjO+Bqoa4QbBXm7E4yKECn9DKgCSICZMx2Pa9Sty9pXQObB0TbXbZy98vpn/h8xcqSqU FDcqVnFN4mDN2CtGWQCdJbIa8vOfQbBHiNhra1Epi0723A9ihUA+qqtl2IqYpuMhCMYt ISeJkppdLOgosn/udWRTBGvGBrMKQ2QCERUbrRP5QJGxUcBJZ2gzu//ZeA4DNLp7XSn0 BWlEc6K2Y4XkdHRfW5FI72B8bNIFwum+qfMhG3sSsCZH29n3jHTp723nQ5Tge+2SKZJc mVnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tQRylwC7FAvN0F/bBIP0t+688gl4yvy+odRc0feyS9Y=; b=po2p1p9wI5yR/5Ypkwkx7s8yId91NPZOd4B2iwVelFSFQ0V2c9gUOc61dnELxczzd3 vGU7C83+UBGYAyUJLDeSgFt9Oo7u0MGUHjHRQBwg3lpq0/sQIQ7YYfw4ZkGRHyqx+Gbz xKIrS6l4ivf0FB6d/QJswvg2V4oxmm7UuLQsObOvjUX6FZ0Vu8kRkkVh1Tkniy8qm8hq 586TJt+MAt7zWS1BR89LFsC8c0KgQ/ay6dqfYYpyoGGd5ozi6qMuK2yiaYAMcXqL0Hns dbEEiavzvuuCMb2c/G9LU+mA6+hU/ekAmom3X/UuBxWGPdC7WIbEopBEUXWIuR94PzXL 6nPQ== X-Gm-Message-State: AOAM533KgRfcqdK/DxfhwBrErJOCJBhh/r5CaqIoURaqHUfUvvatPVLi X4zCFfCY7yJ6okkanmxQp74CRg== X-Received: by 2002:a62:43:0:b029:1cd:2de2:5a24 with SMTP id 64-20020a6200430000b02901cd2de25a24mr1066069pfa.27.1614647517023; Mon, 01 Mar 2021 17:11:57 -0800 (PST) Received: from [192.168.1.134] ([66.219.217.173]) by smtp.gmail.com with ESMTPSA id t6sm17740991pgp.57.2021.03.01.17.11.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Mar 2021 17:11:56 -0800 (PST) Subject: Re: 5.12-rc1 regression: freezing iou-mgr/wrk failed To: "Alex Xu (Hello71)" , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org References: <1614646241.av51lk2de4.none.ref@localhost> <1614646241.av51lk2de4.none@localhost> From: Jens Axboe Message-ID: Date: Mon, 1 Mar 2021 18:11:55 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1614646241.av51lk2de4.none@localhost> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/1/21 5:57 PM, Alex Xu (Hello71) wrote: > Hi, > > On Linux 5.12-rc1, I am unable to suspend to RAM. The system freezes for > about 40 seconds and then continues operation. The following messages > are printed to the kernel log: > > [ 240.650300] PM: suspend entry (deep) > [ 240.650748] Filesystems sync: 0.000 seconds > [ 240.725605] Freezing user space processes ... > [ 260.739483] Freezing of tasks failed after 20.013 seconds (3 tasks refusing to freeze, wq_busy=0): > [ 260.739497] task:iou-mgr-446 state:S stack: 0 pid: 516 ppid: 439 flags:0x00004224 > [ 260.739504] Call Trace: > [ 260.739507] ? sysvec_apic_timer_interrupt+0xb/0x81 > [ 260.739515] ? pick_next_task_fair+0x197/0x1cde > [ 260.739519] ? sysvec_reschedule_ipi+0x2f/0x6a > [ 260.739522] ? asm_sysvec_reschedule_ipi+0x12/0x20 > [ 260.739525] ? __schedule+0x57/0x6d6 > [ 260.739529] ? del_timer_sync+0xb9/0x115 > [ 260.739533] ? schedule+0x63/0xd5 > [ 260.739536] ? schedule_timeout+0x219/0x356 > [ 260.739540] ? __next_timer_interrupt+0xf1/0xf1 > [ 260.739544] ? io_wq_manager+0x73/0xb1 > [ 260.739549] ? io_wq_create+0x262/0x262 > [ 260.739553] ? ret_from_fork+0x22/0x30 > [ 260.739557] task:iou-mgr-517 state:S stack: 0 pid: 522 ppid: 439 flags:0x00004224 > [ 260.739561] Call Trace: > [ 260.739563] ? sysvec_apic_timer_interrupt+0xb/0x81 > [ 260.739566] ? pick_next_task_fair+0x16f/0x1cde > [ 260.739569] ? sysvec_apic_timer_interrupt+0xb/0x81 > [ 260.739571] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 > [ 260.739574] ? __schedule+0x5b7/0x6d6 > [ 260.739578] ? del_timer_sync+0x70/0x115 > [ 260.739581] ? schedule_timeout+0x211/0x356 > [ 260.739585] ? __next_timer_interrupt+0xf1/0xf1 > [ 260.739588] ? io_wq_check_workers+0x15/0x11f > [ 260.739592] ? io_wq_manager+0x69/0xb1 > [ 260.739596] ? io_wq_create+0x262/0x262 > [ 260.739600] ? ret_from_fork+0x22/0x30 > [ 260.739603] task:iou-wrk-517 state:S stack: 0 pid: 523 ppid: 439 flags:0x00004224 > [ 260.739607] Call Trace: > [ 260.739609] ? __schedule+0x5b7/0x6d6 > [ 260.739614] ? schedule+0x63/0xd5 > [ 260.739617] ? schedule_timeout+0x219/0x356 > [ 260.739621] ? __next_timer_interrupt+0xf1/0xf1 > [ 260.739624] ? task_thread.isra.0+0x148/0x3af > [ 260.739628] ? task_thread_unbound+0xa/0xa > [ 260.739632] ? task_thread_bound+0x7/0x7 > [ 260.739636] ? ret_from_fork+0x22/0x30 > [ 260.739647] OOM killer enabled. > [ 260.739648] Restarting tasks ... done. > [ 260.740077] PM: suspend exit > > and then a set of similar messages except with s2idle instead of deep. > > Reverting 5695e51619 ("Merge tag 'io_uring-worker.v3-2021-02-25' of > git://git.kernel.dk/linux-block") appears to resolve the issue. I have > not yet bisected further. Let me know which troubleshooting steps I > should perform next. Can you try and pull in: git://git.kernel.dk/linux-block io_uring-5.12 and see if that resolves it? I usually always run -git on my laptop as well, but something broke it in the merge window so I need to figure out what that is first... What distro are you running? -- Jens Axboe