From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 25431359A89 for ; Tue, 18 Aug 2026 18:55:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787079329; cv=none; b=dJFo7pJydiHJNUGle9DtNNchWdFED4l2nPurL94+/HyJX05+X/dlu1dc6qANUiPyCYBli4fpgODkqDbuCgUGU7woFITDHOFuZ8ntZpDgW0wnHVp5iV0X6QrFBOkLcpicbXBX1Wmi+PUDEASLh+ljiu11RCj7jyVfhhOjO7d0X3A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787079329; c=relaxed/simple; bh=QFG/tTTCz4MBq7tQbsVNnQl4C+7tY8p10sWeVZ2aQaU=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=ru8Mcb2u456cwSj+GsP6i88njWKVwdrBZKDiP+c0z4KLqR2O19cfHu8psgS3FpOX/AKNKaRcsSKonfTj9OUw+/eJ+GSQNSIZo/EYPIEfONrnQQ/W1e5g4RysfTx5oAHWyp9G7SX/fWxqCSN1s8PLrPpJASfYPeh3zPQCgsAmBks= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=PIWRAjy/; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="PIWRAjy/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A50E1F000E9; Tue, 18 Aug 2026 18:55:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=korg; t=1787079327; bh=Kxgfrlp2b96b1Tag3e0eQn0yMgSkp7tX9f63gYkk8iE=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=PIWRAjy/5oJNJn/fK01KZLb0cu0dMb+1q6gOXSZv0HgjZigigaf+sKMqSUxCH8qbM iUIjpVKMyv7FlX2YB2MVqGWRLvhKjQdAtJ3YJkwvPOLHyWfTdoovLRULUihsbKP1Qg PEQNTZGJ3nXffRRCZzHNla2ao2+ro4yAtBGKCHfU= Date: Tue, 18 Aug 2026 11:55:26 -0700 From: Andrew Morton To: "David Hildenbrand (Arm)" Cc: Leon Hwang , linux-mm@kvack.org, Muchun Song , Oscar Salvador , linux-kernel@vger.kernel.org, Lance Yang Subject: Re: [PATCH] hugetlb: add cond_resched() to __unmap_hugepage_range() Message-Id: <20260818115526.654d7311366b66cd031c67e4@linux-foundation.org> In-Reply-To: <2a523945-825c-45a5-a680-37e941e092d3@kernel.org> References: <20260818135029.93288-1-leon.hwang@linux.dev> <3dadebb3-7e2a-459c-a5e8-b375faf89938@kernel.org> <20260818111756.6b0e347db3170bc22cc3c5af@linux-foundation.org> <2a523945-825c-45a5-a680-37e941e092d3@kernel.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 18 Aug 2026 20:21:37 +0200 "David Hildenbrand (Arm)" wrote: > >>> if (!ptep) { > >>> address |= last_addr_mask; > >> > >> As Michal just put it: > >> > >> "PREEMPT_NONE is effectivelly dead and most cond_resched will/should be > >> removed. Is there any reason why you are not using full preemption when > >> requiring low latencies?" > >> > >> https://lore.kernel.org/r/aoRnUxUlgf_kRlm8@tiehlicka > > > > That's pretty bad behavior and we might want to fix it in earlier > > kernels. Is PREEMPT_NONE effectively dead in 6.18.x and its > > existing users? > > > > If yes, we do want to fix older kernels then we should merge this. > > > > Okay, but that would be stable-only fixes? Not understanding. Maybe you refer to adding a patch to -stable but not to -linus? That's against the -stable rules (Documentation/process/stable-kernel-rules.rst).