Page MenuHomeFreeBSD

kib (Konstantin Belousov)
User

Projects

User Details

User Since
May 16 2014, 7:35 PM (610 w, 5 d)

Recent Activity

Today

kib added inline comments to D54936: powerpc64: initial conversion of oea64 to rwlocks.
Thu, Jan 29, 6:05 AM · PowerPC

Yesterday

kib added inline comments to D54920: STACKALIGN: Reimplement in terms of __align_down.
Wed, Jan 28, 10:16 AM
kib committed rG4daf2d3e7db5: posix_spawn: use rfork_thread on all arches (authored by kib).
posix_spawn: use rfork_thread on all arches
Wed, Jan 28, 2:28 AM
kib committed rGc1be185e3fb9: libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches (authored by kib).
libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches
Wed, Jan 28, 2:28 AM
kib closed D54898: libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches.
Wed, Jan 28, 2:27 AM

Tue, Jan 27

kib accepted D54919: cpucontrol: Be more strict with input validation.
Tue, Jan 27, 11:22 PM
kib added inline comments to D54920: STACKALIGN: Reimplement in terms of __align_down.
Tue, Jan 27, 10:44 PM
kib added inline comments to D54919: cpucontrol: Be more strict with input validation.
Tue, Jan 27, 9:42 PM
kib updated the diff for D54898: libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches.

Hopefully the final touches

Tue, Jan 27, 9:37 PM
kib updated the diff for D54898: libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches.

Add __used

Tue, Jan 27, 8:53 PM
kib updated the diff for D54898: libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches.

Require NULL stack on _gen

Tue, Jan 27, 8:29 PM
kib updated the diff for D54898: libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches.

Only allocate the stack on x86 for now

Tue, Jan 27, 8:07 PM
kib added inline comments to D54898: libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches.
Tue, Jan 27, 8:07 PM
kib accepted D54903: witness: mark relationships defined in order_lists[].
Tue, Jan 27, 7:15 PM
kib updated the diff for D54898: libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches.

Grammar in comment.

Tue, Jan 27, 7:13 PM
kib added inline comments to D54898: libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches.
Tue, Jan 27, 7:12 PM
kib added inline comments to D54903: witness: mark relationships defined in order_lists[].
Tue, Jan 27, 3:37 AM
kib committed rGd47c1c2cf562: sbin/setkey: add -Z option to disable receive timeouts (authored by kib).
sbin/setkey: add -Z option to disable receive timeouts
Tue, Jan 27, 12:45 AM
kib committed rGa68d541011af: freebsd32_rusage_out(): bzero the compat32 structure (authored by kib).
freebsd32_rusage_out(): bzero the compat32 structure
Tue, Jan 27, 12:40 AM
kib committed rG96e697b84922: x86: add machine/ifunc.h (authored by kib).
x86: add machine/ifunc.h
Tue, Jan 27, 12:40 AM
kib committed rG3b85009a7eff: ktrace: do not enqueue request if the process' ktrioparams are freed (authored by kib).
ktrace: do not enqueue request if the process' ktrioparams are freed
Tue, Jan 27, 12:40 AM
kib committed rGdc46f063d11e: sys/abi_compat.h: fix UB for bintime32 handling (authored by kib).
sys/abi_compat.h: fix UB for bintime32 handling
Tue, Jan 27, 12:40 AM
kib committed rGa984c2346bb1: compat32: provide a type and a macro for (u)int64_t handling on non-x86 arches (authored by kib).
compat32: provide a type and a macro for (u)int64_t handling on non-x86 arches
Tue, Jan 27, 12:40 AM

Mon, Jan 26

kib added inline comments to D49895: sh.1: Provide detailed documentation for job control.
Mon, Jan 26, 10:02 PM
kib committed rG77c5f29453ed: libc: document posix_spawnattr_{get,set}procdescp_np(3) (authored by kib).
libc: document posix_spawnattr_{get,set}procdescp_np(3)
Mon, Jan 26, 9:48 PM
kib closed D54899: libc: document posix_spawnattr_{get,set}procdescp_np(3).
Mon, Jan 26, 9:48 PM
kib updated the diff for D54899: libc: document posix_spawnattr_{get,set}procdescp_np(3).

Alan' editing.

Mon, Jan 26, 9:20 PM
kib added inline comments to D54899: libc: document posix_spawnattr_{get,set}procdescp_np(3).
Mon, Jan 26, 9:20 PM
kib updated the diff for D54899: libc: document posix_spawnattr_{get,set}procdescp_np(3).

Reword the unclear and long sentence.

Mon, Jan 26, 8:18 PM
kib requested review of D54899: libc: document posix_spawnattr_{get,set}procdescp_np(3).
Mon, Jan 26, 8:13 PM
kib committed rG2a5b083c1f7e: posix_spawnattr_getexecfd_np.3: add closing .Fc (authored by kib).
posix_spawnattr_getexecfd_np.3: add closing .Fc
Mon, Jan 26, 8:10 PM
kib added a comment to D54898: libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches.

After this lands, RFSPAWN tests can be enabled on x86 by using *fork_thread() instead of raw *rfork().

Mon, Jan 26, 7:38 PM
kib requested review of D54898: libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches.
Mon, Jan 26, 7:37 PM
kib committed rG080d8ed7dd29: libc: add posix_spawnattr_{get,set}procdescp_np (authored by kib).
libc: add posix_spawnattr_{get,set}procdescp_np
Mon, Jan 26, 7:31 PM
kib committed rG74a2bf1b7a7f: libsys: add pdrfork_thread() on x86 (authored by kib).
libsys: add pdrfork_thread() on x86
Mon, Jan 26, 7:31 PM
kib closed D54879: Add posix_spawnattr_{get,set}procdescp_np(3).
Mon, Jan 26, 7:31 PM
kib accepted D54897: Add pdrfork to OpenBSM.

I think this is fine, and I have this change in some intermediate version of the patch.
But then I noted that e.g. inotify(2) is not there (unless I mistaken), so I decided that it is up to upstream to add missed syscalls, and then import a new version.
You might add inotify as well while there.

Mon, Jan 26, 7:28 PM
kib updated subscribers of D54897: Add pdrfork to OpenBSM.
Mon, Jan 26, 7:26 PM
kib added inline comments to D54879: Add posix_spawnattr_{get,set}procdescp_np(3).
Mon, Jan 26, 7:21 PM
kib committed rGbabac9d7bc05: vm_fault: only rely on PG_ZERO when the page was newly allocated (authored by kib).
vm_fault: only rely on PG_ZERO when the page was newly allocated
Mon, Jan 26, 3:19 PM
kib committed rG1dc8b622b36d: vm_object_page_remove(): clear pager even if there is no resident pages (authored by kib).
vm_object_page_remove(): clear pager even if there is no resident pages
Mon, Jan 26, 3:19 PM
kib added a comment to D54246: powerpc64: only sync icache if we relocated in executable segment.

ok, but on insistence from jrtc27 i added some debug logging here and it's never actually invoking syncicache in my tests.

Mon, Jan 26, 12:44 AM · PowerPC

Sun, Jan 25

kib updated the diff for D54879: Add posix_spawnattr_{get,set}procdescp_np(3).

Export pdrfork_thread on i386 for real

Sun, Jan 25, 9:14 PM
kib updated the diff for D54879: Add posix_spawnattr_{get,set}procdescp_np(3).

Rename to spawnattr_setprocdescp_np. IMO pdrfork is the implementation detail there, new name is less cryptic and easier to remember.
Export pdrfork_thread(3) on x86.

Sun, Jan 25, 8:58 PM
kib edited P686 posix_spawn procdesc test program.
Sun, Jan 25, 7:53 PM
kib edited P686 posix_spawn procdesc test program.
Sun, Jan 25, 7:52 PM
kib requested review of D54879: Add posix_spawnattr_{get,set}procdescp_np(3).
Sun, Jan 25, 7:20 PM
kib created P686 posix_spawn procdesc test program.
Sun, Jan 25, 7:18 PM
kib updated the diff for D54246: powerpc64: only sync icache if we relocated in executable segment.

c++

Sun, Jan 25, 6:37 PM · PowerPC
kib committed rG58580dc0c694: libc: document posix_spawnattr_getexecfd_np(3) (authored by kib).
libc: document posix_spawnattr_getexecfd_np(3)
Sun, Jan 25, 5:21 PM
kib committed rG3f0aea09689f: libc: add posix_spawnattr_{get,set}execfd_np(3) (authored by kib).
libc: add posix_spawnattr_{get,set}execfd_np(3)
Sun, Jan 25, 5:21 PM
kib closed D54862: Add posix_spawnattr_get/setexecfd_np(3).
Sun, Jan 25, 5:21 PM
kib updated the diff for D54246: powerpc64: only sync icache if we relocated in executable segment.

Remove nop loop.

Sun, Jan 25, 4:57 PM · PowerPC
kib updated the diff for D54246: powerpc64: only sync icache if we relocated in executable segment.

Fixes by adrian.

Sun, Jan 25, 4:37 PM · PowerPC
kib updated the diff for D54862: Add posix_spawnattr_get/setexecfd_np(3).

Man page fixes

Sun, Jan 25, 4:19 PM
kib added inline comments to D54862: Add posix_spawnattr_get/setexecfd_np(3).
Sun, Jan 25, 4:18 PM
kib committed rGe878df0d3b1e: Regen syscall tables after pdfork(2) and pdwait(2) additions (authored by kib).
Regen syscall tables after pdfork(2) and pdwait(2) additions
Sun, Jan 25, 3:58 PM
kib committed rGf7b56887cc07: Document pdrfork(2) and pdwait(2) (authored by kib).
Document pdrfork(2) and pdwait(2)
Sun, Jan 25, 3:58 PM
kib committed rG6c82bf1407d2: Regen for the fork and exit/wait exterror category addition (authored by kib).
Regen for the fork and exit/wait exterror category addition
Sun, Jan 25, 3:58 PM
kib committed rG2d555ec85a71: lib/libsys, lib/libc: export pdwait (authored by kib).
lib/libsys, lib/libc: export pdwait
Sun, Jan 25, 3:58 PM
kib committed rG4d707825bf62: Add pdwait(2) (authored by kib).
Add pdwait(2)
Sun, Jan 25, 3:58 PM
kib committed rG09984871d8ca: procdesc: postpone freeing the zombie' pid until procdesc is freed (authored by kib).
procdesc: postpone freeing the zombie' pid until procdesc is freed
Sun, Jan 25, 3:58 PM
kib committed rGaa72df78d799: sys: Add cap_pdwait_rights (authored by kib).
sys: Add cap_pdwait_rights
Sun, Jan 25, 3:58 PM
kib committed rGa560abedfb4f: audit: handle AUE_PDWAIT (authored by kib).
audit: handle AUE_PDWAIT
Sun, Jan 25, 3:58 PM
kib committed rG7fe33d58a826: kern/kern_exit.c: extract wait6_check_alive() helper (authored by kib).
kern/kern_exit.c: extract wait6_check_alive() helper
Sun, Jan 25, 3:58 PM
kib committed rG2b67cfa39d83: kern/kern_exit.c: extract some helpers from proc_to_reap() (authored by kib).
kern/kern_exit.c: extract some helpers from proc_to_reap()
Sun, Jan 25, 3:58 PM
kib committed rG109b9f48ec4e: kern/kern_exit.c: define the exterror category for exit/wait (authored by kib).
kern/kern_exit.c: define the exterror category for exit/wait
Sun, Jan 25, 3:57 PM
kib committed rGf10b4b6131d4: lib/libsys, lib/libc: export pdrfork(2) (authored by kib).
lib/libsys, lib/libc: export pdrfork(2)
Sun, Jan 25, 3:57 PM
kib committed rG5c2ee618d5ec: sys: add pdrfork(2) (authored by kib).
sys: add pdrfork(2)
Sun, Jan 25, 3:57 PM
kib committed rGd0d4b9b9df2a: sys: add AUE_PDRFORK (authored by kib).
sys: add AUE_PDRFORK
Sun, Jan 25, 3:57 PM
kib committed rG7211cd2cce74: kern/kern_fork.c: define the exterror category for fork (authored by kib).
kern/kern_fork.c: define the exterror category for fork
Sun, Jan 25, 3:57 PM
kib committed rG472c32a83b27: kern/kern_fork/exit.c: organize includes (authored by kib).
kern/kern_fork/exit.c: organize includes
Sun, Jan 25, 3:57 PM
kib committed rGf5acbacb28f9: kern/kern_exit.c: some style (authored by kib).
kern/kern_exit.c: some style
Sun, Jan 25, 3:57 PM
kib closed D54592: Add pdrfork(2) and pdwait(2).
Sun, Jan 25, 3:57 PM
kib committed rG6af3cf27ed00: freebsd32_rusage_out(): bzero the compat32 structure (authored by kib).
freebsd32_rusage_out(): bzero the compat32 structure
Sun, Jan 25, 3:57 PM
kib updated the diff for D54862: Add posix_spawnattr_get/setexecfd_np(3).

Some fixes, mostly to the man page typos.
Also accept that spawnattrs might be NULL.

