Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp350431rdb; Mon, 18 Sep 2023 18:13:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEjva/cQuR8YBDexqYjv7LpSbNIWBYoKGsrH+Lg5ukA7TuQudH4xnCTY/Sf5NfPxohe9vpt X-Received: by 2002:a17:902:d342:b0:1c5:64aa:b97a with SMTP id l2-20020a170902d34200b001c564aab97amr4321580plk.38.1695085982864; Mon, 18 Sep 2023 18:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695085982; cv=none; d=google.com; s=arc-20160816; b=iCrc9ofguSeBNPZ2pAgEV+vKeE9O+dgH9zuo96N+MtRhE1yNEXuLr9vSrn3L+ReoxS wvXTVFv9Pov/6J5vFhHYL3zEB/B/P9arrs3jPskNh+NSKDDdqrfzmJe/E6nmTFFDAx2P 0MLgzchRGgBK3GMKv7FR0ngB3jMgYZzhhepI6RTa02vDmaQRYvb40c8Oe4tTDdbXR3S5 y0jbr0W8EMG6EggteFiJr5houLCntlYQTz6gP7NWq84xLyHIPghDXRFPmKQmDUi4jsY4 ze1hOtrbCVg6fS9cXw+0obm6LSBOkVXmBreUT/wCchWXHIM6SUqWzWFygUEgNEQM6Gn0 1eNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=tftkfCRDvcs4v9yhjyjUTVMx7qSfJ5Yv3Qi6b8m0pFI=; fh=fXZL8bWLdpBD8QpyNEWOkJr4IEstItLOhrQTUjjbfSU=; b=x1OWD1ecPcvf0ylPp4vfsMEySLQl6Na2K4GMOjG/aU0Iji404OHGzZY3L5Ryz2eVdx qbXOGqjrTOZbq9rvtlwdWREywDOCtta6qKzexdqahFr6MDuS54a20qYsOLI+zW5oV30l ZaRRW5aQoV/m/HEO/SHxpBoW0MYM+WvHRRf5AGdhKZN6GZJpL/222WPNGs9YN5IZEd6v FAH57aaPBD6oF5PoFJfxJAogwYnkwAWWFYPo/7+NfmTrMxEHeHWrTOPtNndW6+g0o1ef 0faMGIdmDA0wlcplF9Kfkx3dlBLQnXr48I6nlWiRATk2tlD5NWNUSkU0NGwRTZjpVPFv n1jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=O0WFZ+zz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id km16-20020a17090327d000b001c3346175acsi8720145plb.137.2023.09.18.18.13.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 18:13:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=O0WFZ+zz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8DFC18097A56; Mon, 18 Sep 2023 15:56:29 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbjIRW4R (ORCPT + 99 others); Mon, 18 Sep 2023 18:56:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjIRW4Q (ORCPT ); Mon, 18 Sep 2023 18:56:16 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB36D8F; Mon, 18 Sep 2023 15:56:10 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-9a64619d8fbso664555766b.0; Mon, 18 Sep 2023 15:56:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695077769; x=1695682569; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tftkfCRDvcs4v9yhjyjUTVMx7qSfJ5Yv3Qi6b8m0pFI=; b=O0WFZ+zzLWhT9X5G7eiq1e9CwaGn5oX1smu3hlkLv4qGf8br8pz8lhL8dJwEJilNTb 1H2u7mZ6u1NDJBLrJrCrZeDBfgGT1Z3GUjykVPHbiprY4EHJUM7I0FTtqGhUHcH52T0T MWweEchCume+SBtp0H0A7s9e8dPFfnGOlbPYpaZB6oFlGYbooAw3iUcVvEvhwRl1slUv 1c9s4sg3F2CadYB5Hz9wdflrhig1QpBxSnA/t4AzrjsL/szu4Y2YRiS55i1syvOTOFLJ geDcP/I4o/wHYTE9W2B3rSD3kRYWLCJ97X3b6+8mGAL0TDQ16b0XCRfmu/wChqzNNC2S X9pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695077769; x=1695682569; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tftkfCRDvcs4v9yhjyjUTVMx7qSfJ5Yv3Qi6b8m0pFI=; b=Mut4vwGgMtkzil67eIggTYY1J4R9P8eeMePaBYAlifVZdh/nJAlRDun8oX6EYHUJ/e pSBu8Ao4+eTn1xCk1KA2rE+dP20UirEq+lbmx6uwftL5IwLLa4dwvoO5IMQtjzeGg0ar F6v9LDbtUNbKyRtXXLDwF2PFJ/Y9ZUW8szpgzW1SosIr/H45a2yN6VuhXieWnUATtZ1Z mKxuSWpUTzi+Z7jsiPswfgsfAJorK9K9AiZpZabT37+0ZkHg9r6wZh+ReaFAmGHzJ8It RBez+uE590ud4i6P2EYn+i0xjKSEttP0KLgX15jquZT0reExG6tB4hy40fn1//QP92CX /qCQ== X-Gm-Message-State: AOJu0YzEtIZZCz/n7G/56vUTSaVH3lAxJ/nYxBscEovqwPZ8R3aBaOqL 1L0dcEn7ZYm7cHPT6JouK2kdlt9vWQPLkwsfL8w= X-Received: by 2002:a17:906:519b:b0:9ad:e298:a5d with SMTP id y27-20020a170906519b00b009ade2980a5dmr9218002ejk.19.1695077769209; Mon, 18 Sep 2023 15:56:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Brian Pardy Date: Mon, 18 Sep 2023 18:55:58 -0400 Message-ID: Subject: Re: Possible bug report: kernel 6.5.0/6.5.1 high load when CIFS share is mounted (cifsd-cfid-laundromat in"D" state) To: Bagas Sanjaya , Linux CIFS Cc: Linux Kernel Mailing List , Linux Regressions , Steve French Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 18 Sep 2023 15:56:29 -0700 (PDT) [RS removed from CC due to bounce message] On Wed, Sep 6, 2023 at 5:03=E2=80=AFPM Brian Pardy = wrote: > On Tue, Sep 5, 2023 at 9:01=E2=80=AFPM Bagas Sanjaya wrote: > > Thanks for the regression report. But if you want to get it fixed, > > you have to do your part: perform bisection. See Documentation/admin-gu= ide/bug-bisect.rst in the kernel sources for how to do that. > > > > Anyway, I'm adding it to regzbot: > > > > #regzbot ^introduced: v6.4..v6.5 > > #regzbot title: incorrect CPU utilization report (multiplied) when moun= ting CIFS > > Thank you for directing me to the bug-bisect documentation. Results below= : > > # git bisect bad > d14de8067e3f9653cdef5a094176d00f3260ab20 is the first bad commit > commit d14de8067e3f9653cdef5a094176d00f3260ab20 > Author: Ronnie Sahlberg > Date: Thu Jul 6 12:32:24 2023 +1000 > > cifs: Add a laundromat thread for cached directories > > and drop cached directories after 30 seconds > > Signed-off-by: Ronnie Sahlberg > Signed-off-by: Steve French > > fs/smb/client/cached_dir.c | 67 ++++++++++++++++++++++++++++++++++++++++= ++++++ > fs/smb/client/cached_dir.h | 1 + > 2 files changed, 68 insertions(+) Is there any further information I can provide to aid in debugging this issue? Should I just expect incorrect load average reporting when a CIFS share is mounted on any kernel >6.5.0? I'm not clear on the value or necessity of this "laundromat thread" - everything worked as expected before it was added - shall I just patch it out of my kernel builds going forward if there is no interest in fixing it? Is a .config option to disable it possible?