CVS commit: src/sys/compat/net

2022-10-03 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Oct 4 05:33:05 UTC 2022 Modified Files: src/sys/compat/net: route_50.h Log Message: Fix comment. No fucntional change. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/compat/net/route_50.h Please note

CVS commit: src/sys/compat/net

2022-10-03 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Oct 4 05:33:05 UTC 2022 Modified Files: src/sys/compat/net: route_50.h Log Message: Fix comment. No fucntional change. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/compat/net/route_50.h Please note

Re: CVS commit: src/sys/dev

2022-10-03 Thread Taylor R Campbell
> Date: Tue, 04 Oct 2022 12:12:15 +0900 > From: Ryo ONODERA > > "Taylor R Campbell" writes: > > > console(4), constty(4): Rip off the kernel lock. > > After introduction of MP-safe console/constty, my kernel stopped > just after genfb(4) detection. > LOCKDEBUG, DIAGNOSTIC, DEBUG options does

CVS commit: src/sys

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Oct 4 05:20:02 UTC 2022 Modified Files: src/sys/dev: cons.c src/sys/kern: subr_prf.c tty.c src/sys/sys: tty.h Log Message: Revert "constty(4): Make MP-safe." Something appears to be wrong with this. To

CVS commit: src/sys

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Oct 4 05:20:02 UTC 2022 Modified Files: src/sys/dev: cons.c src/sys/kern: subr_prf.c tty.c src/sys/sys: tty.h Log Message: Revert "constty(4): Make MP-safe." Something appears to be wrong with this. To

CVS commit: src/sys/dev

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Oct 4 05:19:31 UTC 2022 Modified Files: src/sys/dev: cons.c Log Message: Revert "console(4), constty(4): Rip off the kernel lock." Needs more testing. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85

CVS commit: src/sys/dev

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Oct 4 05:19:31 UTC 2022 Modified Files: src/sys/dev: cons.c Log Message: Revert "console(4), constty(4): Rip off the kernel lock." Needs more testing. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85

Re: CVS commit: src/sys/dev

2022-10-03 Thread Ryo ONODERA
Hi, "Taylor R Campbell" writes: > Module Name: src > Committed By: riastradh > Date: Mon Oct 3 19:57:25 UTC 2022 > > Modified Files: > src/sys/dev: cons.c > > Log Message: > console(4), constty(4): Rip off the kernel lock. After introduction of MP-safe console/constty, my

CVS commit: src/lib/libc/stdlib

2022-10-03 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Oct 4 01:46:18 UTC 2022 Modified Files: src/lib/libc/stdlib: posix_openpt.3 Log Message: posix_openpt.3: reflect changes from r. 1.45 of tty_ptm.c To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/lib/libc/stdlib

2022-10-03 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Oct 4 01:46:18 UTC 2022 Modified Files: src/lib/libc/stdlib: posix_openpt.3 Log Message: posix_openpt.3: reflect changes from r. 1.45 of tty_ptm.c To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/sys/arch/powerpc/ibm4xx

2022-10-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Oct 3 23:41:28 UTC 2022 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: copy{in,out}str: Add cr0 and ctr to list of clobbered registers. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/powerpc/ibm4xx

2022-10-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Oct 3 23:41:28 UTC 2022 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: copy{in,out}str: Add cr0 and ctr to list of clobbered registers. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/powerpc/ibm4xx

2022-10-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Oct 3 23:35:41 UTC 2022 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: copy{in,out}str: Consistently use uaddr instead of udaddr. Note that we use kaddr, not kdaddr, for kernel data address.

CVS commit: src/sys/arch/powerpc/ibm4xx

2022-10-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Oct 3 23:35:41 UTC 2022 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: copy{in,out}str: Consistently use uaddr instead of udaddr. Note that we use kaddr, not kdaddr, for kernel data address.

CVS commit: src/sys/arch/powerpc/ibm4xx

2022-10-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Oct 3 23:32:28 UTC 2022 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: copy{in,out}str: Tidy up inline asm's: - Use %[foo], %[bar], ... instead of %0, %1, ... - One instruction per line. -

CVS commit: src/sys/arch/powerpc/ibm4xx

2022-10-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Oct 3 23:32:28 UTC 2022 Modified Files: src/sys/arch/powerpc/ibm4xx: copyinstr.c copyoutstr.c Log Message: copy{in,out}str: Tidy up inline asm's: - Use %[foo], %[bar], ... instead of %0, %1, ... - One instruction per line. -

