From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5771F257845 for ; Tue, 17 Mar 2026 16:08:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773763739; cv=none; b=Mbtj1Rp4nFyz2vJHPM8zZD/Mts0iDPwYFCoZHq0KwKlLrhcv3pn4IJ7XwUIm5Nj6W7myfESZtDf1/ZwoWNJ6mKKVs2b2wQF7nmDTi9zZo3v3QY0I6c9lE03qvdRUKEIKzfV2qN95hNa1rUFcaSAL5JYV0JYQnVe0AqleOmJ8das= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773763739; c=relaxed/simple; bh=wPr6u3tALnblC22gUiWz4za8AJ/Cs9ASoWKD+s2RbhY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KkeggqL03IzUV6X5+6UQUox7UPUUsubI9eQjfb3wY3RdGs7DyYb+zg/l/fM/1VX09d0sRFEskQmnGsUr0uVdNqAqw6mzI1R6V2Qy6LvrHINRs5bD3uHvzbEfscNu0YITygP3zvAHEWgNafZMd9BaZ0RWZVXzf7sP0GLcOEzMRgw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VJteo6pK; arc=none smtp.client-ip=209.85.216.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VJteo6pK" Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-356337f058aso3844087a91.2 for ; Tue, 17 Mar 2026 09:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773763738; x=1774368538; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=Vxf57r1UeJKFweq4YuvXs8fnnM5fNPu1ka99ggm3XME=; b=VJteo6pKR8s024p0GV/vy6xWxlfjGgXDgMD3/FvZAWBR7pU+C9ohNGWz1S7vwqLE/K YIc3hNnwZlfrND4LPx4/1EbDaT20gn+ST5vOT5jWN+WJR1flSvXErb1l/TglsjxHVTZE BuN5HHtkIjd4zfq0sxTrhIxTMFqPctSyEwy7CZlNPOKEptfXBs3BJ5sutBHD02ujYCmi +DY++KVADUevYJY8Dj3pqncfgimWRq+TeHXiaPtitngEMXSkE8zopTKFgBo6d3uchZPK 7/Av6SM0WJKqzTdv+Oe5TJk06k2HUM9HHD4dLSAOsxtYjmRsxIfXNOHxU+LmDOzSu2dP 9N8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773763738; x=1774368538; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Vxf57r1UeJKFweq4YuvXs8fnnM5fNPu1ka99ggm3XME=; b=Fls5UpB6BKNtoQZs7+2jViNEqHuoO0fhWrEyZm5ShhqTZ0Oku1ZWqDlIKRixxWq44O IB96WP5kEE2533sI5sTb2NMKM7JcCJfPVbr3g84Xo9ZELJKHOEKMsu6eGjEiO7DNH65N /DgK/EMppGzTAFYcnscru/Ue7Bx9SpWHbMtSK0fEYVHO4mB2nKXkEMDQ52UcfWTqqo5c TNQ07Wu5zrMJ7OOJaw1WWqCKudjJyAByG/RIH0PY2RwcbbE+Bz/iom/zWPxEiczJVA/1 NySmIwhhjwJIX3YYdqIsC36jQ1tBt98WvixL70miNa1F3w+f1a2/lUmDwGQV2W6zkRzl 9GUA== X-Forwarded-Encrypted: i=1; AJvYcCU29AnISc+dzFWcpxinqSBoz7ftrH3ocrwEzObK2UnpFsXi0zKl1Td+kbuF08CuTgX0ru5PJRNrK1jzgQg=@vger.kernel.org X-Gm-Message-State: AOJu0YxfemRDbLwKav9KnNdgKI5VqEMHpmqnqj/z9dg1Rhf6KcMFmRhE 92pdojz1eJfbxR4DuNQRLM3e/g7kz97l918mHPDxCTZW45w88sCTCTCE X-Gm-Gg: ATEYQzzEjCLNLOCWYVK9OxnlDIxODnTx16lCDp0RY59mRA5Wj/hFFJ6NQ5Myf3XuXSp ppi4q3f2y4bdcdlgYHbzjUnBbmlPaBaU2lC1qI/FhIz/R7QYmjhgDNKYx/KODR9fyYTjDqb6S5t QO1i6G8JzQLALjM8VsINNFxrkUVcTuznXIYUc7Tl/oLPEK3X6ooUX9aLBUqt3VdFwbcLO8WPL+k OIATB1AT6gT1z/F44DKrO4bcjE/ZXwu/b+kYERJehdpaynUCfz5ZePxHXuauOzMfKvLsdmVjy9L u6WcY44B/m1UhjjRA6JgPiTAOoqUzjWGZDXwjBzTPiV+YRbhM+lQplrnXcC88qU7FgWvkO2eI4x FCoBlL966sRyFjT1ZEcxQEIchxGPRaQtc81bvVmf3kKhcVFoJQcLjoL9AM0AQT9KObbdtsrT1yW sIFoV9Fr96/8HHjZjCooe6rd2BbemzNJiOmn/FMe0ida16LQ== X-Received: by 2002:a17:90b:5590:b0:35b:9cd5:232e with SMTP id 98e67ed59e1d1-35b9cd52712mr8111263a91.29.1773763737645; Tue, 17 Mar 2026 09:08:57 -0700 (PDT) Received: from google.com ([2402:7500:a44:85b:1dcb:ad2e:a580:8965]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-35bada2bd54sm4714160a91.2.2026.03.17.09.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Mar 2026 09:08:57 -0700 (PDT) Date: Wed, 18 Mar 2026 00:08:52 +0800 From: Kuan-Wei Chiu To: Christoph Hellwig Cc: Richard Weinberger , Andrew Morton , chengzhihao1 , jserv , eleanor15x , marscheng , linux-mtd , linux-kernel Subject: Re: [PATCH] lib/list_sort: introduce list_sort_nonatomic() and remove dummy cmp() calls Message-ID: References: <20260315193900.218737-1-visitorckw@gmail.com> <1295583760.42468.1773645957126.JavaMail.zimbra@nod.at> <218787364.49542.1773758321128.JavaMail.zimbra@nod.at> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, Mar 17, 2026 at 07:40:18AM -0700, Christoph Hellwig wrote: > On Tue, Mar 17, 2026 at 03:38:41PM +0100, Richard Weinberger wrote: > > ----- Ursprüngliche Mail ----- > > >> For UBIFS, this patch doesn't alter the frequency, timing, or behavior > > >> of the cond_resched() calls at all, so I am confident that this won't > > >> introduce any regressions. > > > > > > I'd be tempted to drop the workaround and remove the cond_resched > > > from ubifs given that entirely non-preemptible scheduling models are > > > on their way out. > > > > arm32 still has no preempt-lazy. > > This is one of the biggest platforms where UBIFS is still used. > > Time to fix that if it wants to stay alive. > It seems that dropping cond_resched() right now would cause issues for UBIFS. Given that, let's stick with current plan for now. If we reach a point in the future where it's safe to drop these scheduling points, we can always revisit this and remove then. Regards, Kuan-Wei