[Top][All Lists]

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

Re: directmap vs highmem usage in gnu mach?

From: Samuel Thibault
Subject: Re: directmap vs highmem usage in gnu mach?
Date: Wed, 25 Aug 2021 16:23:23 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Richard Braun, le mer. 25 août 2021 15:59:12 +0200, a ecrit:
> I can't recall exactly, but that's why we write comments, right ?
> See [1].
> Fixing this requires changing all callers to not assume that allocated
> memory can always be directly mapped, in particular some kvtophys calls.

Ok, I was not sure which way to interpret the comment: it says "Instead
of updating all users" and talks about wiring, so I wasn't sure it was
really talking about directmap vs highmem (which AIUI doesn't matter for
wiring), or something else, and whether it was already done/optimized.

I have a patch that makes the vm_fault_page, vm_map_copy_steal_pages,
vm_page_convert, and vm_page_alloc use highmem. It boots fine, can build
packages without problems, I guess that's a good-enough test?


reply via email to

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