Re: [PATCH v5 07/13] SIW application buffer management

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

 



-----"Jason Gunthorpe" <jgg@xxxxxxxx> wrote: -----

>To: "Bernard Metzler" <bmt@xxxxxxxxxxxxxx>
>From: "Jason Gunthorpe" <jgg@xxxxxxxx>
>Date: 03/08/2019 02:45PM
>Cc: linux-rdma@xxxxxxxxxxxxxxx
>Subject: Re: [PATCH v5 07/13] SIW application buffer management
>
>On Tue, Feb 19, 2019 at 11:08:57AM +0100, Bernard Metzler wrote:
>
>> +void siw_umem_release(struct siw_umem *umem)
>> +{
>> +	struct task_struct *task = get_pid_task(umem->pid, PIDTYPE_PID);
>> +	int i, num_pages = umem->num_pages;
>
>This is copying some old version of umem, copy the new version
>please. Shouldn't need to mess with task.
>
>Jason
>
>
OK will do, thanks.




[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