Re: [PATCH for-next 5/5] RDMA/rtrs-srv: Do not use mempool for page allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 8, 2022 at 3:32 PM Jason Gunthorpe <jgg@xxxxxxxx> wrote:
>
> On Thu, Jul 07, 2022 at 04:21:44PM +0200, 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
>
> Use only lore.kernel.org links please

Sure, will fix it.
>
> Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux