RE: [PATCH 1/2] x86: profiling: remove lock functions hack for !FRAME_POINTER

From: David Laight
Date: Wed Apr 12 2023 - 06:01:45 EST


From: Chen Zhongjin
> Sent: 12 April 2023 08:02
...
> > 4. !CONFIG_FRAME_POINTER is probably even more rare today than it was in
> > 2006
>
> No. !CONFIG_FRAME_POINTER is more common today because of UNWINDER_ORC.
> And that is why the bug is triggered more frequently.

CONFIG_FRAME_POINTER is pretty much required (on x86-64)
for the user copy checks that are enabled in distro kernels.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)