Page MenuHomeFreeBSD
Feed Advanced Search

Aug 15 2023

minsoochoo0122_proton.me added a reviewer for D41461: libc: make pthread_getname_np and _pthread_getname_np available: Contributor Reviews (src).
Aug 15 2023, 2:27 AM · Contributor Reviews (src)

Aug 14 2023

jrtc27 added inline comments to D41421: Update jemalloc to version 5.3.0.
Aug 14 2023, 9:37 PM · Contributor Reviews (src)
brooks added inline comments to D41421: Update jemalloc to version 5.3.0.
Aug 14 2023, 9:11 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D41421: Update jemalloc to version 5.3.0.
Aug 14 2023, 4:52 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41421: Update jemalloc to version 5.3.0.

Fixed build error with missing _pthread_getname_np symbol reference

Aug 14 2023, 4:46 PM · Contributor Reviews (src)
brooks added a comment to D41421: Update jemalloc to version 5.3.0.

It seems extremely late in the release to be doing a malloc update.

Aug 14 2023, 4:31 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.

I still get error

cd /usr/src; _PARALLEL_SUBDIR_OK=1 time env MACHINE_ARCH=amd64  MACHINE=amd64  CPUTYPE= BUILD_TOOLS_META=.NOMETA CC="cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CXX="c++  -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin"  CPP="cpp -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin"  AS="as" AR="ar" ELFCTL="elfctl" LD="ld"  LLVM_LINK="" NM=nm OBJCOPY="objcopy"  RANLIB=ranlib STRINGS=  SIZE="size" STRIPBIN="strip"  INSTALL="install -U"  PATH=/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin  SYSROOT=/usr/obj/usr/src/amd64.amd64/tmp make  -f Makefile.inc1  BWPHASE=everything  DESTDIR=/usr/obj/usr/src/amd64.amd64/tmp all
(cd /usr/src/lib/csu/tests/dynamic &&  DEPENDFILE=.depend.init_test  NO_SUBDIR=1 make -f /usr/src/lib/csu/tests/dynamic/Makefile _RECURSING_PROGS=t  PROG=init_test )
Building /usr/obj/usr/src/amd64.amd64/lib/csu/tests/dynamic/init_test.o
Building /usr/obj/usr/src/amd64.amd64/lib/csu/tests/dynamic/init_test.full
ld: error: undefined reference due to --no-allow-shlib-undefined: _pthread_getname_np
>>> referenced by /usr/obj/usr/src/amd64.amd64/tmp/lib/libc.so.7
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Aug 14 2023, 5:25 AM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41421: Update jemalloc to version 5.3.0.

Updated FREEBSD-diffs

Aug 14 2023, 5:16 AM · Contributor Reviews (src)

Aug 12 2023

minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.
In D41421#943650, @imp wrote:

Thanks for the work! One thing I would like to mention is that it seems having some issue building or running on 32-bit older CURRENT: https://github.com/jemalloc/jemalloc/pull/2228

I did some test on 32-bit FreeBSD and I found out that when clock_gettime is used on 64bit machine but compiled in 32bit, it sets tv_sec (time_t) as -1. On 32bit FreeBSD, clock_gettime works as expected.

that seems like it's a bug. On powerpc and amrv7 tv_sec should be the same. On i386, tv_sec is only32-bit, but we still have a dozen years left until it's inadequate. Can you finle a bug, if you haven't already, with a way to reproduce this?

Aug 12 2023, 10:02 PM · Contributor Reviews (src)
imp added a comment to D41421: Update jemalloc to version 5.3.0.

Thanks for the work! One thing I would like to mention is that it seems having some issue building or running on 32-bit older CURRENT: https://github.com/jemalloc/jemalloc/pull/2228

I did some test on 32-bit FreeBSD and I found out that when clock_gettime is used on 64bit machine but compiled in 32bit, it sets tv_sec (time_t) as -1. On 32bit FreeBSD, clock_gettime works as expected.

Aug 12 2023, 8:53 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.

Thanks for the work! One thing I would like to mention is that it seems having some issue building or running on 32-bit older CURRENT: https://github.com/jemalloc/jemalloc/pull/2228

Aug 12 2023, 2:34 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.

Thanks for the work! One thing I would like to mention is that it seems having some issue building or running on 32-bit older CURRENT: https://github.com/jemalloc/jemalloc/pull/2228

