Searched hist:af96397de8600232effbff43dc8b4ca20ddc02b1 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | kprobes.h | diff af96397de8600232effbff43dc8b4ca20ddc02b1 Wed Sep 11 16:24:13 CDT 2013 Heiko Carstens <heiko.carstens@de.ibm.com> kprobes: allow to specify custom allocator for insn caches
The current two insn slot caches both use module_alloc/module_free to allocate and free insn slot cache pages.
For s390 this is not sufficient since there is the need to allocate insn slots that are either within the vmalloc module area or within dma memory.
Therefore add a mechanism which allows to specify an own allocator for an own insn slot cache.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
/openbmc/linux/kernel/ |
H A D | kprobes.c | diff af96397de8600232effbff43dc8b4ca20ddc02b1 Wed Sep 11 16:24:13 CDT 2013 Heiko Carstens <heiko.carstens@de.ibm.com> kprobes: allow to specify custom allocator for insn caches
The current two insn slot caches both use module_alloc/module_free to allocate and free insn slot cache pages.
For s390 this is not sufficient since there is the need to allocate insn slots that are either within the vmalloc module area or within dma memory.
Therefore add a mechanism which allows to specify an own allocator for an own insn slot cache.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|