Re: [RFC PATCH for 4.15 v12 00/22] Restartable sequences and CPU op vector

From: Andi Kleen
Date: Thu Nov 23 2017 - 16:49:29 EST

> Also, turning both line-level and instruction-level single-stepping into
> infinite loops looks pretty much like a new kernel facility that breaks
> user-space. It's a no-go from my point of view.

You could fix it at the debugger level with suitable annotation. Just
turn the whole rseq into an extended line, and make sure it is handled
for instruction stepping too.