diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2024-11-22 16:33:25 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-11-25 18:58:02 -0600 |
commit | 0066f623bce8f98b69b752ee03d46a5047c281b8 (patch) | |
tree | 86583913e44e47b85f9670344f814523383538f0 /tools/perf/scripts/python | |
parent | d6eb09fb46707a060209f077abede8c0e2c21b73 (diff) |
ksmbd: use __GFP_RETRY_MAYFAIL
Prefer to report ENOMEM rather than incur the oom for allocations in
ksmbd. __GFP_NORETRY could not achieve that, It would fail the allocations
just too easily. __GFP_RETRY_MAYFAIL will keep retrying the allocation
until there is no more progress and fail the allocation instead go OOM
and let the caller to deal with it.
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions