Page MenuHomeFreeBSD
Feed Advanced Search

Jan 29 2024

olce closed D40687: setclassumask(): Accept 'inherit' as a value.
Jan 29 2024, 10:32 PM
olce closed D40686: setusercontext(): Set umask in a separate function, setclassumask().
Jan 29 2024, 10:32 PM
olce closed D40685: login_cap(3): Document login_getcapenum().
Jan 29 2024, 10:32 PM
olce closed D40684: New login_getcapenum(): Allows to read named enum values.
Jan 29 2024, 10:32 PM
olce closed D40345: login.conf(5): umask has no default value.
Jan 29 2024, 10:32 PM
olce closed D40344: setusercontext(): umask: Set it only once (in the common case).
Jan 29 2024, 10:32 PM
olce updated the diff for D40690: setclasspriority(): New value 'inherit'.

Address suggestions (move a comment out of an if).

Jan 29 2024, 4:51 PM
olce updated the diff for D40689: login.conf(5): Document priority's default and possible values.

Be even more explicit about the possible values for the property capability that map to the real-time or idle classes.

Jan 29 2024, 4:50 PM
olce updated the diff for D40687: setclassumask(): Accept 'inherit' as a value.

Address suggestions (move a comment out of an if).

Jan 29 2024, 4:45 PM

Jan 26 2024

olce committed rG6b3531017348: SCHEDULER_STOPPED(): Rely on a global variable (authored by olce).
SCHEDULER_STOPPED(): Rely on a global variable
Jan 26 2024, 9:12 PM
olce closed D43572: SCHEDULER_STOPPED(): Rely on a global variable.
Jan 26 2024, 9:12 PM
olce committed rGcd0c52e50bc1: SCHEDULER_STOPPED(): Move it (back) to 'systm.h' (authored by olce).
SCHEDULER_STOPPED(): Move it (back) to 'systm.h'
Jan 26 2024, 9:12 PM
olce closed D43571: SCHEDULER_STOPPED(): Move it (back) to 'systm.h'.
Jan 26 2024, 9:12 PM
olce committed rG12d6a032dff1: Annotate 'rebooting' with __read_mostly (authored by olce).
Annotate 'rebooting' with __read_mostly
Jan 26 2024, 9:12 PM
olce closed D43570: Annotate 'rebooting' with __read_mostly.
Jan 26 2024, 9:12 PM
olce committed rGeaed922eda58: panic()/KERNEL_PANICKED(): Move back to using 'panicstr' as a flag (authored by olce).
panic()/KERNEL_PANICKED(): Move back to using 'panicstr' as a flag
Jan 26 2024, 9:12 PM
olce closed D43569: panic()/KERNEL_PANICKED(): Move back to using 'panicstr' as a flag.
Jan 26 2024, 9:12 PM
olce committed rG72ef14799d4c: pthread_attr_get_np(3): Revamp (authored by olce).
pthread_attr_get_np(3): Revamp
Jan 26 2024, 9:05 PM
olce committed rGb95b9505acf1: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error (authored by olce).
pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error
Jan 26 2024, 9:05 PM
olce committed rG2c9ab16625d7: libhtr: pthread_attr_setaffinity_np(): Replace calloc() with malloc() (authored by olce).
libhtr: pthread_attr_setaffinity_np(): Replace calloc() with malloc()
Jan 26 2024, 9:05 PM
olce committed rG8bd4bf5db4c3: libthr: thr_attr.c: More style and clarity fixes (authored by olce).
libthr: thr_attr.c: More style and clarity fixes
Jan 26 2024, 9:05 PM
olce committed rGefdf24fd9bb9: pthread_attr_get_np(3): Revamp (authored by olce).
pthread_attr_get_np(3): Revamp
Jan 26 2024, 9:05 PM
olce committed rGf68a255ff325: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error (authored by olce).
pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error
Jan 26 2024, 9:04 PM
olce committed rG194df67ef569: libhtr: pthread_attr_setaffinity_np(): Replace calloc() with malloc() (authored by olce).
libhtr: pthread_attr_setaffinity_np(): Replace calloc() with malloc()
Jan 26 2024, 9:04 PM
olce committed rGa431d0f4a2ac: libthr: thr_attr.c: More style and clarity fixes (authored by olce).
libthr: thr_attr.c: More style and clarity fixes
Jan 26 2024, 9:04 PM
olce updated the diff for D40347: login.conf(5): Default values: Rename column, elaborate on absence of such.

Fix the commit message.

Jan 26 2024, 3:18 PM
olce updated the diff for D40347: login.conf(5): Default values: Rename column, elaborate on absence of such.

