Message ID | 878rrrh32q.fsf_-_@email.froward.int.ebiederm.org (mailing list archive) |
---|---|
Headers | show |
Series | ptrace: cleaning up ptrace_stop | expand |
On Tue, Apr 26, 2022 at 05:50:21PM -0500, Eric W. Biederman wrote: > .... Peter Zijlstra has > been rewriting the classic freezer and in earlier parts of this > discussion so I presume it is also a problem for PREEMPT_RT. Ah, the freezer thing is in fact a sched/arm64 issue, the common issue between these two issues is ptrace though. Specifically, on recent arm64 chips only a subset of CPUs can execute arm32 code and 32bit processes are restricted to that subset. If by some mishap you try and execute a 32bit task on a non-capable CPU it gets terminated without prejudice. Now, the current freezer has this problem that tasks can spuriously thaw too soon (where too soon is before SMP is restored) which leads to these 32bit tasks being killed dead. That, and it was a good excuse to fix up the current freezer :-)