Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp671887ybf; Fri, 28 Feb 2020 05:34:14 -0800 (PST) X-Google-Smtp-Source: APXvYqwgjVz8lBi5/YEmz0FCNbRBiGyrH6pAQEHSX+jMkI+mMYDUdY3E6TJnnMZDJWUonJM/JwSA X-Received: by 2002:a05:6830:210d:: with SMTP id i13mr3354451otc.192.1582896854518; Fri, 28 Feb 2020 05:34:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582896854; cv=none; d=google.com; s=arc-20160816; b=Se3G0gpw+8qLUBeWz7/qOEIuMYvlEaqNFju2u1m1vim+AWdbmtdZVxY4/vclU+NtU8 8Mor5PWKKfXlfOGNjYjmxi+sTU3X3gwD7f1RFngAUSY4e6rPC7JOZJzz/HngWPqrx4Kw JVpnNLxhrqTuhEktZ2AdyKqeKo271KGQ5q428nwb7OC0BvVhij1H7NWfJ7IWOoEHwZf4 mzMxhbUkUr/0s0jUf1ha8F8uCqofKxDByzntGLgE3F+eda3Ibb6ACOP0sap3ktMl252N SQc74LRGAKNAqawyEF1+8IAZGqzQmwuI9IhPCceWl+ozmk/T4NZTGnG6TAt5dfrJeCiD hTcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=PunA6AUK9cJGI3B2uIEL1v/3settudK+J/D27AJP2p8=; b=txKDqEmX9ZdQnulJW68F1L1osxZ97daLflXWlI2GF7sC/OQ6+0DPwbJFySTagCO40w 3E6F4JVFKVFtFt4xJJZ/TKlmsVnKeOtk9f+9wK5hPPQ9uu2YuHdxDACsJznLcbQTr072 B+703eoIAg/2ZiLHrHOI1+271hw7zmkMgJ+eeo6n5l1OGWBF+NHrQyUPT//l42lxVxaf eNGLztaD+/h1hRGbyZlmXiE2ndOBQDep6aCQVHsyPUkALXthZowRhIP5Wx2PdmWMzVSV KVQOZ0+V65PcsE5buAIepqBw08iZFqEKl6Dc8hjgTxJoFbcIQ0Tud8VtBLOHvpjWqYZB qZmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KsYtsoPT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q25si1839183otg.128.2020.02.28.05.34.02; Fri, 28 Feb 2020 05:34:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KsYtsoPT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726714AbgB1Ncw (ORCPT + 99 others); Fri, 28 Feb 2020 08:32:52 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:37997 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726413AbgB1Ncv (ORCPT ); Fri, 28 Feb 2020 08:32:51 -0500 Received: by mail-lf1-f68.google.com with SMTP id w22so1102255lfk.5 for ; Fri, 28 Feb 2020 05:32:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=PunA6AUK9cJGI3B2uIEL1v/3settudK+J/D27AJP2p8=; b=KsYtsoPTSK49sgG9sfQp+xP5YzLk8MIBliWazEsfyfyMjgOPGlBxSJnyGEbGKW3UlP TPeBGoL+o5FzJNAqS/5erWL9bgYHRywPCmfjjJ/Kc6lJQr3qz0YHoHC5cBM7VmTabTCd DwkyX9667g97qL5OsN+t0P4CFex0+S4KeuX9/3n2g5psJ7XBaBpoyuHxQ2JQEp7BwW2L IN9zBfB5dpf8HJq7SFN23cIlM06UvTRx5y0cf9J+VqWIaQoYdzvSGTr7vmgK/Mdze2by AiaM6DLRTJGpGiOdLuox3mFim/NZcilWB0s0lHAen6StXSzZyQBOJngIyY27qyMBIyTm Dwng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=PunA6AUK9cJGI3B2uIEL1v/3settudK+J/D27AJP2p8=; b=irrdaB8xq2t3+9NgwUahL7gfb+4O9owYH/00PJ2KO0Tu+dWi/TLmBQclZF4K3HfQgA 2zw1CqDYqxLwM4GKWdVikw6D2kf4vlLOpgv8RG3zDczqNmvU0U1S6xpLLxDq/dGKEpfp Gk/5pJ2VIPljsVSdnEcKVlmw5BLzKMVegyS392JGMGkEoTQ7y91czMFQYC9JYSi9PrBL x2L8j05GGk5y/cUn/T2+MXw2pUx4uSGmVOK5p780iItB+MFNhhJOR5FFR2z/hYhBUMhJ KfBjvbYevyjYRuBRcfh+XJxZKb3r5NGdPE0BddQDoY6eFqfmW0iWDhrrD7xoXJdBI1wc Sdhw== X-Gm-Message-State: ANhLgQ1FpsdfMmX7/Gpc8gLoJ44Qjrw60kkiQrDw4O/ogrj/9bKMpq3U oLlqIt32ttYDeOZw5SFJ+oedPTSvRqwL0hd6BYnPkA== X-Received: by 2002:ac2:596d:: with SMTP id h13mr2695022lfp.190.1582896767762; Fri, 28 Feb 2020 05:32:47 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Vincent Guittot Date: Fri, 28 Feb 2020 14:32:36 +0100 Message-ID: Subject: Re: 5.6-rc3: WARNING: CPU: 48 PID: 17435 at kernel/sched/fair.c:380 enqueue_task_fair+0x328/0x440 To: Christian Borntraeger Cc: Ingo Molnar , Peter Zijlstra , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 28 Feb 2020 at 13:04, Christian Borntraeger wrote: > > I was able to reproduce this with 5.5.0 This might even be earlier as there weren't any changes on this area recent= ly Do you have more details about your setup ? Are you using cgroup bandwidth an an example ? > > > On 28.02.20 08:54, Christian Borntraeger wrote: > > Peter, > > > > it seems that your new assert did trigger for me: > > > > The system was running fine for 4 hours and then this happened. > > Unfortunately I have no idea if this reproduces and if so how. > > > > [15260.753944] ------------[ cut here ]------------ > > [15260.753949] rq->tmp_alone_branch !=3D &rq->leaf_cfs_rq_list > > [15260.753959] WARNING: CPU: 48 PID: 17435 at kernel/sched/fair.c:380 e= nqueue_task_fair+0x328/0x440 > > [15260.753961] Modules linked in: kvm xt_CHECKSUM xt_MASQUERADE nf_nat_= tftp nf_conntrack_tftp xt_CT tun bridge stp llc xt_tcpudp ip6t_REJECT nf_re= ject_ipv6 ip6t_rpfilter ipt_REJECT nf_reject_ipv4 xt_conntrack ip6table_nat= ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat iptable_= mangle iptable_raw iptable_security nf_conntrack nf_defrag_ipv6 nf_defrag_i= pv4 ip_set nfnetlink ip6table_filter ip6_tables iptable_filter rpcrdma sunr= pc rdma_ucm rdma_cm iw_cm ib_cm configfs s390_trng mlx5_ib ghash_s390 prng = ib_uverbs aes_s390 ib_core des_s390 libdes sha3_512_s390 genwqe_card vfio_c= cw vfio_mdev sha3_256_s390 mdev crc_itu_t sha512_s390 vfio_iommu_type1 sha1= _s390 vfio eadm_sch zcrypt_cex4 sch_fq_codel ip_tables x_tables mlx5_core s= ha256_s390 sha_common pkey zcrypt rng_core autofs4 > > [15260.754002] CPU: 48 PID: 17435 Comm: cc1 Not tainted 5.6.0-rc3+ #24 > > [15260.754004] Hardware name: IBM 3906 M04 704 (LPAR) > > [15260.754005] Krnl PSW : 0404c00180000000 0000000942282e3c (enqueue_ta= sk_fair+0x32c/0x440) > > [15260.754008] R:0 T:1 IO:0 EX:0 Key:0 M:1 W:0 P:0 AS:3 CC:0= PM:0 RI:0 EA:3 > > [15260.754010] Krnl GPRS: 00000000000003e0 0000001fbd60ee00 00000000000= 0002d 00000009435347c2 > > [15260.754012] 000000000000002c 00000009428ec950 00000009000= 00000 0000000000000001 > > [15260.754013] 0000001fbd60ed00 0000001fbd60ed00 0000001fbd6= 0ee00 0000000000000000 > > [15260.754014] 0000001c633ea000 0000000942c34670 00000009422= 82e38 000003e00140baf8 > > [15260.754066] Krnl Code: 0000000942282e2c: c020005d39d8 larl %= r2,0000000942e2a1dc > > 0000000942282e32: c0e5fffdcc3f brasl %= r14,000000094223c6b0 > > #0000000942282e38: af000000 mc 0= ,0 > > >0000000942282e3c: a7f4ff22 brc 1= 5,0000000942282c80 > > 0000000942282e40: 41b06340 la %= r11,832(%r6) > > 0000000942282e44: e3d063480004 lg %= r13,840(%r6) > > 0000000942282e4a: b904004b lgr %= r4,%r11 > > 0000000942282e4e: b904003d lgr %= r3,%r13 > > [15260.754080] Call Trace: > > [15260.754083] [<0000000942282e3c>] enqueue_task_fair+0x32c/0x440 > > [15260.754085] ([<0000000942282e38>] enqueue_task_fair+0x328/0x440) > > [15260.754087] [<0000000942272d78>] activate_task+0x88/0xf0 > > [15260.754088] [<00000009422732e8>] ttwu_do_activate+0x58/0x78 > > [15260.754090] [<00000009422742ce>] try_to_wake_up+0x256/0x650 > > [15260.754093] [<000000094229248e>] swake_up_locked.part.0+0x2e/0x70 > > [15260.754095] [<00000009422927ac>] swake_up_one+0x54/0x88 > > [15260.754151] [<000003ff8044c15a>] kvm_vcpu_wake_up+0x52/0x78 [kvm] > > [15260.754161] [<000003ff8046af02>] kvm_s390_vcpu_wakeup+0x2a/0x40 [kv= m] > > [15260.754171] [<000003ff8046b68e>] kvm_s390_idle_wakeup+0x6e/0xa0 [kv= m] > > [15260.754175] [<00000009422dd05c>] __hrtimer_run_queues+0x114/0x2f0 > > [15260.754178] [<00000009422dddb4>] hrtimer_interrupt+0x12c/0x2a8 > > [15260.754181] [<0000000942200d3c>] do_IRQ+0xac/0xb0 > > [15260.754185] [<0000000942c25684>] ext_int_handler+0x130/0x134 > > [15260.754186] Last Breaking-Event-Address: > > [15260.754189] [<000000094223c710>] __warn_printk+0x60/0x68 > > [15260.754190] ---[ end trace e84a48be72a8b514 ]--- > > >