On Fri, Oct 21, 2022 at 10:55:57PM +0200, Mark Kettenis wrote: > Be careful. By moving more stuff into .rodata, you may overflow the > .text/.rodata block. Make sure you build and test the kernels and > also test an actual bsd.rd.
Yes, I keep testing bsd and bsd.rd/miniroot on amd64 and sparc64. Other archs also, but not as often. Of all my .rodata/constify diffs, only the ahc(4)/ahd(4) one effected RAMDISK (sparc64 only has ahc), other diffs effect only GENERIC. DDB is GENERIC only as well.