From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751317Ab1GYHCc (ORCPT ); Mon, 25 Jul 2011 03:02:32 -0400 Received: from e23smtp02.au.ibm.com ([202.81.31.144]:41289 "EHLO e23smtp02.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750792Ab1GYHCY (ORCPT ); Mon, 25 Jul 2011 03:02:24 -0400 Date: Mon, 25 Jul 2011 16:32:07 +0930 From: Christopher Yeoh To: Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-man@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: Cross Memory Attach v3 Message-ID: <20110725163207.27336094@lilo> In-Reply-To: <20110721145433.a77818b2.akpm@linux-foundation.org> References: <20110719003537.16b189ae@lilo> <20110721145433.a77818b2.akpm@linux-foundation.org> X-Mailer: Claws Mail 3.7.4 (GTK+ 2.20.1; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 21 Jul 2011 14:54:33 -0700 Andrew Morton wrote: > > > > The following patch attempts to achieve this by allowing a > > destination process, given an address and size from a source > > process, to copy memory directly from the source process into its > > own address space via a system call. There is also a symmetrical > > ability to copy from the current process's address space into a > > destination process's address space. > > > > ... > > > > arch/powerpc/include/asm/systbl.h | 2 > > arch/powerpc/include/asm/unistd.h | 4 > > arch/x86/include/asm/unistd_32.h | 4 > > arch/x86/kernel/syscall_table_32.S | 2 > > fs/aio.c | 4 > > fs/compat.c | 7 > > fs/read_write.c | 8 > > include/linux/compat.h | 3 > > include/linux/fs.h | 7 > > include/linux/syscalls.h | 13 + > > mm/Makefile | 3 > > mm/process_vm_access.c | 446 > > +++++++++++++++++++++++++++++++++++++ > > security/keys/compat.c | 2 > > security/keys/keyctl.c | 2 14 files changed, 490 > > insertions(+), 17 deletions(-) > > Confused. Why no arch/x86/include/asm/unistd_64.h wire-up? I forgot. Have done this now as well as the 32-bit compat and am retesting.... Chris -- cyeoh@au.ibm.com