Re: [PATCH gnumach] ast: Implement cause_ast_check() by switching cpus

2023-08-06 Thread Samuel Thibault
Damien Zammit, le sam. 05 août 2023 16:16:41 +, a ecrit: > If the current processor is not the one we want to run an ast on, > we can bind the current thread to the processor we want, and force a > thread switch to that one, then run the ast_check() on the right cpu. Err, that's an expensive w

[PATCH gnumach] ast: Implement cause_ast_check() by switching cpus

2023-08-05 Thread Damien Zammit
If the current processor is not the one we want to run an ast on, we can bind the current thread to the processor we want, and force a thread switch to that one, then run the ast_check() on the right cpu. --- i386/i386/ast_check.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(