]> git.itanic.dy.fi Git - linux-stable/commit
mm/khugepaged: use DEFINE_READ_MOSTLY_HASHTABLE macro
authorNick Desaulniers <ndesaulniers@google.com>
Fri, 9 Jun 2023 23:44:45 +0000 (16:44 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 19 Jun 2023 23:19:29 +0000 (16:19 -0700)
commite1ad3e66676479d6a0af6be953767f865c902111
tree533a78d5fda01c65caf76ca83225d5ab70581609
parent3a6358c0dbe6a286a4f4504ba392a6039a9fbd12
mm/khugepaged: use DEFINE_READ_MOSTLY_HASHTABLE macro

These are equivalent, but DEFINE_READ_MOSTLY_HASHTABLE exists to define
a hashtable in the .data..read_mostly section.

Link: https://lkml.kernel.org/r/20230609-khugepage-v1-1-dad4e8382298@google.com
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Yang Shi <shy828301@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/khugepaged.c