Page MenuHomeFreeBSD

powerpc: implement lock iteration for mmu_oea64 pmap
Needs ReviewPublic

Authored by adrian on Mon, Feb 16, 5:54 PM.
Referenced Files
Unknown Object (File)
Tue, Feb 24, 11:14 AM
Unknown Object (File)
Mon, Feb 23, 9:54 PM
Unknown Object (File)
Sun, Feb 22, 6:12 PM
Unknown Object (File)
Sat, Feb 21, 8:35 PM
Unknown Object (File)
Sat, Feb 21, 6:18 PM
Unknown Object (File)
Fri, Feb 20, 7:22 AM
Unknown Object (File)
Thu, Feb 19, 9:49 AM
Unknown Object (File)
Thu, Feb 19, 12:18 AM

Details

Reviewers
jhibbits
Summary

This is currently a work in progress as although it does work,
there are lock order issues between the vm_object lock and
the pv lock.

This is due to the use of malloc() for pvo entries, which under
enough VM / malloc pressure ends up grabbing the vm_object lock
whilst the pv lock is held via malloc() -> kmem_malloc_domainset() ->
kmem_back_domain().

So, this is a placeholder with the working diff; an implementation
of the pv get/free/chunk management stuff from mmu_radix.c will need
to be dragged over and adapted for the larger pvo entries used
by the hash code.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70711
Build 67594: arc lint + arc unit