bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 1/7] Shrink struct vm_page size


From: Samuel Thibault
Subject: Re: [RFC PATCH 1/7] Shrink struct vm_page size
Date: Mon, 3 Jul 2023 02:02:20 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Hello,

I applied this, *but* I see:

 *      Fields in this structure are locked either by the lock on the
 *      object that the page belongs to (O) or by the lock on the page
 *      queues (P).  [Some fields require that both locks be held to
 *      change that field; holding either lock is sufficient to read.]

That's not going to work at all with bitfields...

We do need to sort this out by separating bitfields that are not
protected the same way, otherwise it's no wonder if SMP fails oddly.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]