Page MenuHomeFreeBSD

khng (Ka Ho Ng)
User

Projects

User Details

User Since
Jun 12 2018, 3:15 AM (383 w, 1 d)

Recent Activity

Sep 14 2025

khng committed rGc065db9f83ff: contrib/libxo: fix API header files inclusions in C++ source files (authored by aokblast).
contrib/libxo: fix API header files inclusions in C++ source files
Sep 14 2025, 12:34 AM
khng committed rG6faaef201ca3: contrib/libxo: fix API header files inclusions in C++ source files (authored by aokblast).
contrib/libxo: fix API header files inclusions in C++ source files
Sep 14 2025, 12:32 AM

Sep 7 2025

khng committed rG11ace56fa030: contrib/libxo: fix API header files inclusions in C++ source files (authored by aokblast).
contrib/libxo: fix API header files inclusions in C++ source files
Sep 7 2025, 6:43 PM
khng closed D47930: contrib/libxo: fix API header files inclusions in C++ source files.
Sep 7 2025, 6:42 PM

Sep 5 2025

khng updated the diff for D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels.

Only implement this for string stuff. mem* stuff will end up calling into itself again because of the use of __builtin_mem*.

Sep 5 2025, 5:31 PM
khng retitled D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels from libkern: implement string functions as wrappers on ASAN/CSAN kernels to libkern: implement string functions as wrappers on ASAN/CSAN kernels.
Sep 5 2025, 5:30 PM
khng retitled D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels from libkern: implement str*/mem* as wrappers for SAN-enabled kernel to libkern: implement string functions as wrappers on ASAN/CSAN kernels.
Sep 5 2025, 5:27 PM
khng added a comment to D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels.

Have to rethink the whole patch again.

Sep 5 2025, 5:12 PM
khng planned changes to D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels.
Sep 5 2025, 5:11 PM
khng updated the diff for D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels.

Updated.

Sep 5 2025, 2:20 PM
khng updated the summary of D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels.
Sep 5 2025, 2:19 PM
khng retitled D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels from libkern: implement strlen as a wrapper for SAN-enabled kernel to libkern: implement str*/mem* as wrappers for SAN-enabled kernel.
Sep 5 2025, 2:18 PM
khng planned changes to D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels.
Sep 5 2025, 12:13 AM

Sep 4 2025

khng updated the diff for D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels.

style(9).

Sep 4 2025, 9:34 PM
khng updated the summary of D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels.
Sep 4 2025, 9:21 PM
khng requested review of D52389: libkern: implement string functions as wrappers on ASAN/CSAN kernels.
Sep 4 2025, 8:55 PM

Sep 3 2025

khng committed rGe2a3408b612f: irdma: normalize .CURDIR-relative paths to SRCTOP (authored by khng).
irdma: normalize .CURDIR-relative paths to SRCTOP
Sep 3 2025, 6:58 PM
khng committed rG4f41ff7ced8a: IfAPI: fix LINT-NOIP build (authored by khng).
IfAPI: fix LINT-NOIP build
Sep 3 2025, 6:58 PM
khng closed D52362: IfAPI: fix LINT-NOIP build.
Sep 3 2025, 6:58 PM
khng requested review of D52362: IfAPI: fix LINT-NOIP build.
Sep 3 2025, 6:26 PM
khng committed rG7b3094df479f: IfAPI: restore KBI after bceb9c2f2b19 (authored by khng).
IfAPI: restore KBI after bceb9c2f2b19
Sep 3 2025, 6:06 PM

Sep 1 2025

khng updated the diff for D47930: contrib/libxo: fix API header files inclusions in C++ source files.

Updated.

