Re: [Patch v2 1/3] kprobes: unify insn caches

2013-08-25 Thread Masami Hiramatsu
(2013/08/23 20:04), Heiko Carstens wrote: > The two insn caches (insn, and optinsn) each have an own mutex and > alloc/free functions (get_[opt]insn_slot() / free_[opt]insn_slot()). > > Since there is the need for yet another insn cache which satifies > dma allocations on s390, unify and simplify

Re: [Patch v2 1/3] kprobes: unify insn caches

2013-08-25 Thread Masami Hiramatsu
(2013/08/23 20:04), Heiko Carstens wrote: The two insn caches (insn, and optinsn) each have an own mutex and alloc/free functions (get_[opt]insn_slot() / free_[opt]insn_slot()). Since there is the need for yet another insn cache which satifies dma allocations on s390, unify and simplify the

[Patch v2 1/3] kprobes: unify insn caches

2013-08-23 Thread Heiko Carstens
The two insn caches (insn, and optinsn) each have an own mutex and alloc/free functions (get_[opt]insn_slot() / free_[opt]insn_slot()). Since there is the need for yet another insn cache which satifies dma allocations on s390, unify and simplify the current implementation: - Move the per insn

[Patch v2 1/3] kprobes: unify insn caches

2013-08-23 Thread Heiko Carstens
The two insn caches (insn, and optinsn) each have an own mutex and alloc/free functions (get_[opt]insn_slot() / free_[opt]insn_slot()). Since there is the need for yet another insn cache which satifies dma allocations on s390, unify and simplify the current implementation: - Move the per insn