diff options
author | Jack Wang <jinpu.wang@ionos.com> | 2022-07-12 12:31:13 +0200 |
---|---|---|
committer | Leon Romanovsky <leonro@nvidia.com> | 2022-07-18 11:28:06 +0200 |
commit | 46195de38abf196e5799bd02b3ae88faf084d161 (patch) | |
tree | 220ffe6aaca661af524281587ce229fff7a5f253 /drivers/nvmem/mxs-ocotp.c | |
parent | RDMA/rtrs-clt: Replace list_next_or_null_rr_rcu with an inline function (diff) | |
download | linux-46195de38abf196e5799bd02b3ae88faf084d161.tar.xz linux-46195de38abf196e5799bd02b3ae88faf084d161.zip |
RDMA/rtrs-srv: Do not use mempool for page allocation
The mempool is for guaranteed memory allocation during
extreme VM load (see the header of mempool.c of the kernel).
But rtrs-srv allocates pages only when creating new session.
There is no need to use the mempool.
With the removal of mempool, rtrs-server no longer need to reserve
huge mount of memory, this will avoid error like this:
https://lore.kernel.org/lkml/20220620020727.GA3669@xsang-OptiPlex-9020/
Link: https://lore.kernel.org/r/20220712103113.617754-6-haris.iqbal@ionos.com
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Md Haris Iqbal <haris.iqbal@ionos.com>
Acked-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/nvmem/mxs-ocotp.c')
0 files changed, 0 insertions, 0 deletions