Re: [RFC PATCH 1/2] x86_64: Fix updating fsgs base on context switch

2023-05-11 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le jeu. 11 mai 2023 16:58:43 +0300, a ecrit: > Commit 31dd30a94a682955c3c9e2f42252b4a07687067a "add setting gs/fsbase" > added the code to set fs and gs bases on context_switch. However, this > was only being done when switching context via the explicit > switch_con

[RFC PATCH 1/2] x86_64: Fix updating fsgs base on context switch

2023-05-11 Thread Sergey Bugaev
Commit 31dd30a94a682955c3c9e2f42252b4a07687067a "add setting gs/fsbase" added the code to set fs and gs bases on context_switch. However, this was only being done when switching context via the explicit switch_context() method, but not in other cases where the context is switched, such as with call