RFC kernel-hacking: introduce CONFIG_NO_AUTO_INLINE
Get series with b4
b4 am [email protected] change-id 20250416-noautoinline-8e9b9e535452Versions newest first
- v3 RFC Latest8 patches 8 repliesIn review
- v2 RFC5 patches 3 repliesSuperseded inferred link
- v1 RFC0 of 7 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- Fix some modpost and objtool warnings
- Try support clang as Bart Van Assche suggested.
- Remove architecture depends as Bart Van Assche suggested.
- Link to v2: https://lore.kernel.org/r/[email protected]
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | nvme: add __always_inline for nvme_pci_npages_prpdrivers/ | +1 | 0 replies | |
| 2/8 | mm: add __always_inline for page_contains_unacceptedmm/ | +1 | 0 replies | |
| 3/8 | vfio/virtio: add __always_inline for virtiovf_get_device_config_sizedrivers/ | +1 | 0 replies | |
| 4/8 | tpm: add __always_inline for tpm_is_hwrng_enableddrivers/ | +1 | 0 replies | |
| 5/8 | rseq: add __always_inline for rseq_kernel_fieldskernel/ | +1 | 0 replies | |
| 6/8 | kcov: add __always_inline for canonicalize_ipkernel/ | +1 | 0 replies | |
| 7/8 | x86/xen: add __init for xen_pgd_walkarch/ | +1 | 0 replies | |
| 8/8 | lib/Kconfig.debug: introduce CONFIG_NO_AUTO_INLINEMakefile lib/ lib/ | +40 | 0 replies |
Reviews trailers per patch
1 of 8 patches has a Reviewed-by or Acked-by.
| Patch | Jarkko Sakkinen |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | R-b |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH RFC v3 0/8] kernel-hacking: introduce CONFIG_NO_AUTO_INLINE
This series introduces a new kernel configuration option NO_AUTO_INLINE, which can be used to disable the automatic inlining of functions.
This will allow the function tracer to trace more functions because it only traces functions that the compiler has not inlined.
Previous discussions can be found at
This patch depends on
[PATCH] drm/i915/pxp: fix undefined reference to
`intel_pxp_gsccs_is_ready_for_sessions'
which can be found at
https://lore.kernel.org/all/[email protected]/
as well as
[RFC PATCH 5/7] RDMA/hns: initialize db in update_srq_db()
which can be found at
https://lore.kernel.org/all/FF922C77946229B6+20250411105459.90782-5-chenlinxuan@uniontech.com/
---
Changes in v3:
- Fix some modpost and objtool warnings
- Try support clang as Bart Van Assche suggested.
- Remove architecture depends as Bart Van Assche suggested.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Resend via b4 to correct Message-ID and recipients.
- Update commit message following suggestions from Jarkko Sakkinen
- Link to v1: https://lore.kernel.org/r/31F42D8141CDD2D0+20250411105142.89296-1-chenlinxuan@uniontech.com
---
Chen Linxuan (4):
rseq: add __always_inline for rseq_kernel_fields
kcov: add __always_inline for canonicalize_ip x86/xen: add __init for xen_pgd_walk lib/Kconfig.debug: introduce CONFIG_NO_AUTO_INLINE
Winston Wen (4):
nvme: add __always_inline for nvme_pci_npages_prp
mm: add __always_inline for page_contains_unaccepted vfio/virtio: add __always_inline for virtiovf_get_device_config_size
tpm: add __always_inline for tpm_is_hwrng_enabled
Makefile | 16 ++++++++++++++++ arch/x86/xen/mmu_pv.c | 2 +- drivers/char/tpm/tpm-chip.c | 2 +- drivers/nvme/host/pci.c | 2 +- drivers/vfio/pci/virtio/legacy_io.c | 2 +- kernel/kcov.c | 2 +- kernel/rseq.c | 2 +- lib/Kconfig.debug | 21 +++++++++++++++++++++ lib/Makefile | 3 +++ mm/page_alloc.c | 2 +- 10 files changed, 47 insertions(+), 7 deletions(-)
---
base-commit: ca91b9500108d4cf083a635c2e11c884d5dd20ea
change-id: 20250416-noautoinline-8e9b9e535452
Best regards,
Signature · 1 line
Chen Linxuan <[email protected]>