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

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

 



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



[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