From: Sebastian Andrzej Siewior Subject: Re: [PATCH] mm/memcontrol: Disable on PREEMPT_RT Date: Thu, 16 Dec 2021 08:51:52 +0100 Message-ID: References: <20211207155208.eyre5svucpg7krxe@linutronix.de> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1639641113; 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=7M0mhRgQajj4JooEekItEmeezbDQdgPBX9TAoVx0FJ4=; b=fFIBCwWplbZ0Rdcm9iQ+R/u7UmGMd+qS7fmMP6RWtHq2X8wxzfHokIcFxQk9Fn/xFZhpbC y8equxQrn8WrWM1R7Gi3s3ux6ycuV3Qkj5ssXxfeeymw20UjYrIQgkb+cYxDzaOERm1bxj 4X7xN0c1x9kj99x6vQz5HPLAbf6ou+LeBW17X6oyt4bg8GWjTBR6jWBAggamBoAC5nq8f1 6o7IDHjfrLH2NAIlK/N5Bv94kXywaz+BJR62yeM+5cEjB9ELtIvEgqxJRkY6e6v3nrifC2 wDKOhtt1p9VpK4ujtNK79ZdyRcvms2BvgRcRzVBFvpIAFAW3fIXnJ9Gtv2ekmg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1639641113; 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=7M0mhRgQajj4JooEekItEmeezbDQdgPBX9TAoVx0FJ4=; b=4DYVkaQQzSIvUTNyOabyRGRff4LFhI6EsnuFBJ/cD/VnzcEAIm2QGCrJVDH5iYiwhF6UQt Q3hC1ZsoHK26A5Bg== Content-Disposition: inline In-Reply-To: List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Michal Hocko Cc: Johannes Weiner , cgroups-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-mm-Bw31MaZKKs3YtjvyW6yDsg@public.gmane.org, Andrew Morton , Thomas Gleixner , Vladimir Davydov , Waiman Long On 2021-12-15 19:44:00 [+0100], Michal Hocko wrote: > On Wed 15-12-21 18:13:40, Sebastian Andrzej Siewior wrote: > > Okay. What do I gain by doing this / how do I test this? Is running > > tools/testing/selftests/cgroup/test_*mem* sufficient to test all corner > > cases here? > > I am not fully aware of all the tests but my point is that if the soft > limit is not configured then there are no soft limit tree manipulations > ever happening and therefore the code is effectivelly dead. Is this > sufficient for the RT patchset to ignore the RT incompatible parts? So if that softlimit is not essential and makes things easier by simply disabling it, yes I could try that. I will keep that in mind. Sebastian