Re: [RESEND] Cross Memory Attach v3
From: Andrew Morton <akpm@linux-foundation.org>
Date: 2011-07-15 22:37:53
On Fri, 8 Jul 2011 18:06:07 +0930 Christopher Yeoh [off-list ref] 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@vger.kernel.org and describe (within the changelog context) the plan for getting the manpages written. Please also cc linux-arch@vger.kernel.org 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@kvack.org. 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@kvack.org"> email@kvack.org </a>