Re: init is pid 1 vs. initrd

Raul Miller (rdm@test.legislate.com)
Fri, 17 Apr 1998 18:47:40 -0400


H. Peter Anvin <hpa@transmeta.com> wrote:
> That will, unfortunately, not release the initrd memory.

Yes, you'd need a mechanism for that. Three possibilities
come to mind:

(1) magic in the initrd system and it goes away when the last
referencing process exits. This is evil, I think [what
triggers it?]

(2) An explicit command which enables similar magic.

(3) An explicit command which only frees the initrd memory if
nothing is still around which refers to it (returns an error
otherwise).

I'm not sure which would be simplest to implement.

I'm not sure if there are any subtle references which would have
to be forcibly broken.

-- 
Raul

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu