From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by kanga.kvack.org (Postfix) with ESMTP id 4560A6B0069 for ; Sun, 20 Nov 2011 05:16:19 -0500 (EST) Received: by iaek3 with SMTP id k3so7826287iae.14 for ; Sun, 20 Nov 2011 02:16:17 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20110719003537.16b189ae@lilo> References: <20110719003537.16b189ae@lilo> Date: Sun, 20 Nov 2011 11:16:17 +0100 Message-ID: Subject: Re: Cross Memory Attach v3 From: Geert Uytterhoeven Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: Christopher Yeoh Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-man@vger.kernel.org, linux-arch@vger.kernel.org, Linux/m68k Hi Christopher, On Mon, Jul 18, 2011 at 17:05, Christopher Yeoh wrote: > For arch maintainers there are some simple tests to be able to quickly > verify that the syscalls are working correctly here: I'm wiring up these new syscalls on m68k. > http://ozlabs.org/~cyeoh/cma/cma-test-20110718.tgz The included README talks about: setup_process_readv_simple setup_process_readv_iovec setup_process_writev while the actual test executables are called: setup_process_vm_readv_simple setup_process_vm_readv_iovec setup_process_vm_writev On m68k (ARAnyM), the first and third test succeed. The second one fails, though: # Setting up target with num iovecs 10, test buffer size 100000 Target process is setup Run the following to test: ./t_process_vm_readv_iovec 1574 10 0x800030b0 89 0x80003110 38302 0x8000c6b8 22423 0x80011e58 18864 0x80016810 583 0x80016a60 8054 0x800189e0 3417 0x80019740 368 0x800198b8 897 0x80019c40 7003 and in the other window: # ./t_process_vm_readv_iovec 1574 10 0x800030b0 89 0x80003110 38302 0x8000c6b8 22423 0x80011e58 18864 0x80016810 583 0x80016a60 8054 0x800189e0 3417 0x80019740 368 0x800198b8 897 0x80019c40 7003 copy_from_process failed: Invalid argument error code: 29 # Any suggestions? Gr{oetje,eeting}s, =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k= .org In personal conversations with technical people, I call myself a hacker. Bu= t when I'm talking to journalists I just say "programmer" or something like t= hat. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0=C2=A0 -- Linus Torvalds -- 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: email@kvack.org