Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp662839pxb; Fri, 16 Apr 2021 15:11:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznpfMX8PQtI7ryjByBh8g4Cq8F75mMsNAaZ0dKKjGmbUWTJoj41RHGTV5W5Lhh+s7S5XqQ X-Received: by 2002:aa7:d88b:: with SMTP id u11mr12510512edq.254.1618611112685; Fri, 16 Apr 2021 15:11:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618611112; cv=none; d=google.com; s=arc-20160816; b=lxQFHJ97+hf2ExUO1Npu6vWRgnLpeB5Btv9UseiIw8w8OPeNBjNzPfrfZ1hkihS5RO 3G0/D1UarwPggEzTveQALkZZ2X1p8zvJ40Faj+gknlKSbNQmBAnoS8IqZIGSby/BE8g/ PhHu/vS9DH7Fxpt4fax6VvCL6I2kVbpeWj0CD3uCDdg6Y3hLHvlcJQowcE1jXuZldpLr KgD/z6NdMBw9eVpM+qfZXT0+yznvWkGzAP+RapRD08qHn1gwcEJmN3swEt9sD77qSKtc af2yvnIxvmYP0yX1imqjNHT6mWszuM/Nxl4OJrV9Tpo/zIpsUKzoD1o8DgrDrey8bcS6 7LIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=7eH2Lv11SZ0QBm3f11PM1lGjnhy8yPppQrMbgJ4vk1A=; b=cbiYYW5M8ZtZgWBu75CMmSer1YZ6RnzeHFV9Na9gyxqFLsPV3qJ+22IBOe1rricj/U DQGC8m9Cmf3o0gUGVUJm7cyX2tRBgYb6VY0ff/skVMQX+TlVdUm84XVl3hRbuE4P6gb/ mH53dCdaGab3ESSa1HTmrorbkwOGgV8hyAFpeIqnUtFzGdhbsEZk8nBKt94Xh6y5g0i+ TjBujLywEylXR2TGcICvxqV+TCu8GqdziN005Z90Smf8jp6yt6N2XyUl9SGksjsf+fzA oGKqc3kwWVDb++MG4PAfmwbJMHH+DC+FaAm/CtTj4swu0Tt+5Si4BuV4wZYgSGlCGVCd CWGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=CjG3ocYg; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si6202395ejb.254.2021.04.16.15.11.29; Fri, 16 Apr 2021 15:11:52 -0700 (PDT) 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=@google.com header.s=20161025 header.b=CjG3ocYg; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344484AbhDPVeI (ORCPT + 99 others); Fri, 16 Apr 2021 17:34:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344421AbhDPVeF (ORCPT ); Fri, 16 Apr 2021 17:34:05 -0400 Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55D43C061756 for ; Fri, 16 Apr 2021 14:33:40 -0700 (PDT) Received: by mail-qk1-x730.google.com with SMTP id t17so1923113qkg.4 for ; Fri, 16 Apr 2021 14:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7eH2Lv11SZ0QBm3f11PM1lGjnhy8yPppQrMbgJ4vk1A=; b=CjG3ocYg4/RhZbq+qnSzPhtDOmM6lnB2H5LmOYWVYyV4v+5chxBLzcyjQyNzNABrac K9RjzvaXZuaLdblD+tEGfTwMp7aqoEvVgv5WuR3WcHBBnzDRCKb9hRq9H5jX5zQpc7I8 BwggiJGbF9JOAnp8dlpLOWwQYfpSJD3+uOZxh7CnwZ71y5bARvVwWoALxzS1WrbUSeR7 vjEQa9eG7N2E1/AKNv2bgKS6WYuJM2UXXRicS5BujvF4iOG6kaEHk+eUiWH+hLF5oCHY JypL9smg65qPHQQbHo+JDapbrWoYHANZ/oG+87k9TYSrLWaeBgpJcXKoFuZU4iPPs0L6 CfHA== 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; bh=7eH2Lv11SZ0QBm3f11PM1lGjnhy8yPppQrMbgJ4vk1A=; b=jzXY4ZMslh/bZHwnEfKeP9AHtpJNyAfDEd+KUHIx5v/f9vViaHyi/dllMQiBkbKcgX vx4Ce4gJ+atuunpD1hJPwkDbUrEtH+/gpkL3+sGHlv9o+JbGk8XOqlDb41FB1/xIlXiP wgItgfRs+JaOSrlofcYwOR77ZpBho6OtnLoWx5ZR8A5jjhpgRntJyQj08WKWSwfkUpey jio9IxcyiJD0kU79PpCTTSWIaFd0FHja1X4L3R+Vzvrm0IvJeKUiQI5eCb829f9MwrIH iHC9gJQki12IxyWRVYMdZeKQOxONOLPfnCffV6DtzBUaVO/CoVoD5uigZBFg1Mu6cs4s AvFw== X-Gm-Message-State: AOAM5324HU4JCfQWGzeDNeqmnXoje8AEedNZcK55/BjbcrHojkkSgubg osudo7V/79Pg1ApaGvYDhpbuLaJUWj542QmCnfkq6Q== X-Received: by 2002:a37:a7c7:: with SMTP id q190mr1308734qke.146.1618608819213; Fri, 16 Apr 2021 14:33:39 -0700 (PDT) MIME-Version: 1.0 References: <20210323035706.572953-1-joshdon@google.com> <20210324112739.GO15768@suse.de> In-Reply-To: From: Josh Don Date: Fri, 16 Apr 2021 14:33:27 -0700 Message-ID: Subject: Re: [PATCH v2] sched: Warn on long periods of pending need_resched To: Peter Zijlstra Cc: Mel Gorman , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Daniel Bristot de Oliveira , Luis Chamberlain , Kees Cook , Iurii Zaikin , linux-kernel , linux-fsdevel@vger.kernel.org, David Rientjes , Oleg Rombakh , linux-doc@vger.kernel.org, Paul Turner Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 16, 2021 at 8:05 AM Peter Zijlstra wrote: > > On Tue, Mar 30, 2021 at 03:44:12PM -0700, Josh Don wrote: > > Peter, > > > > Since you've already pulled the need_resched warning patch into your > > tree, I'm including just the diff based on that patch (in response to > > Mel's comments) below. This should be squashed into the original > > patch. > > > > Sorry, I seem to have missed this. The patch is completely whitespace > mangled through. > > I've attached my latest copy of the patch and held it back for now, > please resubmit. Yikes, sorry about that. I've squashed the fixup and sent the updated patch (with trimmed cc list): https://lkml.org/lkml/2021/4/16/1125 Thanks, Josh