Aug 12 2023, 5:23 AM · Contributor Reviews (src)

Aug 11 2023

lwhsu added a comment to D41421: Update jemalloc to version 5.3.0.

Thanks for the work! One thing I would like to mention is that it seems having some issue building or running on 32-bit older CURRENT: https://github.com/jemalloc/jemalloc/pull/2228

Aug 11 2023, 6:10 AM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41421: Update jemalloc to version 5.3.0.

Solved libc build error. However, linking fails with error that _pthread_getname_np is undefined symbol.

Building /usr/obj/usr/src/amd64.amd64/lib/csu/tests/dynamic/init_test.o
Building /usr/obj/usr/src/amd64.amd64/lib/csu/tests/dynamic/init_test.full
ld: error: undefined reference due to --no-allow-shlib-undefined: _pthread_getname_np
>>> referenced by /usr/obj/usr/src/amd64.amd64/tmp/lib/libc.so.7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Aug 11 2023, 5:56 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.

When I build new jemalloc, clang generates an error:

jemalloc_prof_sys.c:310:9: error: call to undeclared function 'pthread_getname_np'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
        return pthread_getname_np(pthread_self(), buf, limit);
               ^
jemalloc_prof_sys.c:310:9: note: did you mean '_pthread_getname_np'?
/usr/src/include/pthread.h:305:6: note: '_pthread_getname_np' declared here
int             pthread_getname_np(pthread_t, char *, size_t);
                ^
/usr/src/lib/libc/include/namespace.h:141:30: note: expanded from macro 'pthread_getname_np'
#define         pthread_getname_np              _pthread_getname_np
                                                ^
1 error generated.
*** [jemalloc_prof_sys.o] Error code 1

although <pthread.h> is already included. Any ideas?

Aug 11 2023, 5:32 AM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the summary of D41421: Update jemalloc to version 5.3.0.
Aug 11 2023, 5:23 AM · Contributor Reviews (src)

Aug 5 2023

jlduran_gmail.com updated the diff for D41287: arm64: Fix typo in comments.

Rebase.

Aug 5 2023, 5:27 PM · Contributor Reviews (src)

Aug 3 2023

jlduran_gmail.com updated the test plan for D41287: arm64: Fix typo in comments.
Aug 3 2023, 11:14 PM · Contributor Reviews (src)

Aug 1 2023

jlduran_gmail.com requested review of D41287: arm64: Fix typo in comments.
Aug 1 2023, 8:39 PM · Contributor Reviews (src)

Jul 20 2023

emaste closed D41106: Remove perforce tools and references.
Jul 20 2023, 5:34 PM · Contributor Reviews (src)
emaste accepted D41106: Remove perforce tools and references.
Jul 20 2023, 5:20 PM · Contributor Reviews (src)
olce accepted D41106: Remove perforce tools and references.

Seems reasonable, and with some quick grep and find, I didn't find anything else to remove.

Jul 20 2023, 4:42 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the summary of D41106: Remove perforce tools and references.
Jul 20 2023, 1:24 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added a reviewer for D41106: Remove perforce tools and references: Contributor Reviews (src).
Jul 20 2023, 1:23 AM · Contributor Reviews (src)

Jul 18 2023

minsoochoo0122_proton.me retitled D34766: lio_listio(2): add __restrict keyword to the parameter `struct sigvent *sig` from lio_listio(2): add __restrict keyword to third parameter struct sigvent *sig to lio_listio(2): add __restrict keyword to the parameter `struct sigvent *sig`.
Jul 18 2023, 8:10 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D39459: Move PTHREAD_ values to limits.h to conform POSIX..

New diff file

Jul 18 2023, 8:02 PM · Contributor Reviews (src)
minsoochoo0122_proton.me retitled D39459: Move PTHREAD_ values to limits.h to conform POSIX. from Define some PTHREAD_ values in limits.h to conform POSIX. to Move PTHREAD_ values to limits.h to conform POSIX..
Jul 18 2023, 7:50 PM · Contributor Reviews (src)

Jul 8 2023

