mbox series

[0/4] Runtime constants series

Message ID 20240709155850.1034904-1-torvalds@linux-foundation.org (mailing list archive)
Headers show
Series Runtime constants series | expand

Message

Linus Torvalds July 9, 2024, 3:52 p.m. UTC
This is also available in the (possibly still to be rebased) git tree at

  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git runtime-constants

for people who just prefer to do a 'git fetch' and look at things
locally. 

Four patches to make the dentry cache lookup use the new runtime
constants feature rather than load the hash table address and size
dynamically:

 vfs: dcache: move hashlen_hash() from callers into d_hash()
 runtime constants: add default dummy infrastructure
 runtime constants: add x86 architecture support
 arm64: add 'runtime constant' support

with the diffstat being

 arch/arm64/include/asm/runtime-const.h | 88 ++++++++++++++++++++++++++++++++++
 arch/arm64/kernel/vmlinux.lds.S        |  3 ++
 arch/x86/include/asm/runtime-const.h   | 61 +++++++++++++++++++++++
 arch/x86/kernel/vmlinux.lds.S          |  3 ++
 fs/dcache.c                            | 17 +++++--
 include/asm-generic/Kbuild             |  1 +
 include/asm-generic/runtime-const.h    | 15 ++++++
 include/asm-generic/vmlinux.lds.h      |  8 ++++
 8 files changed, 192 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm64/include/asm/runtime-const.h
 create mode 100644 arch/x86/include/asm/runtime-const.h
 create mode 100644 include/asm-generic/runtime-const.h

Thanks,

           Linus