Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3513458ybb; Mon, 23 Mar 2020 02:30:16 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsNx0yWicwEYjuAZIpXEAfseBiVEdY2nLwY1riq+Rc3pMy90/iApq2xGjZVf2/uTJan/Bxd X-Received: by 2002:aca:a98a:: with SMTP id s132mr16762310oie.75.1584955816309; Mon, 23 Mar 2020 02:30:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584955816; cv=none; d=google.com; s=arc-20160816; b=cYvtyfHj52JN9T1yeA2IqZPI1djoh1y0s2lyNeYycyMKNVQnNudNaJl2SYQMydMVDe ieCpJxgHm0vgtO+nDefJTTVMkgm3oRt/1UwQ6Gy8xoftFMFwmwKQd39HAttdy9m1oTuy r692vq52bHzgdloCaFlSabJzHXHRPOAl+GJ4S15SWX0TT5japJIPksBGfIlSas6TW3tm gp/jtqZZv2OFepEITrmnx6xfRkXJrKtHvjU3jNBklVNl0/JFsDB3QRW2EvFgpuQa98VE RBU7JEz269tgmoUiXZj3NwWiHwf+c42joH4zRyjIcdHLnm2mo7siVBp+KqCVN8zQiZjt 69GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=0eue0jrc67xfJnfJk9ICQ1xtxeUcbBK4TygDF+Ayn20=; b=ZsdDR5aTfoJZk6yCuFfQdPjANBmEkVTCOK2yN+OIvQT5kxP8eFsR/RzWiPtegk+pwo HOs8drU5vrjVqg2LWzUjIo3XLt5PC4NzTGxy4uJYhthmXQtdqOwan/AlrzfcPbT9qbFe kLIG0UpmApYwyQxqd3N6QFCv4tbAYMmprsOWzeo/bqOBIwABmDtp1NYuQLPWFRWrzPoY TSfhE5C9FJZvmaDXkTu09m+TOR6BYBmNsXVaww8zWtUg5ABoFP076yltE2VzzCaB7MPv uhRxtVTvzEZR3/Gsq/xu8OaiE9pBpWgK7ycv2Wi+e8Wjr2Gvu8SU+x+jpqZ7A+PSkLoJ VDqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MQL04WvN; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n82si6726746oib.123.2020.03.23.02.30.02; Mon, 23 Mar 2020 02:30:16 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=MQL04WvN; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727698AbgCWJ2B (ORCPT + 99 others); Mon, 23 Mar 2020 05:28:01 -0400 Received: from us-smtp-delivery-74.mimecast.com ([63.128.21.74]:27736 "EHLO us-smtp-delivery-74.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727669AbgCWJ2B (ORCPT ); Mon, 23 Mar 2020 05:28:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584955679; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0eue0jrc67xfJnfJk9ICQ1xtxeUcbBK4TygDF+Ayn20=; b=MQL04WvNeM5m2QtCPGIjpFrJnnXPrTjxR3MWksat7OlNdS9nZ2UP3AOgGvC7FQWEzGXdrq yrxuey3KhJGuH4JJuU0rxMs6EXhdAGfn0o8hkO7z/DfB/2KQiNEgLlPZwRRm4VWhPGBQkv lVIFcts870zovjhRhBIls1KAtIINPu4= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-392-PrClEjvfNwu1Wo8dCd4OeA-1; Mon, 23 Mar 2020 05:27:58 -0400 X-MC-Unique: PrClEjvfNwu1Wo8dCd4OeA-1 Received: by mail-wm1-f72.google.com with SMTP id v184so3309198wme.7 for ; Mon, 23 Mar 2020 02:27:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=0eue0jrc67xfJnfJk9ICQ1xtxeUcbBK4TygDF+Ayn20=; b=eW84g2UmHa9BSv1flQKm09HGv7olgqVdOGyFx9O2GKQ6C9WaE4d4OktMj99bgXKmuN 9QDvJrXa8bBgwuq2Yvxy5tYiuYUYXaTjL8CPd7KIG5H29DSjhhdDsl+G1JjtGxkYeJQO uAVJpmGrRU+9/RI9jrhm1tn4bxsJsrla8Lv1L+R7ZBJ6EFq5/2Lk8PQ38FQEveoBuEyG 4Mojj54M+RKdbbK+12F3Xtwa3+k/91gBo92sEnTtK+J6MH3hPfXJAayzE7q4JcA4fc44 Cg1gKckI5EPnxpTeHC+gGFoeKPCH1pVYfL3KAVuxezi7v4t7NN9il7f0ZQliaMpBZEA1 OdOQ== X-Gm-Message-State: ANhLgQ2MdsShcuNSOIvs0ALM+OQvSm0ehFM2KQzAuZ7hNeexD/axISSR a6xowa4i+hhQRNcuByldX6K3d3OC/N4YLlZQTMai7T0mVkN8PWWOUYS8yBHxtFdKIUlruG6+nFT 3ZqplKYF/0isLj4uf9ZJRa9ry X-Received: by 2002:a1c:9658:: with SMTP id y85mr26269461wmd.63.1584955676994; Mon, 23 Mar 2020 02:27:56 -0700 (PDT) X-Received: by 2002:a1c:9658:: with SMTP id y85mr26269434wmd.63.1584955676758; Mon, 23 Mar 2020 02:27:56 -0700 (PDT) Received: from localhost.localdomain ([151.29.194.179]) by smtp.gmail.com with ESMTPSA id e1sm23474045wrx.90.2020.03.23.02.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Mar 2020 02:27:56 -0700 (PDT) Date: Mon, 23 Mar 2020 10:27:54 +0100 From: Juri Lelli To: Lucas Stach Cc: Steven Rostedt , linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Vincent Guittot , Dietmar Eggemann , Ben Segall , Mel Gorman Subject: Re: help needed in debugging missed wakeup(?) Message-ID: <20200323092754.GD14300@localhost.localdomain> References: <20200320140618.048714c9@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 20/03/20 20:04, Lucas Stach wrote: [...] > My hope was that someone would could guide me a little with an educated > guess, to make those trace_printks more helpful. The lockup is hard to > trigger and there's other unrelated system activity going on, even when > the relevant user task is stuck, so randomly sprinkling debug > statements will generate lots of output to filter down. I'd start by enabling sched:sched_pi_setprio (or adding trace_printks around there to confirm your suspicion). Once that is confirmed, I'd try to look at update_curr_dl::throttle and verify if the misbehaving task was indeed throttled at some point; it shouldn't be, because dl_boosted flag should be set for it at this point (maybe check this condition as well). Best, Juri