-----"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.