Page MenuHomeFreeBSD

khng (Ka Ho Ng)
User

Projects

User Details

User Since
Jun 12 2018, 3:15 AM (361 w, 5 d)

Recent Activity

Today

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

Sun, May 11

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

Sat, May 10

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

Add more sysctls.

Sat, May 10, 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.
Sat, May 10, 9:46 AM
khng planned changes to D50279: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN.
Sat, May 10, 9:44 AM
khng updated the diff for D50279: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN.

Changed commit message.

Sat, May 10, 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.
Sat, May 10, 9:21 AM
khng requested review of D50279: sched: mark several kern.sched.* sysctls as CTLFLAG_RWTUN.
Sat, May 10, 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/libxo/*.h fix libxo header include when the source is C++.

@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
khng committed rG968bcca262a2: libkldelf: add a private library for kernel/kld-related ELF parsing (authored by khng).
libkldelf: add a private library for kernel/kld-related ELF parsing
Oct 18 2024, 8:22 PM
khng updated the diff for D45563: sys: move SAN and COVERAGE options handling to kern.mk.

Updated to adapt to NOSAN's introduction

Oct 18 2024, 2:00 PM

Oct 10 2024

khng abandoned D47034: RFC: fix static libkldelf library without proper LINKER_SET.
Oct 10 2024, 10:24 PM
khng requested review of D47052: kldxref: compile libkldelf source files directly.
Oct 10 2024, 10:23 PM
khng requested review of D47034: RFC: fix static libkldelf library without proper LINKER_SET.
Oct 10 2024, 3:17 AM

Oct 8 2024

khng committed rG50c64df2a173: Revert "libkldelf: add a private library for kernel/kld-related ELF parsing" (authored by khng).
Revert "libkldelf: add a private library for kernel/kld-related ELF parsing"
Oct 8 2024, 7:49 PM
khng added a reverting change for rG0a2cfd653e86: libkldelf: add a private library for kernel/kld-related ELF parsing: rG50c64df2a173: Revert "libkldelf: add a private library for kernel/kld-related ELF parsing".
Oct 8 2024, 7:49 PM
khng added a reverting change for rG2c7d84795628: libkldelf: add elf_lookup_symbol function: rG7007de7d1095: Revert "libkldelf: add elf_lookup_symbol function".
Oct 8 2024, 7:49 PM
khng committed rG7007de7d1095: Revert "libkldelf: add elf_lookup_symbol function" (authored by khng).
Revert "libkldelf: add elf_lookup_symbol function"
Oct 8 2024, 7:49 PM
khng added a reverting change for rG550ee2d03c5b: libkldelf: use warnx instead of printf: rG6df3a2d1bfed: Revert "libkldelf: use warnx instead of printf".
Oct 8 2024, 7:49 PM
khng committed rG6df3a2d1bfed: Revert "libkldelf: use warnx instead of printf" (authored by khng).
Revert "libkldelf: use warnx instead of printf"
Oct 8 2024, 7:49 PM
khng added a reverting change for D46719: libkldelf: add a private library for kernel/kld-related ELF parsing: rG50c64df2a173: Revert "libkldelf: add a private library for kernel/kld-related ELF parsing".
Oct 8 2024, 7:49 PM
khng added a reverting change for D46764: libkldelf: add elf_lookup_symbol function: rG7007de7d1095: Revert "libkldelf: add elf_lookup_symbol function".
Oct 8 2024, 7:49 PM
khng added a reverting change for D46893: libkldelf: use warnx instead of printf: rG6df3a2d1bfed: Revert "libkldelf: use warnx instead of printf".
Oct 8 2024, 7:49 PM
khng committed rG550ee2d03c5b: libkldelf: use warnx instead of printf (authored by khng).
libkldelf: use warnx instead of printf
Oct 8 2024, 4:30 AM
khng committed rG0a2cfd653e86: libkldelf: add a private library for kernel/kld-related ELF parsing (authored by khng).
libkldelf: add a private library for kernel/kld-related ELF parsing
Oct 8 2024, 4:30 AM
khng committed rG2c7d84795628: libkldelf: add elf_lookup_symbol function (authored by khng).
libkldelf: add elf_lookup_symbol function
Oct 8 2024, 4:30 AM
khng closed D46893: libkldelf: use warnx instead of printf.
Oct 8 2024, 4:29 AM
khng closed D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.
Oct 8 2024, 4:29 AM
khng closed D46764: libkldelf: add elf_lookup_symbol function.
Oct 8 2024, 4:29 AM

Oct 4 2024

khng updated the diff for D46891: libkldelf: returns EOPNOTSUPP for unrecognizable relocations.

Comments update.

Oct 4 2024, 10:02 PM
khng added inline comments to D46891: libkldelf: returns EOPNOTSUPP for unrecognizable relocations.
Oct 4 2024, 9:59 PM
khng updated the diff for D46893: libkldelf: use warnx instead of printf.

Oops.

Oct 4 2024, 9:24 PM
khng updated the diff for D46893: libkldelf: use warnx instead of printf.

Fix per markj@'s comment. ef_print_phdr related part now is left unchanged for now.

Oct 4 2024, 9:23 PM
khng updated the summary of D46891: libkldelf: returns EOPNOTSUPP for unrecognizable relocations.
Oct 4 2024, 1:12 AM
khng requested review of D46893: libkldelf: use warnx instead of printf.
Oct 4 2024, 1:11 AM

Oct 3 2024

khng requested review of D46891: libkldelf: returns EOPNOTSUPP for unrecognizable relocations.
Oct 3 2024, 8:10 PM

Oct 2 2024

khng updated the summary of D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.
Oct 2 2024, 5:52 PM
khng updated the diff for D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.

Bootstrap it everytime, and remove the __FreeBSD_version bump as well given this library is private.

Oct 2 2024, 5:52 PM
khng added inline comments to D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.
Oct 2 2024, 12:58 AM

Sep 27 2024

khng added inline comments to D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.
Sep 27 2024, 5:20 PM
khng updated the diff for D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.

Remove include headers installation

Sep 27 2024, 5:19 PM
khng added inline comments to D46764: libkldelf: add elf_lookup_symbol function.
Sep 27 2024, 3:29 PM

Sep 24 2024

khng updated the summary of D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.
Sep 24 2024, 8:48 PM
khng updated the diff for D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.

Update commit message. If it is not reflected on Phabricator I will do it one more time.

Sep 24 2024, 8:47 PM
khng added a comment to D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.

This is missing some description of libkldelf's intended functionality, either in the commit message or in a man page (maybe a man page is not required for private libraries). It's hard to tell at a glance what this library does, at least for me who is not familiar with kldxref internals.

I don't have any objection to the change itself, it seems fine and will be useful for debuggers and related tools. libdtrace might be able to take advantage of it as well, replacing some existing code.

Sep 24 2024, 2:38 PM
khng committed rG1d910b5f8819: dirdeps: update Makefile.depend for toolchain (authored by khng).
dirdeps: update Makefile.depend for toolchain
Sep 24 2024, 1:26 AM
khng committed rG306113630dd6: libthr: add libsys for dirdeps build (authored by khng).
libthr: add libsys for dirdeps build
Sep 24 2024, 1:26 AM
khng updated the diff for D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.

Update Makefile.depend as well.

Sep 24 2024, 12:45 AM
khng committed rG8067debcd19f: dirdeps: update/fix Makefile.depend.host for hosttools (authored by khng).
dirdeps: update/fix Makefile.depend.host for hosttools
Sep 24 2024, 12:27 AM

Sep 23 2024

khng committed rG018a491dcea9: dirdeps: Update Makefile.depend.host for hosttools (authored by khng).
dirdeps: Update Makefile.depend.host for hosttools
Sep 23 2024, 11:53 PM
khng updated the diff for D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.

Fix indentiation issue in mtree files

Sep 23 2024, 10:24 PM
khng requested review of D46764: libkldelf: add elf_lookup_symbol function.
Sep 23 2024, 6:42 PM
khng added a comment to D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.
In D46719#1066014, @imp wrote:

Do we need ef_mips.c still ?

Sep 23 2024, 6:13 PM
khng added a reviewer for D46719: libkldelf: add a private library for kernel/kld-related ELF parsing: markj.
Sep 23 2024, 6:09 PM
khng updated the diff for D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.

Updated to be a private library.

Sep 23 2024, 6:09 PM
khng retitled D46719: libkldelf: add a private library for kernel/kld-related ELF parsing from libkldelf: add an internal library for kernel/kld-related ELF parsing to libkldelf: add a private library for kernel/kld-related ELF parsing.
Sep 23 2024, 6:07 PM

Sep 22 2024

khng added a comment to D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.

I think I have to make it PRIVATELIB to be more useful.

Sep 22 2024, 10:08 AM

Sep 21 2024

khng abandoned D46720: kldxref: use libkldxref.

Superseded by D46719.

Sep 21 2024, 8:28 AM
khng updated the diff for D46719: libkldelf: add a private library for kernel/kld-related ELF parsing.

per jhb@'s suggestion.

Sep 21 2024, 8:27 AM

Sep 20 2024

khng added a reviewer for D46719: libkldelf: add a private library for kernel/kld-related ELF parsing: jrtc27.
Sep 20 2024, 4:56 PM
khng requested review of D46720: kldxref: use libkldxref.
Sep 20 2024, 4:55 PM