Apply suggestions.

Jan 26 2024, 3:12 PM

Jan 25 2024

olce requested review of D43609: login_cap.h: Remove LOGIN_DEFPRI.
Jan 25 2024, 10:53 PM
olce requested review of D43608: login_cap.h: Remove LOGIN_DEFUMASK.
Jan 25 2024, 10:53 PM
olce updated the diff for D40690: setclasspriority(): New value 'inherit'.

Refresh

Jan 25 2024, 10:47 PM
olce updated the diff for D40350: setusercontext(): Move priority setting in new setclasspriority().

Refresh

Jan 25 2024, 10:45 PM
olce updated the diff for D40349: setusercontext(): Better error messages when priority is not set correctly.

Delay removing LOGIN_DEFPRI in another commit (not to be MFCed now). Arguably, the removal didn't belong to this commit anyway.

Jan 25 2024, 10:43 PM
olce updated the diff for D40344: setusercontext(): umask: Set it only once (in the common case).

Delay removing LOGIN_DEFUMASK in another commit (not to be MFCed now).

Jan 25 2024, 10:38 PM
olce added inline comments to D43569: panic()/KERNEL_PANICKED(): Move back to using 'panicstr' as a flag.
Jan 25 2024, 1:40 PM
olce updated the diff for D43569: panic()/KERNEL_PANICKED(): Move back to using 'panicstr' as a flag.

Fix inverted test after panicstr => KERNEL_PANICKED() conversion.

Jan 25 2024, 1:40 PM

Jan 24 2024

olce accepted D43563: bsdlabel: add legacy notice.
Jan 24 2024, 5:27 PM
olce accepted D43580: mount: document atime option.

I was already pretty confident that nmount() has been accepting atime for a long time. I just checked to be sure, and it's effectively the case.

Jan 24 2024, 4:55 PM
olce added a reviewer for D43572: SCHEDULER_STOPPED(): Rely on a global variable: markj.
Jan 24 2024, 2:43 PM
olce added a reviewer for D43569: panic()/KERNEL_PANICKED(): Move back to using 'panicstr' as a flag: markj.
Jan 24 2024, 2:43 PM
olce added a reviewer for D43571: SCHEDULER_STOPPED(): Move it (back) to 'systm.h': markj.
Jan 24 2024, 2:43 PM
olce added a reviewer for D43570: Annotate 'rebooting' with __read_mostly: markj.
Jan 24 2024, 2:43 PM
olce added inline comments to D43569: panic()/KERNEL_PANICKED(): Move back to using 'panicstr' as a flag.
Jan 24 2024, 2:25 PM
olce requested review of D43572: SCHEDULER_STOPPED(): Rely on a global variable.
Jan 24 2024, 1:26 PM
olce requested review of D43570: Annotate 'rebooting' with __read_mostly.
Jan 24 2024, 1:26 PM
olce requested review of D43571: SCHEDULER_STOPPED(): Move it (back) to 'systm.h'.
Jan 24 2024, 1:26 PM
olce requested review of D43569: panic()/KERNEL_PANICKED(): Move back to using 'panicstr' as a flag.
Jan 24 2024, 1:25 PM
olce added inline comments to D40344: setusercontext(): umask: Set it only once (in the common case).
Jan 24 2024, 9:39 AM

Jan 23 2024

olce updated the diff for D40686: setusercontext(): Set umask in a separate function, setclassumask().

Update.

Jan 23 2024, 9:38 PM
olce added a comment to D40686: setusercontext(): Set umask in a separate function, setclassumask().
Jan 23 2024, 9:38 PM
olce updated the diff for D40685: login_cap(3): Document login_getcapenum().

Address comments.

Jan 23 2024, 9:36 PM
olce added a comment to D40685: login_cap(3): Document login_getcapenum().
Jan 23 2024, 9:36 PM
olce updated the diff for D40684: New login_getcapenum(): Allows to read named enum values.

Address comments.

Jan 23 2024, 9:35 PM
olce added inline comments to D40684: New login_getcapenum(): Allows to read named enum values.
Jan 23 2024, 9:35 PM
olce updated the diff for D40344: setusercontext(): umask: Set it only once (in the common case).

Add braces around a split statement. Update the commit message.

Jan 23 2024, 9:31 PM
olce added inline comments to D40344: setusercontext(): umask: Set it only once (in the common case).
Jan 23 2024, 9:31 PM

Jan 20 2024

olce accepted D43524: copy_file_range: Call vn_rdwr() even for zero-length files.
Jan 20 2024, 8:06 PM

Jan 19 2024

