Skip to content

Runtime constants series

Linus Torvalds linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vfs: dcache: move hashlen_hash() from callers into d_hash()fs/dcache.c+4 -40 replies
2/4runtime constants: add default dummy infrastructurefs/dcache.c include/asm-generic/Kbuild include/asm-generic/runtime-const.h +1 more+34 -10 replies
3/4runtime constants: add x86 architecture supportarch/x86/include/asm/runtime-const.h arch/x86/kernel/vmlinux.lds.S+64 -00 replies
4/4arm64: add 'runtime constant' supportarch/arm64/include/asm/runtime-const.h arch/arm64/kernel/vmlinux.lds.S+91 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Runtime constants series

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