On 7/7/22 10:21 PM, Md Haris Iqbal wrote:
From: Jack Wang <jinpu.wang@xxxxxxxxx> 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://www.spinics.net/lists/kernel/msg4404829.html Signed-off-by: Gioh Kim <gi-oh.kim@xxxxxxxxx> Signed-off-by: Jack Wang <jinpu.wang@xxxxxxxxx> Signed-off-by: Md Haris Iqbal <haris.iqbal@xxxxxxxxx> --- drivers/infiniband/ulp/rtrs/rtrs-srv.c | 23 ++++++-----------------
Acked-by: Guoqing Jiang <guoqing.jiang@xxxxxxxxx> Thanks, Guoqing