olce accepted D43510: emulators/virtualbox-ose{,-kmod,-additions}: update to 6.1.50.
Jan 19 2024, 12:29 PM · vbox

Jan 18 2024

olce committed rGcb3c7be3a916: cr_bsd_visible(): Style fixes (authored by olce).
cr_bsd_visible(): Style fixes
Jan 18 2024, 9:11 PM
olce committed rG8d97e469dee9: libthr: thr_attr.c: EINVAL, not ENOTSUP, on invalid arguments (authored by olce).
libthr: thr_attr.c: EINVAL, not ENOTSUP, on invalid arguments
Jan 18 2024, 9:11 PM
olce committed rG2f553fd3eb27: libthr: thr_attr.c: Clarity, whitespace and style (authored by olce).
libthr: thr_attr.c: Clarity, whitespace and style
Jan 18 2024, 9:10 PM
olce committed rG17244789c2fd: cr_bsd_visible(): Style fixes (authored by olce).
cr_bsd_visible(): Style fixes
Jan 18 2024, 9:09 PM
olce committed rGcc02fa8da105: libthr: thr_attr.c: Clarity, whitespace and style (authored by olce).
libthr: thr_attr.c: Clarity, whitespace and style
Jan 18 2024, 9:09 PM
olce committed rG6ae07a0424c3: libthr: thr_attr.c: EINVAL, not ENOTSUP, on invalid arguments (authored by olce).
libthr: thr_attr.c: EINVAL, not ENOTSUP, on invalid arguments
Jan 18 2024, 9:09 PM

Jan 16 2024

olce updated subscribers of D43466: newsyslog(8): Remove -c command line option..
In D43466#990866, @dvl wrote:

I think you're saying why have a command-line switch when we have the in-conf-file option?

Jan 16 2024, 3:09 PM
olce added a comment to D43466: newsyslog(8): Remove -c command line option..

First, two high-level remarks:

  1. About the purpose of this change: I've probably not evaluated enough if removing -c is a good idea, so I'm neutral on this topic. Having command-line switches for what can also be specified in a config file generally makes sense to me (with the command-line switch overriding the configuration file). On the other hand, if the program is not to be launched by hand frequently, there is no such necessity. I agree it's best that administrators tweak a common configuration file rather than specifying command-line switches in rc.conf, with the goal to apply the same environment to manual invocations. That said, I'm not sure it's a reason in itself to remove command-line switches.
  2. About <compress> : I would really like this directive to be renamed to <compress_override>, since it doesn't affect files that are not already flagged with a compression letter, so the current name is misleading to people that would want to enable compression of all files (which this directive can't do). This would be best done in a separate revision.
Jan 16 2024, 10:21 AM

Jan 13 2024

olce accepted D43426: cdefs: Introduce __result_use_or_ignore_check.
Jan 13 2024, 3:18 PM

Jan 10 2024

olce added a comment to D43330: pthread_attr_get_np(3): Proper attributes object lifecycle.

@pauamma_gundo.com Ah, I forgot to tag you as a reviewer in the commit. I'm sorry.

Jan 10 2024, 5:57 PM
olce committed rGa1e37beb45d2: cr_bsd_visible(): Style fixes (authored by olce).
cr_bsd_visible(): Style fixes
Jan 10 2024, 5:51 PM
olce closed D43335: cr_bsd_visible(): Style fix: Explicitly test for non-zero return codes.
Jan 10 2024, 5:51 PM
olce committed rG6211cd4be32d: pthread_attr_get_np(3): Revamp (authored by olce).
pthread_attr_get_np(3): Revamp
Jan 10 2024, 5:51 PM
olce closed D43330: pthread_attr_get_np(3): Proper attributes object lifecycle.
Jan 10 2024, 5:51 PM
olce committed rGaadb4a1b3fd1: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error (authored by olce).
pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error
Jan 10 2024, 5:51 PM
olce closed D43329: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error.
Jan 10 2024, 5:51 PM
olce added inline comments to D43330: pthread_attr_get_np(3): Proper attributes object lifecycle.
Jan 10 2024, 5:03 PM
olce updated the diff for D43330: pthread_attr_get_np(3): Proper attributes object lifecycle.

Rework the part on the lifecycle pointed to by dst.

Jan 10 2024, 4:01 PM
olce added inline comments to D43330: pthread_attr_get_np(3): Proper attributes object lifecycle.
Jan 10 2024, 4:01 PM

Jan 9 2024

olce added inline comments to D43329: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error.
Jan 9 2024, 5:44 PM
olce added inline comments to D43329: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error.
Jan 9 2024, 2:02 PM
olce updated the diff for D43329: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error.

