Conversation

MGLRU is classic example of how the mm's review process has been extremely poor.

It's basically unmaintained, it's got questionable performance characteristics beyond google-specific stuff.

It was merged with only tags from people internal to implementing it and random people, nobody core to reclaim.

It had pushback about refactoring which was ignored.

MM review is in a MUCH better place now but there are several such examples of this, stuff we now have to maintain.

https://lore.kernel.org/linux-mm/aaBsrrmV25FTIkVX@casper.infradead.org/

3
0
1

MGLRU _as a whole_ might be fine by the way, it's just there was no way we should have accepted it as-is at the time.

1
0
1
@ljs Tuning kernel memory reclaim feels like building a house of cards..😮‍💨
1
0
3

@haoli yeah, it's super heuristic and very very sensitive to even the smallest thing.

Recently saw a patch that was done a while ago that significantly altered behaviour for compaction on NUMA systems for instance.

Reclaim is difficult code to work on/with :)

0
0
2
@ljs it seems that for MGLRU, the question now is: to be, or not to be...
0
0
1

@ljs I don't think it's a classic example however. Here it's not about the lack of review flags. The relevant people discussed it at length at lsf/mm 2022 and, knowing the downsides, decided to give it a chance. https://lwn.net/Articles/894859/

1
0
0

@vbabka *tears in eyes* fuck michal then *weeps* sorry michal forgive me FORGIVE ME *downs pint*

0
0
0