Re: [RFC PATCH 2/3] arch/powerpc : optprobes for powerpc core

2016-05-20 Thread Masami Hiramatsu
On Thu, 19 May 2016 13:19:42 +0530 Anju T wrote: > >> +void arch_unoptimize_kprobes(struct list_head *oplist, > >> + struct list_head *done_list) > >> +{ > >> + struct optimized_kprobe *op; > >> + struct optimized_kprobe *tmp; > >> + > >> +

Re: [RFC PATCH 2/3] arch/powerpc : optprobes for powerpc core

2016-05-20 Thread Masami Hiramatsu
On Thu, 19 May 2016 13:19:42 +0530 Anju T wrote: > >> +void arch_unoptimize_kprobes(struct list_head *oplist, > >> + struct list_head *done_list) > >> +{ > >> + struct optimized_kprobe *op; > >> + struct optimized_kprobe *tmp; > >> + > >> + list_for_each_entry_safe(op,

Re: [RFC PATCH 2/3] arch/powerpc : optprobes for powerpc core

2016-05-19 Thread Anju T
Hi Masami, Thank you for reviewing the patch. On Wednesday 18 May 2016 08:43 PM, Masami Hiramatsu wrote: On Wed, 18 May 2016 02:09:37 +0530 Anju T wrote: Instruction slot for detour buffer is allocated from the reserved area. For the time being 64KB is reserved in

Re: [RFC PATCH 2/3] arch/powerpc : optprobes for powerpc core

2016-05-19 Thread Anju T
Hi Masami, Thank you for reviewing the patch. On Wednesday 18 May 2016 08:43 PM, Masami Hiramatsu wrote: On Wed, 18 May 2016 02:09:37 +0530 Anju T wrote: Instruction slot for detour buffer is allocated from the reserved area. For the time being 64KB is reserved in memory for this purpose.

Re: [RFC PATCH 2/3] arch/powerpc : optprobes for powerpc core

2016-05-18 Thread Masami Hiramatsu
On Wed, 18 May 2016 02:09:37 +0530 Anju T wrote: > Instruction slot for detour buffer is allocated from > the reserved area. For the time being 64KB is reserved > in memory for this purpose. ppc_get_optinsn_slot() and > ppc_free_optinsn_slot() are geared towards the

Re: [RFC PATCH 2/3] arch/powerpc : optprobes for powerpc core

2016-05-18 Thread Masami Hiramatsu
On Wed, 18 May 2016 02:09:37 +0530 Anju T wrote: > Instruction slot for detour buffer is allocated from > the reserved area. For the time being 64KB is reserved > in memory for this purpose. ppc_get_optinsn_slot() and > ppc_free_optinsn_slot() are geared towards the allocation and freeing > of

[RFC PATCH 2/3] arch/powerpc : optprobes for powerpc core

2016-05-17 Thread Anju T
Instruction slot for detour buffer is allocated from the reserved area. For the time being 64KB is reserved in memory for this purpose. ppc_get_optinsn_slot() and ppc_free_optinsn_slot() are geared towards the allocation and freeing of memory from this area. Signed-off-by: Anju T

[RFC PATCH 2/3] arch/powerpc : optprobes for powerpc core

2016-05-17 Thread Anju T
Instruction slot for detour buffer is allocated from the reserved area. For the time being 64KB is reserved in memory for this purpose. ppc_get_optinsn_slot() and ppc_free_optinsn_slot() are geared towards the allocation and freeing of memory from this area. Signed-off-by: Anju T ---