Messages in this thread | | | Date | Fri, 24 Jul 2020 01:24:55 +0300 | From | Jarkko Sakkinen <> | Subject | Re: [PATCH v4 3/7] vmalloc: Add text_alloc() and text_free() |
| |
On Fri, Jul 17, 2020 at 05:52:45PM +0900, Masami Hiramatsu wrote: > On Fri, 17 Jul 2020 06:04:17 +0300 > Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> wrote: > > > Introduce functions for allocating memory for dynamic trampolines, such > > as kprobes. An arch can promote the availability of these functions with > > CONFIG_ARCH_HAS_TEXT_ALLOC. Provide default/fallback implementation > > wrapping module_alloc() and module_memfree(). > > Doesn't it depend on CONFIG_MODULE?
The idea would be that arch specifically promotes that it has text allocator that is not dependent on module subsystem.
E.g. like the patch set does for x86.
/Jarkko
| |