kib closed D40912: libthr: Patch to reduce latency to acquire+release a pthread mutex.
Jul 8 2023, 6:10 AM · Contributor Reviews (src)
kib accepted D40912: libthr: Patch to reduce latency to acquire+release a pthread mutex.
Jul 8 2023, 3:56 AM · Contributor Reviews (src)
kib added inline comments to D40912: libthr: Patch to reduce latency to acquire+release a pthread mutex.
Jul 8 2023, 3:55 AM · Contributor Reviews (src)

Jul 7 2023

becker.greg_att.net added inline comments to D40912: libthr: Patch to reduce latency to acquire+release a pthread mutex.
Jul 7 2023, 10:34 PM · Contributor Reviews (src)
becker.greg_att.net updated the diff for D40912: libthr: Patch to reduce latency to acquire+release a pthread mutex.

I reverted all the m_qidx changes, lost a wee bit of perf across all mutex flavors, but numbers still look pretty good.

Jul 7 2023, 10:33 PM · Contributor Reviews (src)
kib added inline comments to D40912: libthr: Patch to reduce latency to acquire+release a pthread mutex.
Jul 7 2023, 5:26 PM · Contributor Reviews (src)
becker.greg_att.net updated the diff for D40912: libthr: Patch to reduce latency to acquire+release a pthread mutex.

Updated diff to provide full context via diff -U99999999 ...

Jul 7 2023, 4:47 PM · Contributor Reviews (src)
kib added a comment to D40912: libthr: Patch to reduce latency to acquire+release a pthread mutex.

Please, when uploading patches to phabricator, do git diff -U99999999, to provide enough context. I will reply to the patch after you re-upload it.

Jul 7 2023, 4:35 PM · Contributor Reviews (src)
jhb accepted D40912: libthr: Patch to reduce latency to acquire+release a pthread mutex.
Jul 7 2023, 4:29 PM · Contributor Reviews (src)
becker.greg_att.net requested review of D40912: libthr: Patch to reduce latency to acquire+release a pthread mutex.
Jul 7 2023, 4:01 PM · Contributor Reviews (src)
kib closed D40900: Fix to allow building libthr without -D_PTHREADS_INVARIANTS defined.
Jul 7 2023, 1:47 AM · Contributor Reviews (src)

Jul 6 2023

jhb accepted D40900: Fix to allow building libthr without -D_PTHREADS_INVARIANTS defined.

I think releng maintains their own checklist of things to do for a new stable branch, I've tagged them here so they can think about toggling this setting (presumably in src.opts.mk) when creating new stable branches.

Jul 6 2023, 11:42 PM · Contributor Reviews (src)
kib added inline comments to D40900: Fix to allow building libthr without -D_PTHREADS_INVARIANTS defined.
Jul 6 2023, 10:53 PM · Contributor Reviews (src)
kib added a comment to D40900: Fix to allow building libthr without -D_PTHREADS_INVARIANTS defined.

Please handle jhb' suggestions, then you can git am the patch to me.

Jul 6 2023, 10:51 PM · Contributor Reviews (src)
becker.greg_att.net updated the diff for D40900: Fix to allow building libthr without -D_PTHREADS_INVARIANTS defined.

Thanks John, I've updated the patch as requested, including the tools/build/options change (I wasn't aware of that, pretty cool!)

Jul 6 2023, 10:50 PM · Contributor Reviews (src)
mjg added a comment to D40900: Fix to allow building libthr without -D_PTHREADS_INVARIANTS defined.

also the procedure for branching a stable needs to include this, but from my grep i don't see anything in src for malloc_production which has the desired treatment

Jul 6 2023, 10:15 PM · Contributor Reviews (src)
jhb accepted D40900: Fix to allow building libthr without -D_PTHREADS_INVARIANTS defined.

I would perhaps call the option MK_PTHREADS_ASSERTIONS to match MK_LLVM_ASSERTIONS in terms of naming.

Jul 6 2023, 9:59 PM · Contributor Reviews (src)
mjg accepted D40900: Fix to allow building libthr without -D_PTHREADS_INVARIANTS defined.

LGTM but someone else should also take a look

Jul 6 2023, 9:39 PM · Contributor Reviews (src)
becker.greg_att.net requested review of D40900: Fix to allow building libthr without -D_PTHREADS_INVARIANTS defined.
Jul 6 2023, 9:32 PM · Contributor Reviews (src)

Jun 28 2023

