Re: [RESEND] Cross Memory Attach v3

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

 



On Fri, 8 Jul 2011 18:06:07 +0930
Christopher Yeoh <cyeoh@xxxxxxxxxxx> wrote:

> +static ssize_t process_vm_rw(pid_t pid, const struct iovec *lvec,
> +			     unsigned long liovcnt,
> +			     const struct iovec *rvec,
> +			     unsigned long riovcnt,
> +			     unsigned long flags, int vm_write)
> +{
>
> ...
>
> +	if (!mm || (task->flags & PF_KTHREAD)) {

Can a PF_KTHREAD thread have a non-zero ->mm?
> +		task_unlock(task);
> +		rc = -EINVAL;
> +		goto put_task_struct;
> +	}

anyway, grumble.

Please resend, cc'ing linux-kernel.

Please also cc linux-man@xxxxxxxxxxxxxxx and describe (within the
changelog context) the plan for getting the manpages written.

Please also cc linux-arch@xxxxxxxxxxxxxxx and provide (within the
changelog context) arch developers with the documentation and test code
which will enable them to implement this and to verify it with minimal
effort.

Thanks.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]