Re: [PATCH v2] x86/oprofile: remove compat accessors usage from backtrace

2021-04-27 Thread Roger Pau Monné
On Mon, Apr 26, 2021 at 09:49:13AM +0200, Jan Beulich wrote: > On 23.04.2021 16:37, Roger Pau Monne wrote: > > Remove the unneeded usage of the compat layer to copy frame pointers > > from guest address space. Instead just use raw_copy_from_guest. > > > > While there drop the checks for the access

Re: [PATCH v2] x86/oprofile: remove compat accessors usage from backtrace

2021-04-26 Thread Jan Beulich
On 23.04.2021 16:37, Roger Pau Monne wrote: > Remove the unneeded usage of the compat layer to copy frame pointers > from guest address space. Instead just use raw_copy_from_guest. > > While there drop the checks for the accessibility of one struct > frame_head beyond the current one: it's not cle

[PATCH v2] x86/oprofile: remove compat accessors usage from backtrace

2021-04-23 Thread Roger Pau Monne
Remove the unneeded usage of the compat layer to copy frame pointers from guest address space. Instead just use raw_copy_from_guest. While there drop the checks for the accessibility of one struct frame_head beyond the current one: it's not clear why it's needed and all the hypnoses point to dropp