> Well, I'd like to keep ptrace_resume_action(). ptrace_resume() is fat > enough, and while ptrace_resume_action's code is simple, it is not easily > readable.
Your preference is fine here. Subfunctions can become counterproductive when you have to complicate the caller's control flow because of them (where you might have used multiple returns more concisely in a single function). Net readability (mostly by being shorter in total) is the only priority. Thanks, Roland