NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/57641: -current/i386 no longer installs in 32 MB



> Date: Wed,  4 Oct 2023 20:20:02 +0000 (UTC)
> From: Andrew Doran <ad%netbsd.org@localhost>
> 
> It's probably not an satisfying answer but I don't think it's a valid test
> because DIAGNOSTIC uses a lot more memory and we shouldn't be shipping
> actual release kernels with it enabled.

How much more memory?  DIAGNOSTIC is supposed to be reasonably cheap,
mostly cheap predicted-not-taken branches in assertions.  Should we
move more things to DEBUG instead for expensive checks and higher
memory usage?

> Looking back over the history for the amd64 GENERIC kernel it seems like
> nobody has disabled it for any release since NetBSD 5 though which sucks.

What history did you check?  It has always been disabled in every
release branch.  See, e.g., this commit on the netbsd-9 branch:

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/amd64/conf/GENERIC?rev=1.531.2.4&content-type=text/x-cvsweb-markup&only_with_tag=netbsd-9

I checked every branch back to netbsd-2 and found it disabled.

> Cc: releng people, do we have a procedure for releases somewhere that I
> could update?

I assume there must be a procedure somewhere that already has this!


Home | Main Index | Thread Index | Old Index