Re: [PATCH v2 5/8] ftrace: Add swap_func to ftrace_process_locs()

2024-08-27 Thread Mike Rapoport
On Mon, Aug 26, 2024 at 01:29:09PM -0400, Steven Rostedt wrote: > On Mon, 26 Aug 2024 09:55:29 +0300 > Mike Rapoport wrote: > > > From: Song Liu > > > > ftrace_process_locs sorts module mcount, which is inside RO memory. Add a > > ftrace_swap_func so that archs can use RO-memory-poke function t

[PATCH] um: fix time-travel syscall scheduling hack

2024-08-27 Thread Johannes Berg
From: Johannes Berg The schedule() call there really never did anything at least since the introduction of the EEVDF scheduler, but now I found a case where we permanently hang in a loop of -ERESTARTNOINTR (due to locking.) Work around it by making any syscalls with error return take time (and th