Re: vm_object shadow pages and task termination

Samuel Thibault <[email protected]>
Newsgroups gmane.linux.debian.ports.hurd
Organization I am not organized
Message-ID <aEWsilbQ20mD3bH4@begin>
Michael Kelly, le dim. 08 juin 2025 08:35:02 +0100, a ecrit:
> On 07/06/2025 21:47, Samuel Thibault wrote:
> > There is one thing, however: I see in some places going through shadows
> > that they lock the next object before unlocking the previous. This
> > indeed seems safer against object->shadow changing under our feet.
> That is my mistake and you are correct. See the revised patch at the end of
> this message which addresses that. I've kept the code in the same style as
> the existing code of vm_object.c (ie. use of while(1)/break).

I have fixed it and applied it, thanks!

Samuel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.