Re: mm: 5.16 regression: reclaim_throttle leads to stall in near-OOM conditions

From: Alexey Avramov
Date: Wed Nov 24 2021 - 07:06:47 EST


>but can you test this?

I have already tested different parameters, and
found that even zero timeout is unsatisfactory.

The introduction of reclaim_throttle() itself
dramatically worsens the stall in near-OOM.

More info:
https://lore.kernel.org/lkml/20211124011954.7cab9bb4@xxxxxxxxxxxxx/

What test else I should perform?

Okay, on one side of the scale is the use of the CPU, on the other
side is the risk of stall.

My dissatisfaction is caused by the fact that the scale has now
tipped sharply in favor of stall.
Although even before this change, users complained about the inability
to wait for OOM:
https://lore.kernel.org/lkml/d9802b6a-949b-b327-c4a6-3dbca485ec20@xxxxxxx/