Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3331535rwo; Mon, 24 Jul 2023 09:25:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlHJWgev8qJZGz8eD8j5b9aE/EOBT56Cgl86ltwcBnN0l0VTmA9eVF5tdPbj0QpF3loDqwwU X-Received: by 2002:a17:90a:eb17:b0:268:160d:937e with SMTP id j23-20020a17090aeb1700b00268160d937emr2580931pjz.27.1690215937433; Mon, 24 Jul 2023 09:25:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690215937; cv=none; d=google.com; s=arc-20160816; b=qbcBgb7UT3n+F62MuhEzyDZOiLv2OY86wrD9N3N9MsEziwocwVdXCTIDwDnoPaNmjp L7bF3jYa8PJoRvKdUEDy/heoB3wje9tNG+QxtmmtBAgTBXXZaqMJwcjHvXv9DpaF8O/1 B7hykBLMzTdm9T7S8KexuyS1xFsM6Yq4TCsU7fpra4JK69i/eqX2oaba4pUNzh4oH07H 6aN0WFcNgILNtuf8M5vN3gAjnpwtSYhIOwnPl/aoDsEGSxyJJE8rhVqHlrFLTRst4BdW PDtPnlgOjwZ5gqDRSdNGwb5JWDUaSMRczfLZ1OioPD6i5Qif9Yzj8pvnUlANmR53x2sh vubA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PQcoxARSMJkEsk04ZWeLJOOnZDusL4DAfQKLDqatZe8=; fh=exP/QGLfQO68/rjZ7v9rcE/X7ssupWA4uiZQarSmaKg=; b=PE5+YClA46PFNs2Ypc+CRMeZ8NJVsSd0fb083ZHgHpMOqqyrri5QWxKArM4aV/gn/a YAgAlJcbK4VGvTvIHTDyInjbP/IzskEHYg/CAXhpBlfCsmREJOAgqeEKmJcIhsb4Z44C v3xgKqHFfzuaHdepkt4FYrS/BmHvm5alYo+8sX3zXkHUIcve3F5wu6Z/+o6e7Gtt7V3f qWlJvCsVAZGhTeoACrJuUDY9jNPKyeZUrFR7e4vKzlkxmlE5/wIUmaQbk9qLLhLuLbBc 6n35aQA4h0fYjBh7dDzUU/6bOvk0/7DkpQtPCuSvwM+AWRf4p8MidInbef3FUoGS5L3x 76ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=09knLTUN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s2-20020a17090a948200b0025bdc2a0b15si11713527pjo.135.2023.07.24.09.25.25; Mon, 24 Jul 2023 09:25:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=09knLTUN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231186AbjGXPs2 (ORCPT + 99 others); Mon, 24 Jul 2023 11:48:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbjGXPs1 (ORCPT ); Mon, 24 Jul 2023 11:48:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B36E68E; Mon, 24 Jul 2023 08:48:26 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5129161214; Mon, 24 Jul 2023 15:48:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6062DC433C9; Mon, 24 Jul 2023 15:48:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1690213705; bh=BnR8p0NTli1iiWv9Tj8n06sGq3rdMDNYDQt3cb8Gkno=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=09knLTUNb7IDYFLoq8gfZtCz8sVHyS9i/6s6my6RY4QsUcEacAIvE5y0wBxD8x/kh ZHwQm0PleT5vwAkgR6ASkAc8XYGRrWukuQ8akak1iB+jYw8733wpkFW3PfpcbT1TB4 82SjKZ7oYXAU2etqIVWBzXQAIs+4dKYqZ+JhFs2Q= Date: Mon, 24 Jul 2023 17:48:22 +0200 From: Greg KH To: Phil Elwell Cc: axboe@kernel.dk, andres@anarazel.de, asml.silence@gmail.com, david@fromorbit.com, hch@lst.de, io-uring@vger.kernel.org, LKML , linux-xfs@vger.kernel.org, stable Subject: Re: [PATCH] io_uring: Use io_schedule* in cqring wait Message-ID: <2023072438-aftermath-fracture-3dff@gregkh> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 24, 2023 at 04:35:43PM +0100, Phil Elwell wrote: > Hi Andres, > > With this commit applied to the 6.1 and later kernels (others not > tested) the iowait time ("wa" field in top) in an ARM64 build running > on a 4 core CPU (a Raspberry Pi 4 B) increases to 25%, as if one core > is permanently blocked on I/O. The change can be observed after > installing mariadb-server (no configuration or use is required). After > reverting just this commit, "wa" drops to zero again. This has been discussed already: https://lore.kernel.org/r/12251678.O9o76ZdvQC@natalenko.name It's not a bug, mariadb does have pending I/O, so the report is correct, but the CPU isn't blocked at all. thanks, greg k-h