This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/3] mm: make pagoff_t type 64-bit
- From: Arnd Bergmann <arnd at arndb dot de>
- To: libc-alpha at sourceware dot org
- Cc: Yury Norov <ynorov at caviumnetworks dot com>, "Dr. Philipp Tomsich" <philipp dot tomsich at theobroma-systems dot com>, Catalin Marinas <catalin dot marinas at arm dot com>, linux-arch at vger dot kernel dot org, LKML <linux-kernel at vger dot kernel dot org>, szabolcs dot nagy at arm dot com, heiko dot carstens at de dot ibm dot com, cmetcalf at ezchip dot com, "Joseph S. Myers" <joseph at codesourcery dot com>, zhouchengming1 at huawei dot com, "Kapoor, Prasun" <Prasun dot Kapoor at caviumnetworks dot com>, Alexander Graf <agraf at suse dot de>, geert at linux-m68k dot org, kilobyte at angband dot pl, manuel dot montezelo at gmail dot com, Andrew Pinski <pinskia at gmail dot com>, linyongting at huawei dot com, Alexey Klimov <klimov dot linux at gmail dot com>, broonie at kernel dot org, "Zhangjian (Bamvor)" <bamvor dot zhangjian at huawei dot com>, linux-arm-kernel <linux-arm-kernel at lists dot infradead dot org>, Maxim Kuvyrkov <maxim dot kuvyrkov at linaro dot org>, Nathan Lynch <Nathan_Lynch at mentor dot com>, Martin Schwidefsky <schwidefsky at de dot ibm dot com>, davem at davemloft dot net, christoph dot muellner at theobroma-systems dot com
- Date: Sun, 11 Dec 2016 15:59:01 +0100
- Subject: Re: [PATCH 3/3] mm: make pagoff_t type 64-bit
- Authentication-results: sourceware.org; auth=none
- References: <1481461003-14361-1-git-send-email-ynorov@caviumnetworks.com> <1481461003-14361-4-git-send-email-ynorov@caviumnetworks.com>
On Sunday, December 11, 2016 6:26:42 PM CET Yury Norov wrote:
> Also fix related interfaces
>
> Signed-off-by: Yury Norov <ynorov@caviumnetworks.com>
> ---
> fs/btrfs/extent_io.c | 2 +-
> fs/ext2/dir.c | 4 ++--
> include/linux/mm.h | 9 +++++----
> include/linux/radix-tree.h | 8 ++++----
> include/linux/types.h | 2 +-
> lib/radix-tree.c | 8 ++++----
> mm/debug.c | 2 +-
> mm/internal.h | 2 +-
> mm/memory.c | 4 ++--
> mm/mmap.c | 7 ++++---
> mm/readahead.c | 4 ++--
> mm/util.c | 3 ++-
> 12 files changed, 29 insertions(+), 26 deletions(-)
>
Thanks Yury for the demonstration. I think this would put the nail
in the coffin of the idea of mmap64 even for Pavel, who didn't
seem convinced already.
Changing all those interfaces and structure, struct page in particular,
is clearly too costly for any advantage we might have otherwise
gained.
Arnd