From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Hocko Subject: Re: [PATCH v5 2/6] mm/memcg: Disable threshold event handlers on PREEMPT_RT Date: Thu, 2 Mar 2023 12:24:27 +0100 Message-ID: References: <20220226204144.1008339-1-bigeasy@linutronix.de> <20220226204144.1008339-3-bigeasy@linutronix.de> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1677756268; h=from:from:reply-to: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=DfpE7NdVan1lx0rzBmu2nPEAQxihGxDD9R2TKF4ki6I=; b=Gh9EVbI3UjiOsDlz2BWQoNfhOrGXbbTE8IpykNHZlZeTrSPk2c0hNtzshPCLUma2Nl/GyQ Ah7HBrhPIPfs7zkKH5dBNtOSqC0FMPsiIo3oxhg8ya4hqld/6sLNuVDJ8n6jVHe98mhK64 pHqpJUpkZx7Pm9fSW1mgl/ZC/72T6fc= Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Valentin Schneider Cc: Sebastian Andrzej Siewior , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Andrew Morton , Johannes Weiner , Michal =?iso-8859-1?Q?Koutn=FD?= , Peter Zijlstra , Thomas Gleixner , Vladimir Davydov , Waiman Long , Roman Gushchin , Shakeel Butt On Thu 02-03-23 10:18:31, Valentin Schneider wrote: > On 02/03/23 08:45, Michal Hocko wrote: > > On Wed 01-03-23 18:23:19, Valentin Schneider wrote: [...] > >> I want cgroupv1 to die as much as the next person, but in that specific > >> situation I kinda need cgroupv1 to behave somewhat sanely on RT with > >> threshold events :/ > > > > Could you expand on the usecase? > > > > In this case it's just some middleware leveraging memcontrol cgroups and > setting up callbacks for in-cgroup OOM events. This is a supported feature > in cgroupv2, so this isn't a problem of cgroupv1 vs cgroupv2 feature > parity, but rather one of being in a transitional phase where the > middleware itself hasn't fully migrated to using cgroupv2. How is this related to the RT kernel config? memcg OOM vs any RT assumptions do not really get along well AFAICT. -- Michal Hocko SUSE Labs