Sun, Jan 25, 12:26 AM
kib committed rG4f004c7924af: lib/libthr: add pthread_tryjoin(3) test (authored by kib).
lib/libthr: add pthread_tryjoin(3) test
Sun, Jan 25, 12:25 AM
kib committed rGd1ac644ccc43: Document pthread_tryjoin_np(3) (authored by kib).
Document pthread_tryjoin_np(3)
Sun, Jan 25, 12:25 AM
kib committed rGc4522efca63f: libthr/thread/thr_join.c: deduplicate backout_join() helper (authored by kib).
libthr/thread/thr_join.c: deduplicate backout_join() helper
Sun, Jan 25, 12:25 AM
kib committed rGa8891c29d6a0: libthr: add pthread_tryjoin_np() (authored by kib).
libthr: add pthread_tryjoin_np()
Sun, Jan 25, 12:25 AM
kib committed rG21dd894a5e0f: sys: do not allow entering vm_fault() on boot until VM is initialized (authored by kib).
sys: do not allow entering vm_fault() on boot until VM is initialized
Sun, Jan 25, 12:25 AM
kib committed rG854e0e480378: x86 lapic: Dump LVTs from the ddb show lapic command (authored by kib).
x86 lapic: Dump LVTs from the ddb show lapic command
Sun, Jan 25, 12:25 AM
kib committed rG7d327e4ce6e0: x86/local_apic.c: Properly calculate the number of LVT entries (authored by kib).
x86/local_apic.c: Properly calculate the number of LVT entries
Sun, Jan 25, 12:25 AM
kib committed rG9286d8fe2873: x86/local_apic.c: add lapic_maxlvt() helper (authored by kib).
x86/local_apic.c: add lapic_maxlvt() helper
Sun, Jan 25, 12:25 AM
kib committed rG2079e5864f20: x86: mask all LAPIC vectors early, before BSP interrupts are enabled (authored by kib).
x86: mask all LAPIC vectors early, before BSP interrupts are enabled
Sun, Jan 25, 12:25 AM
kib committed rGdfd4c8759325: x88/local_apic.c: for each lvt element, add LVT register index (authored by kib).
x88/local_apic.c: for each lvt element, add LVT register index
Sun, Jan 25, 12:25 AM
kib committed rG7c59e09a0df4: x86/local_apic.c: convert lvts[] and elvts[] arrays to designated initializers (authored by kib).
x86/local_apic.c: convert lvts[] and elvts[] arrays to designated initializers
Sun, Jan 25, 12:25 AM

Sat, Jan 24

kib accepted D54591: devstat: Provide 32-bit compatibility.
Sat, Jan 24, 10:37 PM
kib requested review of D54862: Add posix_spawnattr_get/setexecfd_np(3).
Sat, Jan 24, 10:24 PM
kib accepted D54858: kqueue.2: Fix reference to unexisting kevent1().
Sat, Jan 24, 7:34 PM · manpages
kib updated the diff for D54831: Make ULE and 4BSD coexists.

One more #ifdef SMP in sched_ule.c
Add missed sys/sched.h include into powerpc/machdep.c.

Sat, Jan 24, 5:20 PM
kib added inline comments to D54858: kqueue.2: Fix reference to unexisting kevent1().
Sat, Jan 24, 4:21 PM · manpages
kib updated the diff for D54831: Make ULE and 4BSD coexists.

Deduplicate sched stats, sdt probes, and kdtrace hooks helper vars.
At least amd64 GENERIC and LINT build.

Sat, Jan 24, 6:25 AM
kib updated the diff for D54831: Make ULE and 4BSD coexists.

One more #ifdef KTR for 4bsd.

Sat, Jan 24, 2:10 AM
kib added a comment to D54831: Make ULE and 4BSD coexists.
Sat, Jan 24, 2:07 AM
kib updated the diff for D54831: Make ULE and 4BSD coexists.

Take the DEFINE_SHIM() proposal.
Fix inlined strcmp().
Also hopefully fix compilation issues, but I only started tinderbox.

Sat, Jan 24, 2:01 AM
kib committed rG95eec982c37a: vm/swap_pager.c: silence compiler warning (authored by kib).
vm/swap_pager.c: silence compiler warning
Sat, Jan 24, 12:33 AM
kib committed rG2a27aefcefe0: swap_pager_getpages(): some pages from ma[] might be bogus (authored by kib).
swap_pager_getpages(): some pages from ma[] might be bogus
Sat, Jan 24, 12:33 AM
kib committed rG102400e5d07a: swap_pager_getpages(): assert that bp->b_pages[] is accessed in bounds (authored by kib).
swap_pager_getpages(): assert that bp->b_pages[] is accessed in bounds
Sat, Jan 24, 12:33 AM
kib committed rGb3e6c8eb7eba: tuning.7: wording fixes (authored by kib).
tuning.7: wording fixes
Sat, Jan 24, 12:33 AM