# Re: \[PATCH\] mm/memcontrol: Disable on PREEMPT\_RT

- From: Sebastian Andrzej Siewior \<hidden\>
- Date: 2021-12-16 07:52:17 
- List: cgroups
- Page: https://ratatoskr.run/cgroups/2021/12/6512969
- Thread: https://ratatoskr.run/cgroups/2021/12/6512789/t.md

```text
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
```
