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)
Nov 8 2023, 5:34 AM
Unknown Object (File)
Nov 6 2023, 5:56 AM
Unknown Object (File)
Nov 5 2023, 3:43 AM
Unknown Object (File)
Oct 7 2023, 4:27 AM
Unknown Object (File)
Oct 5 2023, 4:35 AM
Unknown Object (File)
Oct 4 2023, 3:40 AM
Unknown Object (File)
Sep 30 2023, 3:39 AM
Unknown Object (File)
Aug 28 2023, 12:37 AM

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).