imp added a reverting change for D40405: Adds support for Purism coreboot keyboards : D40787: atkbd: Flip the default for 'coreboot' to being normal.
Jun 28 2023, 5:48 PM · Contributor Reviews (src)
imp closed D40405: Adds support for Purism coreboot keyboards .
Jun 28 2023, 5:21 PM · Contributor Reviews (src)
imp reopened D40405: Adds support for Purism coreboot keyboards .

No need to close it. An additional quirk is fine. I'll commit it today

Jun 28 2023, 4:26 PM · Contributor Reviews (src)
jon_thesoo.org closed D40405: Adds support for Purism coreboot keyboards .

I'm not sure what the Chromebook id permutations are. I don't have a more general solution for this issue.

Jun 28 2023, 4:15 PM · Contributor Reviews (src)
imp added a comment to D40405: Adds support for Purism coreboot keyboards .

If not, this can go in as is...

Do I have to do anything else for it to be committed?

Jun 28 2023, 3:47 PM · Contributor Reviews (src)
jon_thesoo.org added a comment to D40405: Adds support for Purism coreboot keyboards .

If not, this can go in as is...

Jun 28 2023, 2:40 PM · Contributor Reviews (src)

Jun 7 2023

joerg added a reviewer for D40447: Add "xt25f32b" and "xt25f128b" to mx25l driver.: joerg.
Jun 7 2023, 8:34 AM · Contributor Reviews (src)
s199p.wa1k9r_gmail.com requested review of D40447: Add "xt25f32b" and "xt25f128b" to mx25l driver..
Jun 7 2023, 8:12 AM · Contributor Reviews (src)

Jun 5 2023

olce added a watcher for Contributor Reviews (src): olce.
Jun 5 2023, 4:26 PM

Jun 4 2023

s199p.wa1k9r_gmail.com added a comment to D40407: Fix broken UART console output on RK356x in ACPI mode.
In D40407#920099, @imp wrote:

So why does this fix things? Otherwise, looks like it's OK

Jun 4 2023, 12:26 AM · Contributor Reviews (src)

Jun 3 2023

imp added a comment to D40407: Fix broken UART console output on RK356x in ACPI mode.

So why does this fix things? Otherwise, looks like it's OK

Jun 3 2023, 8:41 PM · Contributor Reviews (src)
s199p.wa1k9r_gmail.com requested review of D40407: Fix broken UART console output on RK356x in ACPI mode.
Jun 3 2023, 8:49 AM · Contributor Reviews (src)
imp accepted D40405: Adds support for Purism coreboot keyboards .
Jun 3 2023, 4:50 AM · Contributor Reviews (src)
imp added a comment to D40405: Adds support for Purism coreboot keyboards .

So.. looks good to me...
It would be awesome if we could automatically detect this quirk... maybe if the probe works turn the rest off? If you are up for trying that...
If not, this can go in as is...

Jun 3 2023, 4:50 AM · Contributor Reviews (src)
jon_thesoo.org requested review of D40405: Adds support for Purism coreboot keyboards .
Jun 3 2023, 3:39 AM · Contributor Reviews (src)

May 8 2023

lwhsu renamed Contributor Reviews (src) from Contributor Reviews (base) to Contributor Reviews (src).
May 8 2023, 7:36 AM

Feb 3 2023

freebsd_igalic.co abandoned D38370: certctl(8): Remove untrusted certificates from TRUSTPATH.

after feedback from @kevans on IRC, I'm abandoning this revision, because it's the wrong way to solve this problem:

Feb 3 2023, 6:08 PM · Contributor Reviews (src), manpages
yuri_aetern.org added inline comments to D38370: certctl(8): Remove untrusted certificates from TRUSTPATH.
Feb 3 2023, 2:48 PM · Contributor Reviews (src), manpages
freebsd_igalic.co updated the diff for D38370: certctl(8): Remove untrusted certificates from TRUSTPATH.
  • fix case syntax
  • use dirname, not basename
Feb 3 2023, 2:12 PM · Contributor Reviews (src), manpages
debdrup accepted D38370: certctl(8): Remove untrusted certificates from TRUSTPATH.

The mdoc(7) changes look good to me.

Feb 3 2023, 2:09 PM · Contributor Reviews (src), manpages
freebsd_igalic.co added reviewers for D38370: certctl(8): Remove untrusted certificates from TRUSTPATH: kevans, manpages.
Feb 3 2023, 1:58 PM · Contributor Reviews (src), manpages

