Details
- Reviewers
alc kib - Commits
- rGa9d6f1fe0a2f: Remove some remaining references to VM_ALLOC_NOOBJ
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/vm/vm_page.h | ||
---|---|---|
545 | I would leave this flag under some name like VM_AVAIL0, mostly because all flags bits are already consumed. |
sys/vm/vm_page.h | ||
---|---|---|
545 | 0x800 is unused too. |
sys/vm/uma.h | ||
---|---|---|
486–487 | I think that we should have a different word, not "anonymous", to describe these pages. Most so-called "anonymous memory" consists of pages that belong to VM objects. |
sys/vm/uma.h | ||
---|---|---|
486–487 | Perhaps "unnamed"? Elsewhere we refer to the <object, pindex> tuple of a page as its "identity", so some adjective similar to "anonymous" seems appropriate. |
sys/vm/uma.h | ||
---|---|---|
486–487 | We are not space constrained here, i.e., we are not trying to come up with a short phrase that fits on the same as a #define, so I would argue that we unambiguously spell out what we mean. |
Try to make the uma_reserve_kva() clearer: don't mention VM objects
at all since it doesn't really make sense to mention such details
in a public header. Fix the comment above noobj_alloc().