* [RFC PATCH 0/7] kernel-hacking: introduce CONFIG_NO_AUTO_INLINE
@ 2025-04-11 10:52 Chen Linxuan
2025-04-16 4:48 ` Christoph Hellwig
0 siblings, 1 reply; 4+ messages in thread
From: Chen Linxuan @ 2025-04-11 10:52 UTC (permalink / raw)
To: Masahiro Yamada, Nathan Chancellor, Nicolas Schier, Peter Huewe,
Jarkko Sakkinen, Jason Gunthorpe, Jani Nikula, Joonas Lahtinen,
Rodrigo Vivi, Tvrtko Ursulin, David Airlie, Simona Vetter,
Chengchang Tang, Junxian Huang, Leon Romanovsky, Keith Busch,
Jens Axboe, Christoph Hellwig, Sagi Grimberg, Yishai Hadas,
Shameer Kolothum, Kevin Tian, Alex Williamson, Andrew Morton,
Nick Desaulniers, Bill Wendling, Justin Stitt, Chen Linxuan
Cc: linux-kbuild, linux-kernel, linux-integrity, intel-gfx,
dri-devel, linux-rdma, linux-nvme, kvm, virtualization, linux-mm,
llvm
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 here:
Link: https://lore.kernel.org/all/20181028130945.23581-3-changbin.du@gmail.com/
Chen Linxuan (2):
drm/i915/pxp: fix undefined reference to
`intel_pxp_gsccs_is_ready_for_sessions'
RDMA/hns: initialize db in update_srq_db()
Winston Wen (5):
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
lib/Kconfig.debug: introduce CONFIG_NO_AUTO_INLINE
Makefile | 6 ++++++
drivers/char/tpm/tpm-chip.c | 2 +-
drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.h | 8 ++++++--
drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 2 +-
drivers/nvme/host/pci.c | 2 +-
drivers/vfio/pci/virtio/legacy_io.c | 2 +-
lib/Kconfig.debug | 15 +++++++++++++++
mm/page_alloc.c | 2 +-
8 files changed, 32 insertions(+), 7 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [RFC PATCH 0/7] kernel-hacking: introduce CONFIG_NO_AUTO_INLINE
2025-04-11 10:52 [RFC PATCH 0/7] kernel-hacking: introduce CONFIG_NO_AUTO_INLINE Chen Linxuan
@ 2025-04-16 4:48 ` Christoph Hellwig
2025-04-16 10:09 ` Chen Linxuan
0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2025-04-16 4:48 UTC (permalink / raw)
To: Chen Linxuan
Cc: Masahiro Yamada, Nathan Chancellor, Nicolas Schier, Peter Huewe,
Jarkko Sakkinen, Jason Gunthorpe, Jani Nikula, Joonas Lahtinen,
Rodrigo Vivi, Tvrtko Ursulin, David Airlie, Simona Vetter,
Chengchang Tang, Junxian Huang, Leon Romanovsky, Keith Busch,
Jens Axboe, Christoph Hellwig, Sagi Grimberg, Yishai Hadas,
Shameer Kolothum, Kevin Tian, Alex Williamson, Andrew Morton,
Nick Desaulniers, Bill Wendling, Justin Stitt, linux-kbuild,
linux-kernel, linux-integrity, intel-gfx, dri-devel, linux-rdma,
linux-nvme, kvm, virtualization, linux-mm, llvm
Your series did the grve mistake of sending various patches only
to some recipients making it unreviewable.
But doing less and more explicitly inlining in general seems very
questionable.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC PATCH 0/7] kernel-hacking: introduce CONFIG_NO_AUTO_INLINE
2025-04-16 4:48 ` Christoph Hellwig
@ 2025-04-16 10:09 ` Chen Linxuan
0 siblings, 0 replies; 4+ messages in thread
From: Chen Linxuan @ 2025-04-16 10:09 UTC (permalink / raw)
To: Christoph Hellwig
Cc: Chen Linxuan, Masahiro Yamada, Nathan Chancellor, Nicolas Schier,
Peter Huewe, Jarkko Sakkinen, Jason Gunthorpe, Jani Nikula,
Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin, David Airlie,
Simona Vetter, Chengchang Tang, Junxian Huang, Leon Romanovsky,
Keith Busch, Jens Axboe, Sagi Grimberg, Yishai Hadas,
Shameer Kolothum, Kevin Tian, Alex Williamson, Andrew Morton,
Nick Desaulniers, Bill Wendling, Justin Stitt, linux-kbuild,
linux-kernel, linux-integrity, intel-gfx, dri-devel, linux-rdma,
linux-nvme, kvm, virtualization, linux-mm, llvm
Sorry for the mistake, v2 has been send:
https://lore.kernel.org/all/20250416-noautoinline-v2-0-e69a2717530f@uniontech.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [RFC PATCH 0/7] kernel-hacking: introduce CONFIG_NO_AUTO_INLINE
@ 2025-04-11 10:51 Chen Linxuan
0 siblings, 0 replies; 4+ messages in thread
From: Chen Linxuan @ 2025-04-11 10:51 UTC (permalink / raw)
To: Masahiro Yamada, Nathan Chancellor, Nicolas Schier, Peter Huewe,
Jarkko Sakkinen, Jason Gunthorpe, Jani Nikula, Joonas Lahtinen,
Rodrigo Vivi, Tvrtko Ursulin, David Airlie, Simona Vetter,
Chengchang Tang, Junxian Huang, Leon Romanovsky, Keith Busch,
Jens Axboe, Christoph Hellwig, Sagi Grimberg, Yishai Hadas,
Shameer Kolothum, Kevin Tian, Alex Williamson, Andrew Morton,
Nick Desaulniers, Bill Wendling, Justin Stitt, Chen Linxuan
Cc: linux-kbuild, linux-kernel, linux-integrity, intel-gfx,
dri-devel, linux-rdma, linux-nvme, kvm, virtualization, linux-mm,
llvm
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 here:
Link: https://lore.kernel.org/all/20181028130945.23581-3-changbin.du@gmail.com/
Chen Linxuan (2):
drm/i915/pxp: fix undefined reference to
`intel_pxp_gsccs_is_ready_for_sessions'
RDMA/hns: initialize db in update_srq_db()
Winston Wen (5):
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
lib/Kconfig.debug: introduce CONFIG_NO_AUTO_INLINE
Makefile | 6 ++++++
drivers/char/tpm/tpm-chip.c | 2 +-
drivers/gpu/drm/i915/pxp/intel_pxp_gsccs.h | 8 ++++++--
drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 2 +-
drivers/nvme/host/pci.c | 2 +-
drivers/vfio/pci/virtio/legacy_io.c | 2 +-
lib/Kconfig.debug | 15 +++++++++++++++
mm/page_alloc.c | 2 +-
8 files changed, 32 insertions(+), 7 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-04-16 10:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-11 10:52 [RFC PATCH 0/7] kernel-hacking: introduce CONFIG_NO_AUTO_INLINE Chen Linxuan
2025-04-16 4:48 ` Christoph Hellwig
2025-04-16 10:09 ` Chen Linxuan
-- strict thread matches above, loose matches on Subject: below --
2025-04-11 10:51 Chen Linxuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox