[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/4] proc: Follow p_parent to root for checking startup proce
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 3/4] proc: Follow p_parent to root for checking startup process |
Date: |
Sat, 17 Apr 2021 13:23:52 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Damien Zammit, le sam. 17 avril 2021 21:02:15 +1000, a ecrit:
> On 17/4/21 7:40 pm, Samuel Thibault wrote:
> > Damien Zammit, le sam. 17 avril 2021 19:12:11 +1000, a ecrit:
> >> Since the bootstrap filesystem is no longer a single process,
> >> but can be spread among eg, pci-arbiter and rumpdisk, we cannot
> >> just check the p_parent of the process
> >
> > ? Aren't all of pci-arbiter, rumpdisk, ext2fs, proc, auth all children
> > of startup all the same?
>
> When I boot arbiter+rumpdisk the pstree looks like:
>
> |-pci-arbiter
> |-startup-+-auth
> |-ext2fs-+-console...
> |-gnumach
> `-proc
Yes, but that's only it's missing the proc_child call, which your other
patch is precisely meant to fix.
Samuel