From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f197.google.com (mail-pf0-f197.google.com [209.85.192.197]) by kanga.kvack.org (Postfix) with ESMTP id EE1576B03B9 for ; Tue, 28 Feb 2017 09:47:43 -0500 (EST) Received: by mail-pf0-f197.google.com with SMTP id 6so16505364pfd.6 for ; Tue, 28 Feb 2017 06:47:43 -0800 (PST) Received: from userp1040.oracle.com (userp1040.oracle.com. [156.151.31.81]) by mx.google.com with ESMTPS id r9si1971102pgd.129.2017.02.28.06.47.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Feb 2017 06:47:43 -0800 (PST) From: Pavel Tatashin Subject: [PATCH v1 0/3] Zeroing hash tables in allocator Date: Tue, 28 Feb 2017 09:55:43 -0500 Message-Id: <1488293746-965735-1-git-send-email-pasha.tatashin@oracle.com> Sender: owner-linux-mm@kvack.org List-ID: To: linux-mm@kvack.org, sparclinux@vger.kernel.org On large machines hash tables can be many gigabytes in size and it is inefficient to zero them in a loop without platform specific optimizations. Using memset() provides a standard platform optimized way to zero the memory. Pavel Tatashin (3): sparc64: NG4 memset/memcpy 32 bits overflow mm: Zeroing hash tables in allocator mm: Updated callers to use HASH_ZERO flag arch/sparc/lib/NG4memcpy.S | 71 ++++++++++++++++------------------- arch/sparc/lib/NG4memset.S | 26 ++++++------ fs/dcache.c | 18 ++------- fs/inode.c | 14 +------ fs/namespace.c | 10 +---- include/linux/bootmem.h | 1 + kernel/locking/qspinlock_paravirt.h | 3 +- kernel/pid.c | 7 +-- mm/page_alloc.c | 12 ++++- 9 files changed, 67 insertions(+), 95 deletions(-) -- 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