From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 690ACC25B08 for ; Thu, 18 Aug 2022 02:45:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242672AbiHRCpk (ORCPT ); Wed, 17 Aug 2022 22:45:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238821AbiHRCph (ORCPT ); Wed, 17 Aug 2022 22:45:37 -0400 Received: from out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F1ACA2235; Wed, 17 Aug 2022 19:45:35 -0700 (PDT) Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1660790733; 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=m4z1sWC6bAQH8e6B92BduFNAouRkUxunbG1jTSaqznY=; b=xfuhKGJhDxjojadF4ICnBKavB8kJk8Yi5Vk6ALKONnuXK9b0iQLEMmedRDkOYjvrGXtIK8 AlpKqtBqN8do6WrRsqGNTN6ZUVO5EToI/HPc34l3PV23MLpabyx0+rt9Trz7F578K9JmDz E0ejN9EhGaep2R/eSi7R91BGHvc2VXw= MIME-Version: 1.0 Subject: Re: [PATCH 6/9] mm/memcontrol: Replace the PREEMPT_RT conditionals X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: <20220817162703.728679-7-bigeasy@linutronix.de> Date: Thu, 18 Aug 2022 10:45:05 +0800 Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Peter Zijlstra , Steven Rostedt , Linus Torvalds , Matthew Wilcox , Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , cgroups@vger.kernel.org, Linux MM Content-Transfer-Encoding: quoted-printable Message-Id: <5D24D94E-2277-4876-BE91-1E9A6AB7009B@linux.dev> References: <20220817162703.728679-1-bigeasy@linutronix.de> <20220817162703.728679-7-bigeasy@linutronix.de> To: Sebastian Andrzej Siewior X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Aug 18, 2022, at 00:27, Sebastian Andrzej Siewior = wrote: >=20 > From: Thomas Gleixner >=20 > Use VM_WARN_ON_IRQS_ENABLED() and preempt_disable/enable_nested() to > replace the CONFIG_PREEMPT_RT #ifdeffery. >=20 > Signed-off-by: Thomas Gleixner > Cc: Johannes Weiner > Cc: Michal Hocko > Cc: Roman Gushchin > Cc: Shakeel Butt > Cc: Muchun Song > Cc: cgroups@vger.kernel.org > Cc: linux-mm@kvack.org > Signed-off-by: Sebastian Andrzej Siewior More simple. Reviewed-by: Muchun Song Thanks.