Re: [PATCH v3 18/20] x86/ftrace: Use vmalloc special flag

2019-02-21 Thread Edgecombe, Rick P
On Thu, 2019-02-21 at 19:22 -0500, Steven Rostedt wrote: > On Thu, 21 Feb 2019 15:44:49 -0800 > Rick Edgecombe wrote: > > > Use new flag VM_FLUSH_RESET_PERMS for handling freeing of special > > permissioned memory in vmalloc and remove places where memory was set NX > > and RW before freeing whic

Re: [PATCH v3 18/20] x86/ftrace: Use vmalloc special flag

2019-02-21 Thread Steven Rostedt
On Thu, 21 Feb 2019 15:44:49 -0800 Rick Edgecombe wrote: > Use new flag VM_FLUSH_RESET_PERMS for handling freeing of special > permissioned memory in vmalloc and remove places where memory was set NX > and RW before freeing which is no longer needed. > > Cc: Steven Rostedt > Acked-by: Steven Ro

[PATCH v3 18/20] x86/ftrace: Use vmalloc special flag

2019-02-21 Thread Rick Edgecombe
Use new flag VM_FLUSH_RESET_PERMS for handling freeing of special permissioned memory in vmalloc and remove places where memory was set NX and RW before freeing which is no longer needed. Cc: Steven Rostedt Acked-by: Steven Rostedt (VMware) Signed-off-by: Rick Edgecombe --- arch/x86/kernel/ftr