Re: make mbstat smaller (was Re: make mstat smaller)

2023-07-09 Thread Claudio Jeker
On Sun, Jul 09, 2023 at 10:25:46AM +0300, YASUOKA Masahiko wrote: > On Sat, 08 Jul 2023 21:58:30 +0300 (EEST) > YASUOKA Masahiko wrote: > > The diff makes the mbstat be the same size which is actually used. > > Also revert the previous that the mbstat is located on the stack. > > The userland pro

make mbstat smaller (was Re: make mstat smaller)

2023-07-09 Thread YASUOKA Masahiko
On Sat, 08 Jul 2023 21:58:30 +0300 (EEST) YASUOKA Masahiko wrote: > The diff makes the mbstat be the same size which is actually used. > Also revert the previous that the mbstat is located on the stack. The userland program also needed to be changed. ok? Index: sys/kern/kern_sysctl.c ==

make mstat smaller

2023-07-08 Thread YASUOKA Masahiko
Hi, The diff makes the mbstat be the same size which is actually used. Also revert the previous that the mbstat is located on the stack. ok? Index: sys/kern/kern_sysctl.c === RCS file: /cvs/src/sys/kern/kern_sysctl.c,v retrieving re