CVS commit: src/sys/dev/ic

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 20:15:50 UTC 2022 Modified Files: src/sys/dev/ic: com.c Log Message: com(4): Nix quirky `integrate' macro. Just use `static inline' like everything else. To generate a diff of this commit: cvs rdiff -u -r1.377

CVS commit: src/sys/dev/ic

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 20:15:50 UTC 2022 Modified Files: src/sys/dev/ic: com.c Log Message: com(4): Nix quirky `integrate' macro. Just use `static inline' like everything else. To generate a diff of this commit: cvs rdiff -u -r1.377

CVS commit: src/sys/dev/ic

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:59:21 UTC 2022 Modified Files: src/sys/dev/ic: com.c Log Message: com(4): Omit needless spltty in comstart. This is called either via tp->t_oproc, which is done with tty_lock held (thus, at IPL_VM = IPL_TTY), or

CVS commit: src/sys/dev/ic

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:59:21 UTC 2022 Modified Files: src/sys/dev/ic: com.c Log Message: com(4): Omit needless spltty in comstart. This is called either via tp->t_oproc, which is done with tty_lock held (thus, at IPL_VM = IPL_TTY), or

CVS commit: src/sys/dev/ic

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:58:48 UTC 2022 Modified Files: src/sys/dev/ic: com.c Log Message: com(4): Nix dead code. This was introduced in rev. 1.292, whose commit message was... `Delete dead code.' I guess December 6, 2009 was Opposite

CVS commit: src/sys/dev/ic

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:58:48 UTC 2022 Modified Files: src/sys/dev/ic: com.c Log Message: com(4): Nix dead code. This was introduced in rev. 1.292, whose commit message was... `Delete dead code.' I guess December 6, 2009 was Opposite

CVS commit: src/sys/dev/ic

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:57:41 UTC 2022 Modified Files: src/sys/dev/ic: com.c Log Message: com(4): Comment on lock order. To generate a diff of this commit: cvs rdiff -u -r1.374 -r1.375 src/sys/dev/ic/com.c Please note that diffs are

CVS commit: src/sys/dev/ic

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:57:41 UTC 2022 Modified Files: src/sys/dev/ic: com.c Log Message: com(4): Comment on lock order. To generate a diff of this commit: cvs rdiff -u -r1.374 -r1.375 src/sys/dev/ic/com.c Please note that diffs are

CVS commit: src/sys/dev

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:57:25 UTC 2022 Modified Files: src/sys/dev: cons.c Log Message: console(4), constty(4): Rip off the kernel lock. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/dev/cons.c Please note

CVS commit: src/sys/dev

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:57:25 UTC 2022 Modified Files: src/sys/dev: cons.c Log Message: console(4), constty(4): Rip off the kernel lock. To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/dev/cons.c Please note

CVS commit: src/sys

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:57:06 UTC 2022 Modified Files: src/sys/dev: cons.c src/sys/kern: subr_prf.c tty.c src/sys/sys: tty.h Log Message: constty(4): Make MP-safe. Access to the global constty variable is coordinated as

CVS commit: src/sys

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:57:06 UTC 2022 Modified Files: src/sys/dev: cons.c src/sys/kern: subr_prf.c tty.c src/sys/sys: tty.h Log Message: constty(4): Make MP-safe. Access to the global constty variable is coordinated as

CVS commit: src/sys/dev/ic

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:26:35 UTC 2022 Modified Files: src/sys/dev/ic: com.c Log Message: com(4): Update confusing comment from decades ago to reflect now. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.373

CVS commit: src/sys/dev/ic

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:26:35 UTC 2022 Modified Files: src/sys/dev/ic: com.c Log Message: com(4): Update confusing comment from decades ago to reflect now. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.373

CVS commit: src/sys/dev

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:13:09 UTC 2022 Modified Files: src/sys/dev: cons.c Log Message: cons(9): Check the unit number on close too. Races between multiple opens, some of which fail, might lead to closing a bad unit number -- not clear

CVS commit: src/sys/dev

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:13:09 UTC 2022 Modified Files: src/sys/dev: cons.c Log Message: cons(9): Check the unit number on close too. Races between multiple opens, some of which fail, might lead to closing a bad unit number -- not clear