Address the leak of cpuset.

Jan 9 2024, 2:01 PM
olce committed rG15bb0300eeca: libhtr: pthread_attr_setaffinity_np(): Replace calloc() with malloc() (authored by olce).
libhtr: pthread_attr_setaffinity_np(): Replace calloc() with malloc()
Jan 9 2024, 1:32 PM
olce committed rG4d312aa05141: libthr: thr_attr.c: More style and clarity fixes (authored by olce).
libthr: thr_attr.c: More style and clarity fixes
Jan 9 2024, 1:32 PM
olce closed D43328: libhtr: pthread_attr_setaffinity_np(): Replace calloc() with malloc().
Jan 9 2024, 1:32 PM
olce closed D43327: libthr: thr_attr.c: More style and clarity fixes.
Jan 9 2024, 1:32 PM
olce added inline comments to D43330: pthread_attr_get_np(3): Proper attributes object lifecycle.
Jan 9 2024, 1:24 PM
olce updated the diff for D43330: pthread_attr_get_np(3): Proper attributes object lifecycle.

Address comments.

Jan 9 2024, 1:24 PM
olce added inline comments to D43329: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error.
Jan 9 2024, 1:20 PM

Jan 8 2024

olce updated the diff for D43330: pthread_attr_get_np(3): Proper attributes object lifecycle.

And fix the EINVAL description.

Jan 8 2024, 3:14 PM
olce updated the diff for D43330: pthread_attr_get_np(3): Proper attributes object lifecycle.

Fix the description of which data is returned. Add the guarantee that the passed object is left unmodified in case the function reports failure (depends on D43329). Mention ENOMEM as a possible return value.

Jan 8 2024, 3:11 PM
olce updated the diff for D43329: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error.

Implement the "better" solution.

Jan 8 2024, 3:07 PM
olce added inline comments to D43356: Add vnode_pager_clean(9).
Jan 8 2024, 2:42 PM
olce added a comment to D43249: nfsclient: eliminate ncl_writebp().
In D43249#987508, @imp wrote:

I also agree this is a hard problem. I looked at 100% eliminating this mechanism in favor of a mechanism that would return up the stack an estimate of how much write throughput each element could handle. In the geom layers I had to do some hacks for gmirror, gstripe, etc to fan in data in intelligent ways from the different devices. I also then passed this up to the bufobj that's scheduling the writes and hacked bufwrite to try to not schedule more than that 100ms of writes (so the wait move from after to before).... But I never got it stable, and the patches then decayed with other changes in vfs_bio and I never returned to it. The key, I think, is to provide some back pressure signal up the I/O stack so that the top level bufobjs don't write more than a fraction of the underlying disks / etc can handle in some small time slice. But I agree with your statement that the actual solution isn't clear, and I'm no closer to presenting one than i was several years ago when I started down this path... and I'll not have the time it needs to try again for a while :(. There might be a simpler way to do this as well based on allowing some writes through initially, but then backing off if they conjest, but it would likely need to be per-bufobj driven rather than globally (though I acknowledge that at the top end of doing this dynamically there's other limiting factors that I've not fully comprehended).

but again, I think this was a good change, and maybe there's a better place to have this discussion since we're space limited here and fragmented.

Jan 8 2024, 11:25 AM
olce added a comment to D43335: cr_bsd_visible(): Style fix: Explicitly test for non-zero return codes.

jhb@ prefers such code to be written as

IMO that is indeed clearer.

Jan 8 2024, 10:41 AM

Jan 5 2024

olce planned changes to D43330: pthread_attr_get_np(3): Proper attributes object lifecycle.
Jan 5 2024, 9:32 PM
olce planned changes to D43329: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error.
Jan 5 2024, 9:12 PM
olce added a comment to D43328: libhtr: pthread_attr_setaffinity_np(): Replace calloc() with malloc().

The typo in the title ("libhtr" => "libthr") will be fixed on commit.

Jan 5 2024, 6:09 PM
olce added inline comments to D43329: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error.
Jan 5 2024, 5:38 PM
olce added inline comments to D43329: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error.
Jan 5 2024, 5:29 PM
olce requested review of D43335: cr_bsd_visible(): Style fix: Explicitly test for non-zero return codes.
Jan 5 2024, 5:03 PM
olce added a reviewer for D43330: pthread_attr_get_np(3): Proper attributes object lifecycle: manpages.
Jan 5 2024, 2:19 PM
olce removed a reviewer for D43329: pthread_attr_get_np(): Use malloc(), report ENOMEM, don't tamper on error: manpages.
Jan 5 2024, 2:19 PM