WITNESS options enabled in kernel

Open development discussions

Moderator: Developer

Post Reply
aht0
Posts: 4
Joined: Thu Apr 25, 2019 1:25 pm
Has thanked: 0
Been thanked: 1 time

WITNESS options enabled in kernel

Post by aht0 » Thu Apr 25, 2019 3:00 pm

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: 1374
Joined: Mon Nov 19, 2012 7:54 pm
Has thanked: 36 times
Been thanked: 44 times

Re: WITNESS options enabled in kernel

Post by ericbsd » Tue May 07, 2019 4:56 pm

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: 4
Joined: Thu Apr 25, 2019 1:25 pm
Has thanked: 0
Been thanked: 1 time

Re: WITNESS options enabled in kernel

Post by aht0 » Wed May 15, 2019 3:45 am

Understood :)

Post Reply