CVS commit: src/sys/dev

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:12:51 UTC 2022 Modified Files: src/sys/dev: cons.c Log Message: cons(9): Serialize open and close. Kernel lock wasn't enough for this -- cdevvp, vn_lock, or VOP_OPEN could block, allowing another thread to

CVS commit: src/sys/dev

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:12:51 UTC 2022 Modified Files: src/sys/dev: cons.c Log Message: cons(9): Serialize open and close. Kernel lock wasn't enough for this -- cdevvp, vn_lock, or VOP_OPEN could block, allowing another thread to

CVS commit: src/sys/dev

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:12:29 UTC 2022 Modified Files: src/sys/dev: cons.c cons.h Log Message: cons(9): New function cn_set_tab. Increment of progress toward eliminating bare access to cn_tab so we can make more things MP-safe without

CVS commit: src/sys/dev

2022-10-03 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Oct 3 19:12:29 UTC 2022 Modified Files: src/sys/dev: cons.c cons.h Log Message: cons(9): New function cn_set_tab. Increment of progress toward eliminating bare access to cn_tab so we can make more things MP-safe without

CVS commit: src/sys/arch/luna68k/dev

2022-10-03 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Mon Oct 3 17:42:36 UTC 2022 Modified Files: src/sys/arch/luna68k/dev: lunafb.c omrasops.c omrasopsvar.h Log Message: Remove global hwplanecount and use ri_depth in struct rasops instead. No functional change. To generate a

CVS commit: src/sys/arch/luna68k/dev

2022-10-03 Thread Izumi Tsutsui
Module Name:src Committed By: tsutsui Date: Mon Oct 3 17:42:36 UTC 2022 Modified Files: src/sys/arch/luna68k/dev: lunafb.c omrasops.c omrasopsvar.h Log Message: Remove global hwplanecount and use ri_depth in struct rasops instead. No functional change. To generate a

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2022-10-03 Thread Frank Kardel
Module Name:src Committed By: kardel Date: Mon Oct 3 16:04:19 UTC 2022 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Revert. Spotted by hannken@ - fix needs to be in zfs_ctldir.c it is missing VOP_PATHCONF. To generate a diff

CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2022-10-03 Thread Frank Kardel
Module Name:src Committed By: kardel Date: Mon Oct 3 16:04:19 UTC 2022 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c Log Message: Revert. Spotted by hannken@ - fix needs to be in zfs_ctldir.c it is missing VOP_PATHCONF. To generate a diff

Re: CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2022-10-03 Thread J. Hannken-Illjes
Yes -- I suppose genfs_pathconf() is sufficient here. -- J. Hannken-Illjes - hann...@mailbox.org > On 3. Oct 2022, at 11:40, Frank Kardel wrote: > > > Good to know. So do we need to add path conf there? > Frank > > 3 Oct 2022 11:34:09 J. Hannken-Illjes : > >> Frank, >> >> the vnode

Re: CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2022-10-03 Thread Frank Kardel
Good to know. So do we need to add path conf there? Frank 3 Oct 2022 11:34:09 J. Hannken-Illjes : > Frank, > > the vnode operations for ".zfs" are in zfs_ctldir.c and there > is no pathconf operation here ... > > -- > J. Hannken-Illjes - hann...@mailbox.org > >> On 3. Oct 2022, at 11:26,

Re: CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2022-10-03 Thread J. Hannken-Illjes
Frank, the vnode operations for ".zfs" are in zfs_ctldir.c and there is no pathconf operation here ... -- J. Hannken-Illjes - hann...@mailbox.org > On 3. Oct 2022, at 11:26, Frank Kardel wrote: > > Well, I am am happy to do that. But ls got eopnotsupp for fpathconf of ACL > names and barked

Re: CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2022-10-03 Thread Frank Kardel
Well, I am am happy to do that. But ls got eopnotsupp for fpathconf of ACL names and barked at them when listing the .zfs snapshot directory. Ls is only ignoring einval at that place. So something must be wrong there wrt tog. Frank 3 Oct 2022 10:53:10 J. Hannken-Illjes : >> On 27. Sep 2022, at

Re: CVS commit: src/external/cddl/osnet/dist/uts/common/fs/zfs

2022-10-03 Thread J. Hannken-Illjes
> On 27. Sep 2022, at 12:33, Frank Kardel wrote: > > Module Name: src > Committed By: kardel > Date: Tue Sep 27 10:33:21 UTC 2022 > > Modified Files: > src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c > > Log Message: > for unsupported names return EINVAL as per TOG >