From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752098AbcFUKkz (ORCPT ); Tue, 21 Jun 2016 06:40:55 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:34858 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751525AbcFUKgD (ORCPT ); Tue, 21 Jun 2016 06:36:03 -0400 Date: Tue, 21 Jun 2016 10:35:27 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Yury Norov CC: , , , , , , , , , , Yury Norov Subject: Re: [PATCH 21/27] [AARCH64] ILP32: introduce syscalls that pass off_t In-Reply-To: <1466485631-3532-23-git-send-email-ynorov@caviumnetworks.com> Message-ID: References: <1466485631-3532-1-git-send-email-ynorov@caviumnetworks.com> <1466485631-3532-23-git-send-email-ynorov@caviumnetworks.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 21 Jun 2016, Yury Norov wrote: > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/fallocate.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/fallocate64.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/ftruncate.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/ftruncate64.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/llseek.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/lseek.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/mmap.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/posix_fadvise.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/posix_fadvise64.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/pread.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/pread64.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/pwrite.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/pwrite64.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/readahead.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/truncate.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/truncate64.c I don't like how you need so many ilp32 files. Presumably this is a new convention to be followed for all future ilp32 ABIs on 64-bit architectures. Meaning that you should have some sysdeps macros to say whether this convention is in use and then make either the sysdeps/unix/sysv/linux files, or the .../generic files, or a new architecture-independent sysdeps directory, implement that convention. Note also how Adhemerval recently unified pread / pwrite implementations. Adding new files for those functions goes against that unification. -- Joseph S. Myers joseph@codesourcery.com