Re: [PATCH RFC 1/7] RDMA/hns: Introduce DCA for RC QP

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

 



On Thu, Jan 21, 2021 at 01:33:42PM +0000, liweihang wrote:

> We need to allocate memory while spin_lock is hold, how about using GFP_KERNEL or
> GFP_NOWAIT?

You should try hard not to do that. Convert he spinlock to a mutex,
for instance.

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