From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755540AbcEQPk7 (ORCPT ); Tue, 17 May 2016 11:40:59 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:33639 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750758AbcEQPk4 (ORCPT ); Tue, 17 May 2016 11:40:56 -0400 Date: Tue, 17 May 2016 15:40:47 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Szabolcs Nagy CC: Yury Norov , , , , , , , , , , , , , , , , , , , , GNU C Library Subject: Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64 In-Reply-To: <573B0A4D.4090704@arm.com> Message-ID: References: <1459894127-17698-1-git-send-email-ynorov@caviumnetworks.com> <573B0A4D.4090704@arm.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, 17 May 2016, Szabolcs Nagy wrote: > i think even legacy software should be able to deal with 64bit off_t, > so we could avoid having two sets of filesystem apis or is 64bit-only > off_t more work to do in linux/glibc? wordsize-64 directories generally expect 64-bit interfaces. wordsize-32 directories generally expect that there are two sets of filesystem APIs which are not aliased (at the userspace level - the versions for the generic syscall API deal with setting EOVERFLOW in userspace as needed). The "wordsize" concept is not wonderfully well-defined and could do with being split up into multiple better-defined concepts, but that's obvious something pretty tricky to get right, involving a very careful analysis of the existing code. -- Joseph S. Myers joseph@codesourcery.com