User Details
- User Since
- Dec 14 2014, 5:52 AM (573 w, 2 d)
Yesterday
Mon, Dec 8
Wed, Dec 3
Tue, Dec 2
Fri, Nov 28
Thu, Nov 27
Wed, Nov 26
Tue, Nov 25
Mon, Nov 24
Sun, Nov 23
Can you elaborate on what you saw when debugging this problem? In particular, whether the map entries had OBJ_ONEMAPPING set? In principle, the ref_count and size shouldn't be a concern if the object has OBJ_ONEMAPPING set. For example, suppose there is an anonymous mapping (with OBJ_ONEMAPPING set) for the range [A, D). Further, suppose we punch a hole in the middle of that mapping, by calling munmap() on the range [B, C) where A < B < C < D. Now, we have two mappings, [A, B) and [C, D), that both reference the original object, and that object should still have OBJ_ONEMAPPING set. Because OBJ_ONEMAPPING is set, the munmap() should have freed any physical pages and swap space from the object that fell within the range [B, C). So, if a new anonymous mapping is created starting at either B or D, we should be able to safely coalesce it.
Oct 10 2025
Oct 9 2025
Oct 4 2025
It has been a long time since I looked at this man page. In the interest of making sure that these changes were written in an style consistent with the rest of the man page, I decided to take a look, and having done so the following bits concern me:
Sep 30 2025
Sep 28 2025
Sep 24 2025
Sep 14 2025
I am happy to see how much simpler this has gotten, particularly the elimination of the range lock.
Sep 3 2025
Sep 2 2025
Sep 1 2025
In principle, I am okay with this change. However, I do have some questions.
Aug 29 2025
I have been following this, but have not given it a careful reading. I should be able to do so over the weekend.
Aug 28 2025
Aug 16 2025
Aug 10 2025
Aug 9 2025
Aug 2 2025
Jul 30 2025
Jul 29 2025
Jul 27 2025
Eliminate unnecessary indirection.
Jul 26 2025
Jul 25 2025
Jul 23 2025
Jul 20 2025
Jul 19 2025
Jul 18 2025
Jul 17 2025
I have two related observations:
Jul 16 2025
Use ADDR_IS_KERNEL.
I also have an upcoming change in this area. AMD Ryzen processors have long supported a subset of the invpcid instruction’s functionality, even though they don’t support PCID. Specifically, they support the functionality to invalidate PG_G mappings, and not surprisingly this is supposed to be faster than toggling the PGE bit in CR4.
Jul 15 2025
This can be abandoned.
Jul 14 2025
Jul 13 2025
Jul 12 2025
See inline comment for an explanation.
Jul 11 2025
Jul 10 2025
Jul 9 2025
Rename remove_pt to demote_kl2e to better reflect what it controls.
Jul 7 2025
Jul 6 2025
This lookup originated here:
commit 87b646630c4892e21446cd096bea6bcaecea33ac Author: Mark Johnston <markj@FreeBSD.org> Date: Mon Nov 15 11:35:44 2021 -0500