Sep 1 2025, 2:47 AM
khng retitled D47930: contrib/libxo: fix API header files inclusions in C++ source files from contrib/libxo/libxo/*.h fix libxo header include when the source is C++ to contrib/libxo: fix API header files inclusions in C++ source files.
Sep 1 2025, 2:47 AM

Aug 27 2025

khng committed rGa93e46f15693: irdma: normalize .CURDIR-relative paths to SRCTOP (authored by khng).
irdma: normalize .CURDIR-relative paths to SRCTOP
Aug 27 2025, 9:15 PM
khng closed D52192: irdma: normalize .CURDIR-relative paths to SRCTOP.
Aug 27 2025, 9:14 PM
khng requested review of D52192: irdma: normalize .CURDIR-relative paths to SRCTOP.
Aug 27 2025, 6:57 PM

Aug 23 2025

khng commandeered D47930: contrib/libxo: fix API header files inclusions in C++ source files.
Aug 23 2025, 9:02 AM

Aug 10 2025

khng committed rG35ce5a0f6d3f: amd64/pmap: include opt_kstack_pages.h (authored by khng).
amd64/pmap: include opt_kstack_pages.h
Aug 10 2025, 1:38 AM

Aug 3 2025

khng committed rGecf65a4ae5cb: amd64/pmap: include opt_kstack_pages.h (authored by khng).
amd64/pmap: include opt_kstack_pages.h
Aug 3 2025, 3:41 AM
khng closed D51709: amd64/pmap: include opt_kstack_pages.h.
Aug 3 2025, 3:41 AM

Aug 2 2025

khng retitled D51709: amd64/pmap: include opt_kstack_pages.h from amd64: include opt_kstack_pages.h to amd64/pmap: include opt_kstack_pages.h.
Aug 2 2025, 6:06 PM
khng requested review of D51709: amd64/pmap: include opt_kstack_pages.h.
Aug 2 2025, 6:06 PM
khng committed rGee09ce3f1f2e: Revert "amd64: include opt_kstack_pages.h" (authored by khng).
Revert "amd64: include opt_kstack_pages.h"
Aug 2 2025, 5:59 PM
khng added a reverting change for rGd5ec97156d33: amd64: include opt_kstack_pages.h: rGee09ce3f1f2e: Revert "amd64: include opt_kstack_pages.h".
Aug 2 2025, 5:59 PM
khng added a reverting change for D51676: amd64/pmap: include opt_kstack_pages.h: rGee09ce3f1f2e: Revert "amd64: include opt_kstack_pages.h".
Aug 2 2025, 5:58 PM

Aug 1 2025

khng committed rGd5ec97156d33: amd64: include opt_kstack_pages.h (authored by khng).
amd64: include opt_kstack_pages.h
Aug 1 2025, 4:41 PM
khng closed D51676: amd64/pmap: include opt_kstack_pages.h.
Aug 1 2025, 4:41 PM
khng updated the diff for D51676: amd64/pmap: include opt_kstack_pages.h.

markj's suggestion.

Aug 1 2025, 4:37 PM
khng added a comment to D51676: amd64/pmap: include opt_kstack_pages.h.

But that use of KSTACK_PAGES matches the definition of BOOTSTACK_SIZE in amd64/locore.S, which also doesn't include opt_kstack_pages.h. So both files should include it.

Aug 1 2025, 4:13 PM
khng updated the summary of D51676: amd64/pmap: include opt_kstack_pages.h.
Aug 1 2025, 4:04 PM
khng requested review of D51676: amd64/pmap: include opt_kstack_pages.h.
Aug 1 2025, 4:00 PM

Jun 25 2025

khng abandoned D46538: libkvm: look up linker_files for symbols in vmcore.
Jun 25 2025, 7:22 PM
khng abandoned D46537: linker: expose symbol and string table sections of elf_file.

Or, I might just do it the way like how other debugger does - not using elf_file but doing adjustments with only ELF parsing libraries rather.

As discussed elsewhere, I'd prefer to have libkvm walk the linker_files list and locate the corresponding binaries, like kgdb does. This way we avoid growing the kernel ABI.

Jun 25 2025, 7:21 PM

Jun 12 2025

khng accepted D49587: hwpstate: add CPPC support for pstate driver on AMD.
Jun 12 2025, 10:42 PM

Jun 11 2025

khng added a reviewer for D49587: hwpstate: add CPPC support for pstate driver on AMD: khng.
Jun 11 2025, 5:30 PM

Jun 9 2025

khng committed rG42905aa17b7e: nfsd, rpcbind: add -P option to support pidfile path (authored by khng).
nfsd, rpcbind: add -P option to support pidfile path
Jun 9 2025, 3:41 PM
khng closed D50624: nfsd, rpcbind: add -P option to support pidfile path.
Jun 9 2025, 3:41 PM
khng updated the diff for D50624: nfsd, rpcbind: add -P option to support pidfile path.

Addressed.

Jun 9 2025, 3:23 AM

Jun 8 2025

khng added a comment to D50624: nfsd, rpcbind: add -P option to support pidfile path.

By the way, given that rpcbind and nfsd will install a default pidfile to /var/run even without specifying -P: shall we document that somewhere in RELNOTES and the commit message, or do we make the errno == EEXIST case a warn() call instead of errx()? I am thinking of that because some people might spin up multiple nfsd in their setup without using the rc.d/nfsd script, and with different bound IP for each nfsd spun.

Jun 8 2025, 12:50 AM
khng added a comment to D50624: nfsd, rpcbind: add -P option to support pidfile path.

I'll leave the minor nits up to you.
Are you a committer or do you need me
to do it?

Jun 8 2025, 12:45 AM

Jun 2 2025

khng updated the diff for D50624: nfsd, rpcbind: add -P option to support pidfile path.

Add comments.

Jun 2 2025, 6:39 PM

May 31 2025

khng requested review of D50624: nfsd, rpcbind: add -P option to support pidfile path.
May 31 2025, 7:31 AM

May 18 2025

khng committed rG10d94b403add: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN (authored by khng).
sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN
May 18 2025, 3:14 AM

May 11 2025

khng committed rG62f55b34ec42: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN (authored by khng).
sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN
May 11 2025, 7:00 PM
khng closed D50279: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN.
May 11 2025, 7:00 PM
khng added inline comments to D50279: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN.
May 11 2025, 4:50 PM

May 10 2025

khng updated the diff for D50279: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN.

Add more sysctls.

May 10 2025, 9:46 AM
khng retitled D50279: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN from sched: mark preempt_thresh and sched_interact as RWTUN to sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN.
May 10 2025, 9:46 AM
khng planned changes to D50279: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN.
May 10 2025, 9:44 AM
khng updated the diff for D50279: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN.

Changed commit message.

May 10 2025, 9:22 AM
khng retitled D50279: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN from sched: mark preempt_thresh and interact_score as RWTUN to sched: mark preempt_thresh and sched_interact as RWTUN.
May 10 2025, 9:21 AM
khng requested review of D50279: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN.
May 10 2025, 9:00 AM

Apr 11 2025

khng committed rG7c72c0822b94: tmpfs: turn vfs.tmpfs.memory_percent into CTLFLAG_RWTUN (authored by khng).
tmpfs: turn vfs.tmpfs.memory_percent into CTLFLAG_RWTUN
Apr 11 2025, 5:03 PM
khng closed D49763: tmpfs: turn vfs.tmpfs.memory_percent into CTLFLAG_RWTUN.
Apr 11 2025, 5:03 PM

Apr 10 2025

khng added inline comments to D49763: tmpfs: turn vfs.tmpfs.memory_percent into CTLFLAG_RWTUN.
Apr 10 2025, 7:58 PM
khng requested review of D49763: tmpfs: turn vfs.tmpfs.memory_percent into CTLFLAG_RWTUN.
Apr 10 2025, 6:48 PM

Mar 15 2025

khng committed rGfa301530e0ca: arm64: bus: Add 36-bit address mask for use in bus space allocations (authored by khng).
arm64: bus: Add 36-bit address mask for use in bus space allocations
Mar 15 2025, 7:06 AM

Feb 6 2025

khng committed rG5484c3d6eb31: arm64: bus: Add 36-bit address mask for use in bus space allocations (authored by khng).
arm64: bus: Add 36-bit address mask for use in bus space allocations
Feb 6 2025, 9:28 PM
khng closed D44764: arm64: bus: Add 36-bit address mask for use in bus space allocations.
Feb 6 2025, 9:27 PM

Dec 5 2024

khng accepted D47930: contrib/libxo: fix API header files inclusions in C++ source files.

@phil for a confirmation as well.

Dec 5 2024, 9:56 PM

Nov 30 2024

khng committed rG57a7f61b13c3: kerneldump: fix incorrect SETSIZE to BIT_COPY_STORE_REL when livedump (authored by khng).
kerneldump: fix incorrect SETSIZE to BIT_COPY_STORE_REL when livedump
Nov 30 2024, 6:54 AM

Nov 24 2024

khng accepted D47714: livedump: Silence KASAN and KMSAN when livedumping.
Nov 24 2024, 6:49 PM

Nov 23 2024

khng accepted D47714: livedump: Silence KASAN and KMSAN when livedumping.
Nov 23 2024, 4:43 PM
khng committed rG9ad8116b5461: kerneldump: fix incorrect SETSIZE to BIT_COPY_STORE_REL when livedump (authored by khng).
kerneldump: fix incorrect SETSIZE to BIT_COPY_STORE_REL when livedump
Nov 23 2024, 4:35 PM
khng closed D47708: kerneldump: fix incorrect SETSIZE to BIT_COPY_STORE_REL when livedump.
Nov 23 2024, 4:35 PM
khng retitled D47708: kerneldump: fix incorrect SETSIZE to BIT_COPY_STORE_REL when livedump from kerneldump: fix incorrect SETSIZE parameter to BITCOPY when livedump to kerneldump: fix incorrect SETSIZE to BIT_COPY_STORE_REL when livedump.
Nov 23 2024, 7:50 AM
khng updated the summary of D47708: kerneldump: fix incorrect SETSIZE to BIT_COPY_STORE_REL when livedump.
Nov 23 2024, 7:44 AM
khng requested review of D47708: kerneldump: fix incorrect SETSIZE to BIT_COPY_STORE_REL when livedump.
Nov 23 2024, 6:58 AM

Nov 14 2024

khng added inline comments to D47383: libkldelf: skip loading zero-sized and non-SHF_ALLOC sections.
Nov 14 2024, 5:52 PM

Nov 12 2024

khng added inline comments to D47383: libkldelf: skip loading zero-sized and non-SHF_ALLOC sections.
Nov 12 2024, 8:24 PM
khng added inline comments to D47383: libkldelf: skip loading zero-sized and non-SHF_ALLOC sections.
Nov 12 2024, 8:21 PM
khng added inline comments to D47383: libkldelf: skip loading zero-sized and non-SHF_ALLOC sections.
Nov 12 2024, 8:13 PM
khng updated the diff for D47383: libkldelf: skip loading zero-sized and non-SHF_ALLOC sections.

Separate SHT_INIT_ARRAY/SHT_FINI_ARRAY/SHT_X86_64_UNWIND out.

Nov 12 2024, 8:07 PM
khng added inline comments to D47383: libkldelf: skip loading zero-sized and non-SHF_ALLOC sections.
Nov 12 2024, 8:05 PM
khng added inline comments to D47383: libkldelf: skip loading zero-sized and non-SHF_ALLOC sections.
Nov 12 2024, 7:56 PM
khng closed D45563: sys: move SAN and COVERAGE options handling to kern.mk.
Nov 12 2024, 7:05 PM
khng committed rG6e3875ebcf0e: sys: move SAN and COVERAGE options handling to kern.mk (authored by khng).
sys: move SAN and COVERAGE options handling to kern.mk
Nov 12 2024, 7:05 PM

Nov 10 2024

khng updated the diff for D45563: sys: move SAN and COVERAGE options handling to kern.mk.

Remove duplicated fsanitize flags during module build

Nov 10 2024, 3:46 AM

Nov 5 2024

khng added a comment to D47383: libkldelf: skip loading zero-sized and non-SHF_ALLOC sections.
In D47383#1081811, @jhb wrote:

We can probably just do this all the time without needing the flag? I think kldxref just doesn't care, or more likely ef_object.c in kldxref wasn't updated when the kernel linker changed.

Nov 5 2024, 7:15 PM

Nov 4 2024

khng updated the diff for D47383: libkldelf: skip loading zero-sized and non-SHF_ALLOC sections.

Addresses jhb@'s comments

Nov 4 2024, 6:36 PM
khng retitled D47383: libkldelf: skip loading zero-sized and non-SHF_ALLOC sections from libkldelf: introduce KELF_F_OINCORELAYOUT flag to libkldelf: skip loading zero-sized and non-SHF_ALLOC sections.
Nov 4 2024, 6:35 PM

Nov 1 2024

khng requested review of D47383: libkldelf: skip loading zero-sized and non-SHF_ALLOC sections.
Nov 1 2024, 1:27 PM

Oct 25 2024

khng committed rG72e15f76a1b3: libkldelf: add see_local parameter to elf_lookup_symbol (authored by khng).
libkldelf: add see_local parameter to elf_lookup_symbol
Oct 25 2024, 4:20 PM
khng closed D47206: libkldelf: add see_local parameter to elf_lookup_symbol.
Oct 25 2024, 4:20 PM

Oct 23 2024

khng added inline comments to D47265: libc: fix WRONLY/RDONLY test in fmemopen.
Oct 23 2024, 3:44 PM
khng added inline comments to D47265: libc: fix WRONLY/RDONLY test in fmemopen.
Oct 23 2024, 3:40 PM
khng accepted D47265: libc: fix WRONLY/RDONLY test in fmemopen.
Oct 23 2024, 3:28 PM

Oct 20 2024

khng requested review of D47206: libkldelf: add see_local parameter to elf_lookup_symbol.
Oct 20 2024, 4:57 AM

Oct 18 2024

khng committed rG599c4399e9b8: libkldelf: use warnx instead of printf (authored by khng).
libkldelf: use warnx instead of printf
Oct 18 2024, 8:22 PM
khng committed rG43628a31e3a2: libkldelf: add elf_lookup_symbol function (authored by khng).
libkldelf: add elf_lookup_symbol function
Oct 18 2024, 8:22 PM