diff options
author | Anshuman Khandual <[email protected]> | 2024-02-01 08:07:14 +0530 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-02-22 10:24:47 -0800 |
commit | d818c98a52cce29da4f35b73e640bf293036fa03 (patch) | |
tree | c4da2b39f554f58e55c8684cf3b58687f3845360 /lib/test_xarray.c | |
parent | 565474afe08ad28de0d655c5ed36aab3702cb93d (diff) |
mm/cma: don't treat bad input arguments for cma_alloc() as its failure
Invalid cma_alloc() input scenarios - including excess allocation request
should neither be counted as CMA_ALLOC_FAIL nor 'cma->nr_pages_failed' be
updated when applicable with CONFIG_CMA_SYSFS. This also drops 'out' jump
label which has become redundant.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Anshuman Khandual <[email protected]>
Cc: Kalesh Singh <[email protected]>
Cc: Minchan Kim <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'lib/test_xarray.c')
0 files changed, 0 insertions, 0 deletions