Just leave it as "kernel". While here, replace "parked" with "-" (the
typical wait channel for idle threads).
Details
Details
- Reviewers
markj kib olce - Commits
- rG431b3b224db2: thread0: Stop calling thread0 "swapper"
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 69003 Build 65886: arc lint + arc unit
Event Timeline
Comment Actions
This is fine, but there are quite a few more references to "swapper" in the src tree. mac_cred_create_swapper() in particular is a misnomer now. I should have cleaned those up when I removed stack swapping.
| sys/kern/init_main.c | ||
|---|---|---|
| 534 | Might be call it kernel0 | |
| sys/kern/init_main.c | ||
|---|---|---|
| 534 | I only used the same name as that is what threads get by default (and tools like ps, etc. treat identical names as a special case). I think if we want to give it a distinct name, we should maybe use something like "boot" or "startup" that reflects its role. | |