From: Sebastian Andrzej Siewior Subject: Re: [PATCH v5 3/6] mm/memcg: Protect per-CPU counter by disabling preemption on PREEMPT_RT where needed. Date: Mon, 28 Feb 2022 12:08:40 +0100 Message-ID: References: <20220226204144.1008339-1-bigeasy@linutronix.de> <20220226204144.1008339-4-bigeasy@linutronix.de> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1646046521; 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: in-reply-to:in-reply-to:references:references; bh=mnquIb5GSTn+DLQ3cN/hm1a1j7DJpMevzJiSlMx6tcs=; b=WysKBJ9IkEvnBYFFSQ0+2L3p3tRyVyTwRhP6bOG1UgOvwRUZLIXng9nE+McGX2jnrVCIVN +Q3RyRL/+zwL3QpXWF9rUifwBbrXJdav9I2pJLLggORAJqRnsQ7cpl4LRmSNeyv6W1jtd2 vhVhhE/QnDDGatySQs6sj+1BjqPw1G+MiFvZi8QGij/jE5xdNf4iDdNjJySd2J5A+YGtAl NrMP6411jsvyhrJQTIx6M0IXWHfpOO0cKZh4rmugZec5j6bE6lKeLgxwzHdNuolu+WHxqH KqoZkdm/8Ew6gxGghv25swpDTOVVrrjNtWKTRO6I0/gJI4jT/d2i4njP/b0YNw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1646046521; 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: in-reply-to:in-reply-to:references:references; bh=mnquIb5GSTn+DLQ3cN/hm1a1j7DJpMevzJiSlMx6tcs=; b=lxhZsiARSZXEKvThVxCqZ4Ip9YPS/onIOC4WRpn/SuPwr03p1aB4YQJG2JKj8+3aqTk1TV S18EBJ4A1gsYqAAA== Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Michal Hocko Cc: cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Andrew Morton , Johannes Weiner , Michal =?utf-8?Q?Koutn=C3=BD?= , Peter Zijlstra , Thomas Gleixner , Vladimir Davydov , Waiman Long , Roman Gushchin On 2022-02-28 09:05:45 [+0100], Michal Hocko wrote: > Acked-by: Michal Hocko > > TBH I am not a fan of the counter special casing for the debugging > enabled warnings but I do not feel strong enough to push you trhough an > additional version round. do you want to get rid of the warnings completely? Since we had the check in memcg_stats_lock() it kinda felt useful to add something in __memcg_stats_lock() case, too. > Thanks! Sebastian