Page MenuHomeFreeBSD

Combine VM_FREELIST_ISADMA and VM_FREELIST_LOWMEM. They are the same thing.
ClosedPublic

Authored by imp on Jul 16 2018, 3:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 2, 2:34 AM
Unknown Object (File)
Thu, Jan 2, 2:33 AM
Unknown Object (File)
Dec 10 2024, 6:06 AM
Unknown Object (File)
Dec 5 2024, 11:25 AM
Unknown Object (File)
Nov 12 2024, 12:29 PM
Unknown Object (File)
Nov 5 2024, 7:08 PM
Unknown Object (File)
Oct 24 2024, 12:55 AM
Unknown Object (File)
Oct 23 2024, 10:06 PM

Details

Summary

Remove it from arm64, riscv and sparc64. It's not needed there.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18072
Build 17812: arc lint + arc unit

Event Timeline

sys/amd64/include/vmparam.h
115

Shouldn't this be 16 << 20?

Seems ok to me with the boundary definition fixed.

This revision is now accepted and ready to land.Jul 16 2018, 4:08 PM

Please go ahead and commit the arm64 and riscv bits, and let me think about the rest.

sys/amd64/include/vmparam.h
115

Yes. Here and in i386.

FYI, the few integrated ISA devices found in some sun4u and sun4v machines in fact can do 32-bit DMA so VM_FREELIST_ISADMA can go for sparc64 without a replacement, too.

kbowling added inline comments.
sys/arm64/include/vmparam.h
85

Typo 'oone'

alc added inline comments.
sys/amd64/include/vmparam.h
115

Also, a tab instead of a space after the #define here and i386.

sys/i386/include/vmparam.h
100

While you're here, how about adding a comma, specifically, "... ISA DMA, and ..."

Warner, I think that you forgot to reference this review in the commit message, so this review is still open even though this change is committed (in its entirety).