Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2275973rdd; Fri, 12 Jan 2024 05:02:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRybq1Y/Z+MFeuMFpCmlZ8uExq6/X1enIKcBUoYe4T8RTBqW3ZCF3YyEgfkCHsxDKq0lOF X-Received: by 2002:a05:6402:28a5:b0:558:a602:ae13 with SMTP id eg37-20020a05640228a500b00558a602ae13mr683541edb.57.1705064535309; Fri, 12 Jan 2024 05:02:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705064535; cv=none; d=google.com; s=arc-20160816; b=binqH2HKun9CcctiXy8sRvFJOnRzKgYbiAYpJ+2/ip89g+F4DXhSnH0DOo5tk/BdL1 BHyigfsQ++uqAv7VA/AwaDTU5l+HoHEYnfm9fOSEztVFQaYghQKQXIOEU6nDnDTPTq28 hf+juDY85OovWFweZqhYL1aLD1M8AHEnWVjDsH05TX5+OV7+XUQ8aZDBAmJB/Oq6oq39 UsKUP8mWQ1DQYSTLKEDF+zSvOQ/IqWCtC+FVyUl93D0HppHeBKLNRwqNIdwpqIm5ZzvS 6WYhbGrwOsZaitIEof0eI4JRs/0vcSUipSBviA7ZeI/9Y7kaMYxucyuk7uZ+KD27k3ZX hOTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=TS9YhPDldTTjGIAAyOKez0LHmI8RD+x8kd63E/fDUqw=; fh=DDdKfKPQ6tYieqKAp1mdK4mkd9rGA3mQ/J31EFshoL8=; b=rUyJsKPXwCWKH5w4c0NA8UDKK4Wty+kYlcMz6gBAQsEZqew0dXHaXZsrf8r/WhBJN3 SFVHxitFuT7nO7bnN5C15PyJGWkQ/OF/b5uqlUVK6KuJ59I7D8M4biHylMzP6jrELNRF YO8hiNa7elI+s1QK07Fq26rbHII468+O3X5Veav1lGqOvUis2qZ7uMSdUz4ak8dCxZAt sYCqV/hQcwR3sKn12irHYlYptNeXzmZVJ1SSVZYMMrl5fa0R08CmSBBw4IIUbUf35NVt KLNe/hhnbiUjWr93zMhyKzOs8L/dPdDMkf2t3xwJ2XerKfi/dWduohUFq67qy+6jcL6K ey+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=b4z0gnfg; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel+bounces-24673-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24673-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h20-20020a056402281400b005574ba7cd24si1371589ede.226.2024.01.12.05.02.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 05:02:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24673-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=b4z0gnfg; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel+bounces-24673-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24673-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0B0871F23B9A for ; Fri, 12 Jan 2024 13:02:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6AFAB6BB40; Fri, 12 Jan 2024 13:02:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="b4z0gnfg"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="0SpkV9u1" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45A6F5EE94; Fri, 12 Jan 2024 13:02:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1705064519; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TS9YhPDldTTjGIAAyOKez0LHmI8RD+x8kd63E/fDUqw=; b=b4z0gnfg3rYIPjuHC/+CGOngTgmZ9G/DZXjxT14EEbShfFMUK5PKsI8npORtSBvthF7rtJ yqzfmZbzTNHjv0fFq5/IvHsyrxeiO3i+YC/JJzf7SvmTgwNFUU58WzXM85C+kxC09cd8D7 nIrsR0z079jwaHZGWj5G9Kj8KdHaC0206jHSUouGA2o6I3klx9munEuxSfN3kqugkCipvS qi5EE5vehBmE8QuXy5PPASCrHq5b0gOE4sC1g2oC/sb6ycHA3oFVVgLFABk6+glZ1Ff5Gn tglPiZYslYqXiVLwophieMD7GSGxgzKfUGwS44yoTaYFA1/lDveIJDvEse9TZQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1705064519; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TS9YhPDldTTjGIAAyOKez0LHmI8RD+x8kd63E/fDUqw=; b=0SpkV9u11zaLX55bOD86IHPv7DtnCwvpuus8BBQZWxykzJqS/dBPPl80+NnP/wnrpIrI+c tBdvUUSr/sYzSyBA== To: Dave Chinner , Jian Wen Cc: linux-xfs@vger.kernel.org, djwong@kernel.org, hch@lst.de, dchinner@redhat.com, Jian Wen , linux-kernel@vger.kernel.org, Ankur Arora Subject: Re: [PATCH] xfs: explicitly call cond_resched in xfs_itruncate_extents_flags In-Reply-To: References: <20240110071347.3711925-1-wenjian1@xiaomi.com> Date: Fri, 12 Jan 2024 14:01:59 +0100 Message-ID: <87v87yiu2g.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, Jan 12 2024 at 07:27, Dave Chinner wrote: Cc: Ankur > On Thu, Jan 11, 2024 at 08:52:22PM +0800, Jian Wen wrote: >> On Thu, Jan 11, 2024 at 5:38=E2=80=AFAM Dave Chinner wrote: >> > IOWs, this is no longer considered an acceptible solution by core >> > kernel maintainers. >> Understood. I will only build a hotfix for our production kernel then. > > Yeah, that may be your best short term fix. We'll need to clarify > what the current policy is on adding cond_resched points before we > go any further in this direction. Well, right now until the scheduler situation is sorted there is no other solution than to add the cond_resched() muck. > Thomas, any update on what is happening with cond_resched() - is > there an ETA on it going away/being unnecessary? Ankur is working on that...