Michal Hocko wrote: > Sure we can be more intelligent and reset the counter if the > feedback from compaction is optimistic and we are making some > progress. This would be less hackish and the XXX comment points into > that direction. For now I would like this to catch most loads reasonably > and build better heuristics on top. I would like to do as much as > possible to close the obvious regressions but I guess we have to expect > there will be cases where the OOM fires and hasn't before and vice > versa.
Aren't you forgetting that some people use panic_on_oom > 0 which means that premature OOM killer invocation is fatal for them?