Nov 30 2022

ghislain_smartix.llc added a watcher for Contributor Reviews (src): ghislain_smartix.llc.
Nov 30 2022, 2:22 AM

Aug 17 2022

0mp added a member for Contributor Reviews (src): 0mp.
Aug 17 2022, 1:40 PM

Jun 21 2022

kfv_kfv.io removed a member for Contributor Reviews (src): kfv_kfv.io.
Jun 21 2022, 11:18 AM

Jun 18 2022

kib closed D34184: struct kinfo_file changes needed for lsof to work using only usermode APIs.
Jun 18 2022, 9:36 AM · Contributor Reviews (src)

Jun 17 2022

kib added a comment to D34184: struct kinfo_file changes needed for lsof to work using only usermode APIs.

I will try to handle this.

Jun 17 2022, 1:32 PM · Contributor Reviews (src)
kib accepted D34184: struct kinfo_file changes needed for lsof to work using only usermode APIs.
Jun 17 2022, 1:32 PM · Contributor Reviews (src)

Jun 14 2022

damjan.jov_gmail.com added a comment to D34184: struct kinfo_file changes needed for lsof to work using only usermode APIs.
In D34184#804474, @kib wrote:

I still want the answer about use of the kernel addresses for kqueue/eventfd. Generally we try to not introduce new interfaces that directly expose KVA, whatever silly the idea of KASLR is.

Jun 14 2022, 12:36 AM · Contributor Reviews (src)

Jun 13 2022

kib added a comment to D34184: struct kinfo_file changes needed for lsof to work using only usermode APIs.

I still want the answer about use of the kernel addresses for kqueue/eventfd. Generally we try to not introduce new interfaces that directly expose KVA, whatever silly the idea of KASLR is.

Jun 13 2022, 7:32 PM · Contributor Reviews (src)
se closed D34323: Add a kern.lockf sysctl to list the advisory byte-range locks on a specific vnode.

I have accepted this review, but the author points out that it should not be applied since D34576 provides a better implementation.

Jun 13 2022, 7:16 AM · Contributor Reviews (src)

Jun 12 2022

se added inline comments to D34323: Add a kern.lockf sysctl to list the advisory byte-range locks on a specific vnode.
Jun 12 2022, 9:47 PM · Contributor Reviews (src)
se accepted D34184: struct kinfo_file changes needed for lsof to work using only usermode APIs.

The patch applied cleanly except for the version update in param.h and the kernel built with this patch and D34323 applied provides the required functionality for ZFS support in lsof-4.85.0.

Jun 12 2022, 9:01 PM · Contributor Reviews (src)
se accepted D34323: Add a kern.lockf sysctl to list the advisory byte-range locks on a specific vnode.

The patch applied cleanly except for the version update in param.h and the kernel built with this patch and D34184 applied provides the required functionality for ZFS support in lsof-4.85.0.

Jun 12 2022, 9:00 PM · Contributor Reviews (src)

May 25 2022

hselasky added a comment to D11140: OSS: allow unplug sound cards without apps close devices.

https://cgit.freebsd.org/ports/commit/?id=3bc8803e5c4a96b60ffe5fa6887e2b73e0df7756

May 25 2022, 9:19 AM · Contributor Reviews (src), multimedia

Apr 16 2022

kib added a comment to D34184: struct kinfo_file changes needed for lsof to work using only usermode APIs.

Regardless of the notes I put above, please mail me the git patch with the correct 'Author' metadata.

Apr 16 2022, 11:48 PM · Contributor Reviews (src)

Apr 13 2022

damjan.jov_gmail.com added a comment to D34323: Add a kern.lockf sysctl to list the advisory byte-range locks on a specific vnode.

This is probably irrelevant now that D34756 added a more general way to retrieve advisory lock info.

Apr 13 2022, 5:32 PM · Contributor Reviews (src)
damjan.jov_gmail.com added a comment to D34184: struct kinfo_file changes needed for lsof to work using only usermode APIs.

Is this still relevant?
D34756 added a more general way to retrieve advisory lock info.

