arm pmap locking

Alan Cox alc at rice.edu
Fri Aug 31 03:06:55 UTC 2012


On 08/30/2012 13:12, Ian Lepore wrote:
> On Tue, 2012-08-28 at 13:49 -0500, Alan Cox wrote:
>> Can you please retry with the attached patch?  For the time being, I
>> decided to address the above problem by simply enabling recursion on the
>> new pmap lock.  As I mentioned in my prior message, the lock recursion
>> in the arm pmap is a mistake.  However, I'd rather not change two things
>> at once, i.e., replace the page queues lock and fix the lock recursion.
>> I'll take a look at eliminating the lock recursion later this week.
>>
>> Thanks,
>> Alan
>>
> Sorry for the delay, I finally got around to trying this today, and it
> seems to be working well initially -- it boots to multiuser and the only
> difference in the dmesg.boot with and without the patch is the compile
> date, and the kernel image is 128 bytes smaller with the patch.  I've
> got DIAGNOSTIC and INVARIANTS enabled; I'll run with the patch in place
> and let you know if anything glitches.
>

Thanks!

Alan



More information about the freebsd-arm mailing list