Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 1
    So if PID 0 is swapper, then what is kswapd[0-9]*, which on my system has PID 52 currently? It seems to also be responsible for paging. Commented Jan 12, 2017 at 12:35
  • 1
    @Ruslan - if you have follow on questions please ask them on the main site, comments are not meant for this. Reference this question in your new question. Commented Jan 12, 2017 at 13:43
  • well, but when we create a new process using fork child process get pid 0? Commented Sep 9, 2017 at 6:32
  • @roottraveller not necessarily, whatever the parents PID is where the fork occurred will be what shows up. Commented Sep 9, 2017 at 12:03
  • @slm that's not what @/roottraveller is asking. Commented Oct 4, 2022 at 22:44