From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by kanga.kvack.org (Postfix) with ESMTP id 5A4196B0253 for ; Tue, 8 Dec 2015 16:37:59 -0500 (EST) Received: by wmec201 with SMTP id c201so47330824wme.1 for ; Tue, 08 Dec 2015 13:37:58 -0800 (PST) Received: from mout.kundenserver.de (mout.kundenserver.de. [212.227.126.187]) by mx.google.com with ESMTPS id x5si6889088wjx.154.2015.12.08.13.37.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Dec 2015 13:37:58 -0800 (PST) From: Arnd Bergmann Subject: Re: [PATCH V3][for-next] mm: add a new vector based madvise syscall Date: Tue, 08 Dec 2015 22:37:47 +0100 Message-ID: <5198777.4WMnOS8J5R@wuerfel> In-Reply-To: <7c6ce0f1fe29fc22faf72134f4e2674da8d3d149.1449532062.git.shli@fb.com> References: <7c6ce0f1fe29fc22faf72134f4e2674da8d3d149.1449532062.git.shli@fb.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: owner-linux-mm@kvack.org List-ID: To: Shaohua Li Cc: linux-mm@kvack.org, linux-api@vger.kernel.org, Kernel-team@fb.com, Andrew Morton , Rik van Riel , Mel Gorman , Hugh Dickins , Johannes Weiner , Andrea Arcangeli , Andi Kleen , Minchan Kim On Monday 07 December 2015 15:54:07 Shaohua Li wrote: > index dc1040a..08466c7 100644 > --- a/arch/x86/entry/syscalls/syscall_64.tbl > +++ b/arch/x86/entry/syscalls/syscall_64.tbl > @@ -333,6 +333,7 @@ > 324 common membarrier sys_membarrier > 325 common mlock2 sys_mlock2 > 326 common copy_file_range sys_copy_file_range > +327 common madvisev sys_madvisev > > # > # x32-specific system call numbers start at 512 to avoid cache impact > An iovec has different sizes on 32-bit and 64-bit user space, so I think it can't be marked "common" here and you need to implement a compat_sys_madvisev function instead. Arnd -- 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/ . Don't email: email@kvack.org