From: Borislav Petkov > Sent: 25 April 2020 18:53 ... > IOW, something like this (ontop) which takes care of the xen case too. > If it needs to be used by all arches, then I'll split the patch: . > - asm (""); > + prevent_tail_call_optimization(); > }
One obvious implementation would be a real function call. Which the compiler would convert into a tail call. Just to confuse matters :-) David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)