* Reap zombies from all domains. */
| 649 | * Reap zombies from all domains. |
| 650 | */ |
| 651 | static void |
| 652 | thread_reap_all(void) |
| 653 | { |
| 654 | struct thread_domain_data *tdd; |
| 655 | int i, domain; |
| 656 | |
| 657 | domain = PCPU_GET(domain); |
| 658 | for (i = 0; i < vm_ndomains; i++) { |
| 659 | tdd = &thread_domain_data[(i + domain) % vm_ndomains]; |
| 660 | thread_reap_domain(tdd); |
| 661 | } |
| 662 | } |
| 663 | |
| 664 | /* |
| 665 | * Reap zombies from local domain. |
no test coverage detected