Apr 13 2022, 5:29 PM · Contributor Reviews (src)
jhb accepted D34184: struct kinfo_file changes needed for lsof to work using only usermode APIs.
Apr 13 2022, 5:14 PM · Contributor Reviews (src)

Apr 7 2022

kib added a comment to D34090: Kernel changes needed for lsof to work using only user mode APIs.

FYI D34756
I hope to work on your other patches then.

Apr 7 2022, 5:40 PM · Contributor Reviews (src)

Apr 6 2022

markj added a member for Contributor Reviews (src): markj.
Apr 6 2022, 10:36 PM

Apr 2 2022

minsoochoo0122_proton.me removed a watcher for Contributor Reviews (src): minsoochoo0122_proton.me.
Apr 2 2022, 1:37 AM
minsoochoo0122_proton.me added a member for Contributor Reviews (src): minsoochoo0122_proton.me.
Apr 2 2022, 1:37 AM
minsoochoo0122_proton.me added a watcher for Contributor Reviews (src): minsoochoo0122_proton.me.
Apr 2 2022, 1:36 AM

Feb 22 2022

damjan.jov_gmail.com abandoned D34090: Kernel changes needed for lsof to work using only user mode APIs.

Thank you for your feedback. New versions of this patch are at:
https://reviews.freebsd.org/D34184
https://reviews.freebsd.org/D34323

Feb 22 2022, 7:05 PM · Contributor Reviews (src)

Feb 20 2022

damjan.jov_gmail.com updated the diff for D34184: struct kinfo_file changes needed for lsof to work using only usermode APIs.

Also:

  • Add a kf_eventfd_addr field to kf_eventfd and populate it.
Feb 20 2022, 12:58 PM · Contributor Reviews (src)
damjan.jov_gmail.com requested review of D34323: Add a kern.lockf sysctl to list the advisory byte-range locks on a specific vnode.
Feb 20 2022, 12:54 PM · Contributor Reviews (src)

Feb 6 2022

damjan.jov_gmail.com requested review of D34184: struct kinfo_file changes needed for lsof to work using only usermode APIs.
Feb 6 2022, 12:03 PM · Contributor Reviews (src)

Feb 2 2022

kib added a comment to D34090: Kernel changes needed for lsof to work using only user mode APIs.

Kernel changes needed for lsof to work using only user mode APIs,

Can you confirm that with the set of changes here and without use of kvm, lsof's full functionality is available?

lsof wants to print the f_ops pointer from struct file, not sure if it's worth adding to struct xfile. It's only used to log debug info for unknown file types.

I strongly recommend not to dig into f_ops. For instance, some file systems overload vnops with something different, while still being normal filesystem. An example is tmpfs.

Feb 2 2022, 5:55 AM · Contributor Reviews (src)
damjan.jov_gmail.com added a comment to D34090: Kernel changes needed for lsof to work using only user mode APIs.

Kernel changes needed for lsof to work using only user mode APIs,

Can you confirm that with the set of changes here and without use of kvm, lsof's full functionality is available?

Feb 2 2022, 3:50 AM · Contributor Reviews (src)

Feb 1 2022

emaste added a comment to D34090: Kernel changes needed for lsof to work using only user mode APIs.

Kernel changes needed for lsof to work using only user mode APIs,

Feb 1 2022, 5:51 PM · Contributor Reviews (src)
kib added a comment to D34090: Kernel changes needed for lsof to work using only user mode APIs.

Please split the patch to per-object. For instance, I think that pipe/socket/kevent changes should be relatively straighforward. While lockf/xvnode do not look so.

Feb 1 2022, 4:38 AM · Contributor Reviews (src)

Jan 29 2022

damjan.jov_gmail.com updated the diff for D34090: Kernel changes needed for lsof to work using only user mode APIs.

Added kf_pipe_buffer_[in/out/size] fields to kf_pipe.

Jan 29 2022, 12:16 PM · Contributor Reviews (src)
damjan.jov_gmail.com requested review of D34090: Kernel changes needed for lsof to work using only user mode APIs.
Jan 29 2022, 10:30 AM · Contributor Reviews (src)

Oct 31 2021

grahamperrin retitled D11140: OSS: allow unplug sound cards without apps close devices from OSS: allow unplug soundcars without apps close devices to OSS: allow unplug sound cards without apps close devices.
Oct 31 2021, 9:42 AM · Contributor Reviews (src), multimedia