parisc: Optimize switch_mm
We only need to switch contexts when prev != next, and we don't need to disable interrupts to do the check. Signed-off-by: NJohn David Anglin <dave.anglin@bell.net> Signed-off-by: NHelge Deller <deller@gmx.de>
Showing
想要评论请 注册 或 登录