User Tools

Site Tools


multiprocessing

Multiprocessing

multiple cores

Process/Thread per CPU

$ ps -e | grep migration
$ ps -e | grep ksoftirq
$ ps -e | grep cpuhp
$ ps -e | grep idle_inject
$ ps -e | grep kworker (multiple per cpu)

kernel stack running at ring 0

each process has two stacks user space stack kernel space stack

separation: if the user stack is corrupted, we don’t want the kernel clobbered

multiprocessing.txt · Last modified: 2021/01/28 05:46 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki