Page MenuHomeFreeBSD

kib (Konstantin Belousov)
User

Projects

User Details

User Since
May 16 2014, 7:35 PM (620 w, 6 d)

Recent Activity

Today

kib closed D56221: Report aboud pdwait(2) and pdrfork(2).
Fri, Apr 10, 5:45 PM
kib closed D56220: Report about amd64 FRED.
Fri, Apr 10, 5:45 PM
kib committed R9:e267cce5a5b5: Report aboud pdwait(2) and pdrfork(2) (authored by kib).
Report aboud pdwait(2) and pdrfork(2)
Fri, Apr 10, 5:45 PM
kib committed R9:3b65d32cc062: Report about amd64 FRED (authored by kib).
Report about amd64 FRED
Fri, Apr 10, 5:45 PM
kib added inline comments to D56308: linuxkpi: fix mod_delayed_work() with running tasks.
Fri, Apr 10, 5:41 PM
kib added inline comments to D56308: linuxkpi: fix mod_delayed_work() with running tasks.
Fri, Apr 10, 4:57 PM
kib updated the diff for D56221: Report aboud pdwait(2) and pdrfork(2).

Handle review.

Fri, Apr 10, 3:12 PM
kib updated the diff for D56220: Report about amd64 FRED.

Handle review.

Fri, Apr 10, 3:12 PM
kib committed rG31069fdbdae1: kevent: do not check knote lists being empty before removing a knote (authored by kib).
kevent: do not check knote lists being empty before removing a knote
Fri, Apr 10, 2:35 PM
kib closed D56341: kevent: do not check knote lists being empty before removing a knote.
Fri, Apr 10, 2:35 PM
kib accepted D55943: arm64: Handle changing self-referential DMAP pages.
Fri, Apr 10, 2:33 PM
kib accepted D56306: arm64: Add a cmap page to pmap.
Fri, Apr 10, 2:32 PM
kib accepted D56330: x86: Add zen identifier helper function.
Fri, Apr 10, 12:50 PM
kib added inline comments to D56330: x86: Add zen identifier helper function.
Fri, Apr 10, 12:06 PM
kib added inline comments to D56330: x86: Add zen identifier helper function.
Fri, Apr 10, 11:21 AM
kib added inline comments to D56330: x86: Add zen identifier helper function.
Fri, Apr 10, 11:01 AM
kib committed rG4da93b9a8a54: subr_early.c: cleanup includes (authored by kib).
subr_early.c: cleanup includes
Fri, Apr 10, 10:18 AM
kib requested review of D56341: kevent: do not check knote lists being empty before removing a knote.
Fri, Apr 10, 8:30 AM

Yesterday

kib added a comment to D56331: ucode: Add ucode match helper function.

Can you explain why is it needed?

Thu, Apr 9, 8:07 PM
kib added inline comments to D56330: x86: Add zen identifier helper function.
Thu, Apr 9, 8:06 PM
kib accepted D56319: Status/2026Q1/hibernate.adoc: Add report.
Thu, Apr 9, 8:03 PM
kib added inline comments to D56317: nfsv4.4: Update and add a new NFSv4 ROOT section.
Thu, Apr 9, 2:33 PM
kib committed rGb6527c930c46: posix_spawn test: switch to POSIX spelling for addchdir and addfchdir (authored by kib).
posix_spawn test: switch to POSIX spelling for addchdir and addfchdir
Thu, Apr 9, 8:26 AM
kib committed rG43347b26fb46: posix_spawn: actions chdir and fchdir are now required by POSIX (authored by kib).
posix_spawn: actions chdir and fchdir are now required by POSIX
Thu, Apr 9, 8:26 AM
kib committed rG20318719dfd8: rtld: add test for dlopen("#dirfd/path") (authored by kib).
rtld: add test for dlopen("#dirfd/path")
Thu, Apr 9, 8:26 AM
kib committed rG8fb16a5c7f81: rtld: allow dlopen("#<number>/<path>") (authored by kib).
rtld: allow dlopen("#<number>/<path>")
Thu, Apr 9, 8:26 AM
kib committed rG5b4d2229f788: kqueue: assert that kqueue knote lists own the knotes (authored by kib).
kqueue: assert that kqueue knote lists own the knotes
Thu, Apr 9, 8:26 AM

Wed, Apr 8

kib accepted D56318: kqueue: don't leak file refs on failure to knote_attach().
Wed, Apr 8, 9:42 PM
kib added a comment to D56319: Status/2026Q1/hibernate.adoc: Add report.

Might be point to the design documents we have somewhere else.

Wed, Apr 8, 8:58 PM
kib added inline comments to D56318: kqueue: don't leak file refs on failure to knote_attach().
Wed, Apr 8, 8:48 PM
kib added inline comments to D56317: nfsv4.4: Update and add a new NFSv4 ROOT section.
Wed, Apr 8, 8:36 PM
kib added inline comments to D56318: kqueue: don't leak file refs on failure to knote_attach().
Wed, Apr 8, 8:24 PM
kib added a comment to D56306: arm64: Add a cmap page to pmap.

I only have one question, why this cmap needs to be per-cpu? I do not think that it is high-contention resource.

Wed, Apr 8, 4:42 PM
kib accepted D56306: arm64: Add a cmap page to pmap.
Wed, Apr 8, 4:39 PM
kib accepted D56309: amd64: Make EFI runtime faults less like panics.
Wed, Apr 8, 2:37 PM
kib added a comment to D56283: lib/msun: export arch-specific fenv methods.

Dimitry, I am sorry, just committed a second before your approval.

Wed, Apr 8, 2:34 PM
kib committed rG96a685c229f2: lib/msun/aarch64: provide export file for arch-specific fenv methods (authored by kib).
lib/msun/aarch64: provide export file for arch-specific fenv methods
Wed, Apr 8, 2:32 PM
kib committed rGc913dce86e7b: lib/msun: centralize addition of the arch-specific symbol map files (authored by kib).
lib/msun: centralize addition of the arch-specific symbol map files
Wed, Apr 8, 2:32 PM
kib closed D56283: lib/msun: export arch-specific fenv methods.
Wed, Apr 8, 2:32 PM
kib added a comment to D56283: lib/msun: export arch-specific fenv methods.

Ping? I want to fix this regression. If no feedback is provided, I plan to commit the change tomorrow.

Wed, Apr 8, 1:48 PM
kib added a comment to D56223: tests: kqueue: add a basic test for CPONFORK.

As an afterthough, i.e. I suggest to commit this and then add my further modifications:

  1. we might check that clofd is indeed not a valid fd in the child
  2. (my personal request) we should check that each desired bit is set in pmask by individual ATF_REQUIRE statement. Due to the kyua 'features', tests are impossible to debug, so a failure there cannot be identified just by looking the the test output.
Wed, Apr 8, 8:42 AM

Tue, Apr 7

kib added a comment to D56022: libc: Remove redundant code in thread atexit code.
In D56022#1282431, @kib wrote:
In D56022#1281980, @kib wrote:

No. Perhaps it is simpler to show code than to try to explain it, See D56053.

The example you provided would not work with my patch, it requires increasing the CXA_DTORS_ITERATIONS. Not sure if we want this.

If it breaks the valid C++ code, we should rethink about it. The T value can be somehow greater than CXA_DTORS_ITERATIONS if the user wants.

I do not disagree but there are also some robustness requirements as part of the implementation quality. So I am unsire, this is why I initially said that 'I am on edge' proposing this. Hanging in the system state (thread exiting) due to user bug is not robust.

That said, your patch should remove walk_cb_nocall(). And perhaps cxa_thread_walk() could drop the argument, simply inlining walk_cb_call.

I see, I think we can leave this patch in here before we get better conclusion. I run the test code on a Linux machine and it died immediately if we have infinity loop in thread local destructor. It seems that glibc also don't handle that case.

Tue, Apr 7, 2:44 PM
kib added reviewers for D56283: lib/msun: export arch-specific fenv methods: emaste, dim.
Tue, Apr 7, 2:00 PM
kib added a comment to D56283: lib/msun: export arch-specific fenv methods.

Pass tinderbox.

Tue, Apr 7, 2:00 PM

Mon, Apr 6

kib updated the diff for D56283: lib/msun: export arch-specific fenv methods.

The version that builds with TARGET=arm64

Mon, Apr 6, 7:29 PM
kib updated the diff for D56283: lib/msun: export arch-specific fenv methods.

Provide actual implementation for fegetenv, feenableexcept, fedisableexcept on aarch64.

Mon, Apr 6, 5:58 PM
kib updated the diff for D56283: lib/msun: export arch-specific fenv methods.

Remove conditional include of the arch symbol map. All arches provide it, after the patch.

Mon, Apr 6, 5:41 PM
kib requested review of D56283: lib/msun: export arch-specific fenv methods.
Mon, Apr 6, 5:37 PM
kib accepted D56223: tests: kqueue: add a basic test for CPONFORK.
Mon, Apr 6, 7:06 AM
kib accepted D56234: vm_fault: Reset m_needs_zeroing in vm_fault_busy_sleep().

This is probably fine, but then resetting m_needs_zeroing seems to be somewhat unneeded. I started thinking that m_needs_zeroing should be removed, and when we find an invalid page on the shadowing object queue, we need to zero it immediately.

Mon, Apr 6, 7:05 AM
kib committed rG77e5da38bf45: posix_spawn_file_action_addopen.3: ignoring close failure is now approved (authored by kib).
posix_spawn_file_action_addopen.3: ignoring close failure is now approved
Mon, Apr 6, 6:56 AM
kib committed rG081f52a44191: msun: remove requirement to have C99 inline semantic (authored by kib).
msun: remove requirement to have C99 inline semantic
Mon, Apr 6, 6:56 AM
kib committed rGfaca80fb6688: msun/arm: convert fenv functions to proper linkage (authored by kib).
msun/arm: convert fenv functions to proper linkage
Mon, Apr 6, 6:56 AM
kib committed rG2d81a953ca54: msun/powerpc: convert fenv functions to proper linkage (authored by kib).
msun/powerpc: convert fenv functions to proper linkage
Mon, Apr 6, 6:56 AM
kib committed rGf13155c57c1f: msun/riscv: convert fenv functions to proper linkage (authored by kib).
msun/riscv: convert fenv functions to proper linkage
Mon, Apr 6, 6:56 AM
kib committed rG492843d5269f: msun/aarch64: convert fenv functions to proper linkage (authored by kib).
msun/aarch64: convert fenv functions to proper linkage
Mon, Apr 6, 6:56 AM
kib committed rG9687de5aac95: fenv.h: stop declaring feclearexcept() extern inline (authored by kib).
fenv.h: stop declaring feclearexcept() extern inline
Mon, Apr 6, 6:56 AM
kib committed rG60b5183a76a1: msun/x86: convert rest of the extern inline fenv functions to proper linkage (authored by kib).
msun/x86: convert rest of the extern inline fenv functions to proper linkage
Mon, Apr 6, 6:56 AM

Sun, Apr 5

kib added inline comments to D56223: tests: kqueue: add a basic test for CPONFORK.
Sun, Apr 5, 7:17 PM
kib accepted D55912: net: Add page/bank fields to ifi2cre; update mce(4) to use them.

You mean as a later, separate project, correct?

Sun, Apr 5, 9:10 AM
kib committed rGa849cbe74bec: posix_spawn.3: fix formatting of xref (authored by kib).
posix_spawn.3: fix formatting of xref
Sun, Apr 5, 12:25 AM

Sat, Apr 4

kib accepted D56234: vm_fault: Reset m_needs_zeroing in vm_fault_busy_sleep().
Sat, Apr 4, 10:47 AM
kib added a comment to D55912: net: Add page/bank fields to ifi2cre; update mce(4) to use them.

Sorry for the late reply.

Sat, Apr 4, 9:27 AM
kib committed rG982b3c5565ff: procctl.2: remove space at EOL (authored by kib).
procctl.2: remove space at EOL
Sat, Apr 4, 6:32 AM
kib added a comment to D56234: vm_fault: Reset m_needs_zeroing in vm_fault_busy_sleep().

The mere fact that we slept on the page somewhere in the shadow hierarchy does not mean that first_m should be zeroed.
But, if we go this route, then IMO m_needs_zero should be reset to true right at the RetryFault, and be done with it.

Sat, Apr 4, 4:14 AM
kib added a comment to D56223: tests: kqueue: add a basic test for CPONFORK.

Hmm, The second kqueue might not be as useful as I've thought. It doesn't mean much because the filter needs to resolve the fd first, which will EBADF early.

Sat, Apr 4, 3:45 AM

Fri, Apr 3

kib committed rGe56858f05fd7: posix_spawn test: switch to POSIX spelling for addchdir and addfchdir (authored by kib).
posix_spawn test: switch to POSIX spelling for addchdir and addfchdir
Fri, Apr 3, 8:24 AM
kib committed rGb7b485efac8c: posix_spawn_file_action_addopen.3: ignoring close failure is now approved (authored by kib).
posix_spawn_file_action_addopen.3: ignoring close failure is now approved
Fri, Apr 3, 8:24 AM
kib committed rG7caa71145c5e: posix_spawn: actions chdir and fchdir are now required by POSIX (authored by kib).
posix_spawn: actions chdir and fchdir are now required by POSIX
Fri, Apr 3, 8:23 AM
kib closed D56222: Update posix_spawn for POSIX 2024.
Fri, Apr 3, 8:23 AM
kib accepted D56226: kqueue: slightly clarify the flow in knlist_cleardel().
Fri, Apr 3, 4:57 AM
kib accepted D56223: tests: kqueue: add a basic test for CPONFORK.
Fri, Apr 3, 4:56 AM
kib added inline comments to D56223: tests: kqueue: add a basic test for CPONFORK.
Fri, Apr 3, 4:05 AM
kib added inline comments to D56226: kqueue: slightly clarify the flow in knlist_cleardel().
Fri, Apr 3, 3:19 AM
kib added inline comments to D56223: tests: kqueue: add a basic test for CPONFORK.
Fri, Apr 3, 3:15 AM
kib updated the diff for D56220: Report about amd64 FRED.

Sentence per line

Fri, Apr 3, 3:11 AM
kib updated the diff for D56221: Report aboud pdwait(2) and pdrfork(2).

Sentence per line

Fri, Apr 3, 3:10 AM
kib updated the diff for D56222: Update posix_spawn for POSIX 2024.

Fix manpage.
Switch test to use non-_np names.

Fri, Apr 3, 3:05 AM

Thu, Apr 2

kib added inline comments to D56223: tests: kqueue: add a basic test for CPONFORK.
Thu, Apr 2, 1:34 PM
kib committed rGaab1ef4527f1: kqueue_fork_copy_knote(): zero kn_knlist for the copy before calling knlist_add… (authored by kib).
kqueue_fork_copy_knote(): zero kn_knlist for the copy before calling knlist_add…
Thu, Apr 2, 1:27 PM
kib requested review of D56222: Update posix_spawn for POSIX 2024.
Thu, Apr 2, 8:12 AM
kib committed rG59e9a4c05a81: posix_spawn.3: fix formatting of xref (authored by kib).
posix_spawn.3: fix formatting of xref
Thu, Apr 2, 7:43 AM
kib requested review of D56221: Report aboud pdwait(2) and pdrfork(2).
Thu, Apr 2, 5:41 AM
kib requested review of D56220: Report about amd64 FRED.
Thu, Apr 2, 5:39 AM
kib added inline comments to D56212: kqueue: assert that kqueue knote lists own the knotes.
Thu, Apr 2, 4:38 AM
kib added inline comments to D56212: kqueue: assert that kqueue knote lists own the knotes.
Thu, Apr 2, 4:22 AM
kib committed rG72252591ac01: rtld: add test for dlopen("#dirfd/path") (authored by kib).
rtld: add test for dlopen("#dirfd/path")
Thu, Apr 2, 2:42 AM
kib committed rGffbf3fecdeff: rtld: allow dlopen("#<number>/<path>") (authored by kib).
rtld: allow dlopen("#<number>/<path>")
Thu, Apr 2, 2:42 AM
kib closed D56152: rtld: allow dlopen("#<number>/<path>").
Thu, Apr 2, 2:42 AM
kib committed rG51db69c14fb1: kqueue: assert that kqueue knote lists own the knotes (authored by kib).
kqueue: assert that kqueue knote lists own the knotes
Thu, Apr 2, 2:41 AM
kib closed D56212: kqueue: assert that kqueue knote lists own the knotes.
Thu, Apr 2, 2:41 AM
kib committed rGa91b30766883: rtld: add a test for rtld_set_var (with LIBRARY_PATH_FDS) (authored by iwtcex_gmail.com).
rtld: add a test for rtld_set_var (with LIBRARY_PATH_FDS)
Thu, Apr 2, 2:18 AM
kib committed rGde344ffd0ace: amd64 sendsig(): explicitly copy registers from trapframe to ucontext (authored by kib).
amd64 sendsig(): explicitly copy registers from trapframe to ucontext
Thu, Apr 2, 2:18 AM
kib committed rG5002c46b75f1: x86: move the NUM_ISA_IRQS symbol from atpic.c into x86/isa/icu.h (authored by kib).
x86: move the NUM_ISA_IRQS symbol from atpic.c into x86/isa/icu.h
Thu, Apr 2, 2:18 AM
kib committed rG60b2eb959e8c: rtld: check for overflow in parse_integer() (authored by kib).
rtld: check for overflow in parse_integer()
Thu, Apr 2, 2:17 AM
kib committed rG1e4debcf698f: rtld: properly handle update of several vars in rtld_set_var() (authored by kib).
rtld: properly handle update of several vars in rtld_set_var()
Thu, Apr 2, 2:17 AM
kib committed rGa2707106b094: rtld_get_var(3): provide explicit list of rtld vars that can be modified (authored by kib).
rtld_get_var(3): provide explicit list of rtld vars that can be modified
Thu, Apr 2, 2:17 AM

Wed, Apr 1

kib retitled D56212: kqueue: assert that kqueue knote lists own the knotes from kern/kern_event.c: assert that kqueue knote lists own the knotes to kqueue: assert that kqueue knote lists own the knotes.
Wed, Apr 1, 10:15 AM
kib added inline comments to D56212: kqueue: assert that kqueue knote lists own the knotes.
Wed, Apr 1, 10:15 AM
kib added inline comments to D56212: kqueue: assert that kqueue knote lists own the knotes.
Wed, Apr 1, 5:26 AM