Source-Changes-D archive

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

Re: CVS commit: src/sys/arch/sun2/conf



Hi,

On 2024/06/30 16:18, matthew green wrote:
"Rin Okuyama" writes:
Module Name:	src
Committed By:	rin
Date:		Sun Jun 30 05:59:14 UTC 2024

Modified Files:
	src/sys/arch/sun2/conf: GENERIC

Log Message:
sun2: GENERIC: XXX: Drop `MODULAR` and `compat_netbsd16.config`

as a workaround for memory shortage. Even with 8MB-RAM configuration,
live-image for TME gets stalled during processing /etc/rc, without
any response to serial console :(

With this change, it can boot into multi-user mode, at least.

XXX
Other config files? Make more kernel components optional?

i'm surprised MODULAR was here!  huh.

I added it few years ago, when the biggest problem was kernel size
itself; sun2 firmware is not capable for kernel image >= 2MB. So,
I "replaced" many options with `MODULAR`.

However, today, memory starvation takes place even if kernel fits
within 2MB :(

this kernel is already very cut down, reducing further is
likely what you say - need to make more optional parts.

Agreed. Also, we need to reduce runtime memory consumption.

Thanks,
rin

thanks.


.mrg.



Home | Main Index | Thread Index | Old Index