All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] Zeroing hash tables in allocator
@ 2017-02-28 14:55 ` Pavel Tatashin
  0 siblings, 0 replies; 18+ messages in thread
From: Pavel Tatashin @ 2017-02-28 14:55 UTC (permalink / raw)
  To: linux-mm, sparclinux

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(-)


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-02-28 19:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-28 14:55 [PATCH v1 0/3] Zeroing hash tables in allocator Pavel Tatashin
2017-02-28 14:55 ` Pavel Tatashin
2017-02-28 14:55 ` [PATCH v1 1/3] sparc64: NG4 memset/memcpy 32 bits overflow Pavel Tatashin
2017-02-28 14:55   ` Pavel Tatashin
2017-02-28 15:12   ` David Miller
2017-02-28 15:12     ` David Miller
2017-02-28 15:56     ` Pasha Tatashin
2017-02-28 15:56       ` Pasha Tatashin
2017-02-28 18:59       ` Matthew Wilcox
2017-02-28 18:59         ` Matthew Wilcox
2017-02-28 19:34         ` Pasha Tatashin
2017-02-28 19:34           ` Pasha Tatashin
2017-02-28 19:58           ` Matthew Wilcox
2017-02-28 19:58             ` Matthew Wilcox
2017-02-28 14:55 ` [PATCH v1 2/3] mm: Zeroing hash tables in allocator Pavel Tatashin
2017-02-28 14:55   ` Pavel Tatashin
2017-02-28 14:55 ` [PATCH v1 3/3] mm: Updated callers to use HASH_ZERO flag Pavel Tatashin
2017-02-28 14:55   ` Pavel Tatashin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.