Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3168195pxk; Tue, 15 Sep 2020 11:49:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxaMLSqJdR40XimtJqbTiTJD2XLNDbAUopJZHIxQZKR8uAbJL77jHooTwxJFi6Z41TJPRol X-Received: by 2002:a05:6402:1710:: with SMTP id y16mr24935604edu.197.1600195749722; Tue, 15 Sep 2020 11:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600195749; cv=none; d=google.com; s=arc-20160816; b=IvcrqfvgoRuZdWafvyTkJv3G42SR0cVYYugAhR29OnmRI7RgJbPWs+a+s9W8wk5Vh2 y6IjdyiAw1sh6sRE+UOHTTexUCmlVxKz6UyTQF2JD4uxWm4fd1OaGts+P7VHQtvg0vlo bC2VrhvlOoaoikKEbVi0K82CMoB3hbwp0WtOOST84rbQoLh/h4T/EWD1USFdwC8ylQlR lrphahgMPrlfOMtC7t77437iKFRNO2CKbsk46ZMV7YcHg08HmJ9tz7e8rVa8lOIsY6jM ANHOWL1RLiuhm6kZf9j1gOIREes0yd3i8BJ4flINs9jpp56oWlWuwZqLToAgWJWi3aVe 3wkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LTbv9ixmlr6M2NlSNW04eJaKIOgB6gnfk9QuC76NwqI=; b=G1ruObPDGpqQengadhszodngYUuhmK2zojLId2zNe4Kg4mlsl8Z+1KHMuO/3jBk4sM tVjRU9TFzy4A9mTXt3V18m7TTqI99caiOCGuOAKE0U4uAECLFJ3q3J8li9dt8UJ3S3ni /wnRRkVmX2c7ptHNTq1q01VB0G6ptwwle7HI7C6tMY/8yD3yLRuyVfVCwSWdxSfCXLDa cNd5O9avFn1jUWsqStbQ9l+N1FlWsm8YApcTRU28P4mfS6Eho2JW0v99EeMboisWBBsl XPADrlRjhRsXUs8mT9GLIp1BRgUSYpLHJzP3qx1Ll95jZGpC1/Nb6qX/04S25JvHvw6S /tNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=R4A8aWwf; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 u2si9557491ejx.507.2020.09.15.11.48.42; Tue, 15 Sep 2020 11:49:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=@linux-foundation.org header.s=google header.b=R4A8aWwf; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727935AbgIOSs0 (ORCPT + 99 others); Tue, 15 Sep 2020 14:48:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727925AbgIOSsH (ORCPT ); Tue, 15 Sep 2020 14:48:07 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D400C061788 for ; Tue, 15 Sep 2020 11:48:06 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id m5so4215643lfp.7 for ; Tue, 15 Sep 2020 11:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LTbv9ixmlr6M2NlSNW04eJaKIOgB6gnfk9QuC76NwqI=; b=R4A8aWwfONyraW34Non6+9EyYqEYt7xpEWbb7V1/g8CDpQEehM4YsRVSs9rkSq5/k+ 8cAhrioTweZR1mdOLigDRMWe0zhOr/TcctCtaMxX/xgmGCxQyVCMZC7uLe9GlAAYw/x2 qAVHx/OcNyf5AHEb+ph+MgC6rOnBVDBaoZMOY= 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=LTbv9ixmlr6M2NlSNW04eJaKIOgB6gnfk9QuC76NwqI=; b=R/fv6I038U81Kg435psAjUZQKhbdWIZsGVnwYWfWWWj0UQdII3k6y57KUzgz9xnIun dK6kXOMJPp7linuwa/+MG4da37MJvsoWu2YRuN6SpTJ46zzDlBuaKV02QChV+ttlaGfN JecRyXiEyRRH1b9Gx17dOJXS3doMHEk1seDD1IIORg6PmsRoJuEj6PFh6J5vMg5cPEWK VRmFQeN0rHMtsriHDQrHw4pGv6nluSIcfFUKJ4TghXkwOFVl0ovemrjt8vjpHDh8NKJO d6oChffZ2L5/u/5k1jw40Y0USMLLwB4T0WZuQbaKRdfKUIljljLbXYuDSi+RGG83deEn VNtw== X-Gm-Message-State: AOAM530A55Mh7KGZzGZWl/7QIJ2C5xOpXI6ZDi+xT9uVWY6nSvlUPO/V D028WJPTpLeBrl+zszeG6bC0UfZ4BJJ1+A== X-Received: by 2002:a19:6b17:: with SMTP id d23mr6894401lfa.322.1600195684352; Tue, 15 Sep 2020 11:48:04 -0700 (PDT) Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com. [209.85.167.45]) by smtp.gmail.com with ESMTPSA id 5sm4154249lfr.289.2020.09.15.11.48.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Sep 2020 11:48:02 -0700 (PDT) Received: by mail-lf1-f45.google.com with SMTP id z17so4186978lfi.12 for ; Tue, 15 Sep 2020 11:48:02 -0700 (PDT) X-Received: by 2002:a19:521a:: with SMTP id m26mr7261771lfb.133.1600195681832; Tue, 15 Sep 2020 11:48:01 -0700 (PDT) MIME-Version: 1.0 References: <8bb582d2-2841-94eb-8862-91d1225d5ebc@MichaelLarabel.com> <0cbc959e-1b8d-8d7e-1dc6-672cf5b3899a@MichaelLarabel.com> <0daf6ae6-422c-dd46-f85a-e83f6e1d1113@MichaelLarabel.com> <20200912143704.GB6583@casper.infradead.org> <658ae026-32d9-0a25-5a59-9c510d6898d5@MichaelLarabel.com> <9550725a-2d3f-fa35-1410-cae912e128b9@tessares.net> In-Reply-To: From: Linus Torvalds Date: Tue, 15 Sep 2020 11:47:45 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Kernel Benchmarking To: Matthieu Baerts Cc: Michael Larabel , Matthew Wilcox , Amir Goldstein , "Ted Ts'o" , Andreas Dilger , Ext4 Developers List , Jan Kara , linux-fsdevel Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Sep 15, 2020 at 11:27 AM Linus Torvalds wrote: > > Every one of them is in the "io_schedule()" in the filemap_fault() > path, although two of them seem to be in file_fdatawait_range() rather > than in the lock_page() code itself (so they are also waiting on a > page bit, but they are waiting for the writeback bit to clear). No, that seems to be just stale entries on the stack from a previous system call, rather than a real trace. There's no way to reach file_fdatawait_range() from mlockall() that I can see. So I'm not entirely sure why the stack trace for two of the processes looks a bit different, but they all look like they should be in __lock_page_killable(). It's possible those two were woken up (by another CPU) and their stack is in flux. They also have "wake_up_page_bit()" as a stale entry on their stack, so that's not entirely unlikely. So that sysrq-W state shows that yes, people are stuck waiting for a page, but that wasn't exactly unexpected. Linus