WITNESS options enabled in kernel

Open development discussions

Moderator: Developer

Post Reply
aht0
Posts: 7
Joined: Thu Apr 25, 2019 1:25 pm

WITNESS options enabled in kernel

Post by aht0 »

I noticed stuff like
#0 0xffffffff80c81903 at witness_debugger+0x73
#1 0xffffffff80c81653 at witness_checkorder+0xac3
#0 0xffffffff80c81903 at witness_debugger+0x73
#1 0xffffffff80c81653 at witness_checkorder+0xac3
#0 0xffffffff80c81903 at witness_debugger+0x73
#1 0xffffffff80c81653 at witness_checkorder+0xac3
#0 0xffffffff80c81903 at witness_debugger+0x73
#1 0xffffffff80c81653 at witness_checkorder+0xac3
#0 0xffffffff80c81903 at witness_debugger+0x73
#1 0xffffffff80c81653 at witness_checkorder+0xac3
visible in dmesg. Upon downloading sources from github and checking, it appears that indeed some WITNESS options are enabled in kernel config by default.

Could these options be turned off in future kernel updates? It means noticeable performance degradation for GhostBSD users. It's AFAIK something used in CURRENT branch, aiding devs in debugging and never present in STABLE or RELEASE versions of FreeBSD.

At the moment I went and just re-compiled kernel for myself though some of it can AFAIK be turned off by sysctl
User avatar
ericbsd
Developer
Posts: 2052
Joined: Mon Nov 19, 2012 7:54 pm

Re: WITNESS options enabled in kernel

Post by ericbsd »

Here are the changes https://github.com/ghostbsd/trueos/comp ... 7acac2e359. There will be an update in one or two weeks from here or maybe sooner.

Thanks
aht0
Posts: 7
Joined: Thu Apr 25, 2019 1:25 pm

Re: WITNESS options enabled in kernel

Post by aht0 »

Understood :)
Post Reply