Page MenuHomeFreeBSD
Feed Advanced Search

Tue, Jun 25

olce accepted D45736: sched_unpin(): assert that curthread was pinned.

As @markj said, while here, please include sys/assert.h explicitly. It is already due because of sched_userret() above.

Tue, Jun 25, 9:11 PM
olce added a comment to D45398: unionfs: rework locking scheme to only lock a single vnode.

Currently reviewing the update.

Tue, Jun 25, 1:29 PM

Mon, Jun 24

olce accepted D45712: libmsun: remove duplicates after cdefs.h added inline to __always_inline.
Mon, Jun 24, 12:11 PM
olce accepted D45711: cdefs.h: add __inline to __always_inline.
Mon, Jun 24, 12:09 PM
olce accepted D45710: libthr: move __always_inline to canonical position.
Mon, Jun 24, 12:07 PM
olce accepted D45709: vfs: move __always_inline to canonical position.
Mon, Jun 24, 12:06 PM
olce accepted D45708: kern: move __always_inline to canonical position.
Mon, Jun 24, 12:04 PM

Fri, Jun 14

olce added inline comments to D45398: unionfs: rework locking scheme to only lock a single vnode.
Fri, Jun 14, 4:05 PM
olce accepted D45585: ifconfig: turn interface address without mask into an error.

I mentioned on the mailing list thread that I made it a minimal change to avoid interfering with future MFCs and planned to add the changes you proposed after the previous versions go EOL. But perhaps that's excessively conservative.

Fri, Jun 14, 2:52 PM
olce added inline comments to D45398: unionfs: rework locking scheme to only lock a single vnode.
Fri, Jun 14, 2:50 PM
olce accepted D45585: ifconfig: turn interface address without mask into an error.
Fri, Jun 14, 2:10 PM
olce added inline comments to D45585: ifconfig: turn interface address without mask into an error.
Fri, Jun 14, 2:09 PM
olce added a comment to D45585: ifconfig: turn interface address without mask into an error.

Yes, please (for 15).

Fri, Jun 14, 2:08 PM

Thu, Jun 13

olce added a comment to D45398: unionfs: rework locking scheme to only lock a single vnode.

New round of review. I think I have looked at all the changes now, but may do an additional quick check pass tomorrow.

Thu, Jun 13, 9:25 PM
olce resigned from D45569: bsdinstall: skip tzsetup UTC question.

I’ve seen that number a lot, but no source for it. First, I would say that I don’t care about 99% of users for something like this, I care about 99% of *first time* users. This is confusing only the first time that you run the installer. The second time, you’re already somewhat invested in FreeBSD, the important thing is not to put people off before they even get to first boot.

Thu, Jun 13, 9:08 AM

Wed, Jun 12

olce added a comment to D45398: unionfs: rework locking scheme to only lock a single vnode.

Well, I'm almost done, but not completely (I need to finish reviewing unionfs_lock() and the lines below it). Here's a new round of comments/notes/requests.

Wed, Jun 12, 9:06 PM
olce accepted D45569: bsdinstall: skip tzsetup UTC question.

Also in favor of this, as I'm guessing that installation alongside some Windows is a marginal use-case for FreeBSD.

Wed, Jun 12, 4:28 PM
olce accepted D45545: jail: allow adjustment of host time.
Wed, Jun 12, 12:16 PM
olce added inline comments to D45545: jail: allow adjustment of host time.
Wed, Jun 12, 12:06 PM
olce added inline comments to D45545: jail: allow adjustment of host time.
Wed, Jun 12, 12:01 PM
olce added a comment to D45545: jail: allow adjustment of host time.

Some manpage nit, but after that should be good to go.

Wed, Jun 12, 9:58 AM

Tue, Jun 11

olce requested changes to D45545: jail: allow adjustment of host time.
In D45545#1039132, @imp wrote:

I don't think this is good policy, as is. I like being able to delegate to the jails, but I thing it's really bad to conflate settime and adjtime. The two are different, though related, things.

Tue, Jun 11, 8:52 AM

Mon, Jun 10

olce added a comment to D45398: unionfs: rework locking scheme to only lock a single vnode.

Thanks for this important cleanup on the road to the new unionfs!

Mon, Jun 10, 5:11 PM
olce accepted D45545: jail: allow adjustment of host time.

Oh, you're right, I hadn't checked for the PRIV_NETINET_* ones. I think that how these are handled makes sense.

Mon, Jun 10, 1:51 PM
olce requested changes to D45545: jail: allow adjustment of host time.

Great. I have personally wanted that for a while.

Mon, Jun 10, 1:09 PM

Fri, Jun 7

olce added a comment to D45398: unionfs: rework locking scheme to only lock a single vnode.

Sorry, I've lagged on this one. I'll review it on Monday.

Fri, Jun 7, 10:19 PM
olce added a comment to D45390: runq/sched: Switch to 256 distinct levels.

Moving by 4 each tick will require you to evaluate 4 run queues each time you want to advance.

Fri, Jun 7, 10:15 PM
olce added a comment to D45388: sched_ule: Re-implement stealing on top of runq common-code.

I agree this may improve affinity in some cases, but at the same time we don't really know when the next thread on the queue is to run. Not stealing in this case also amounts to slightly violating the expected execution ordering and fairness.

It does steal in that case though, it will just prefer the second thread over the first. We don't permanently skip the first thread.

Fri, Jun 7, 5:02 PM

Mon, Jun 3

olce added a comment to D45390: runq/sched: Switch to 256 distinct levels.

The runq index only moves at a rate slower than once per-tick when the system is very overloaded. This is how ULE implements priority decay. The difference in priority determines how many slices the lower (better) priority task will get for each slice the worse priority task will get.

Mon, Jun 3, 9:48 PM
olce added a comment to D45388: sched_ule: Re-implement stealing on top of runq common-code.
In D45388#1035721, @mav wrote:

I suspect that first thread was skipped to avoid stealing a thread that was just scheduled to a CPU, but was unable to run yet.

Mon, Jun 3, 8:55 PM
olce committed rGf3ab0d86e807: bitset: Fix __BIT_FFS_AT()'s herald comment (authored by olce).
bitset: Fix __BIT_FFS_AT()'s herald comment
Mon, Jun 3, 8:49 PM

Fri, May 31

olce added a comment to D39270: Redefine CLOCK_BOOTTIME to alias CLOCK_MONOTONIC, not CLOCK_UPTIME.
In D39270#1036114, @imp wrote:

FreeBSD version bump?

Fri, May 31, 2:41 PM
olce accepted D45420: mitigations.7: mention supervisor mode memory access protections.
Fri, May 31, 2:26 PM
olce accepted D45418: WPA: Allow CLOCK_BOOTTIME and CLOCK_MONOTONIC to #define the same.
In D45418#1036100, @imp wrote:

Simplify the #ifdefs, even though this is a bit longer than the prior
expressions.

Fri, May 31, 2:24 PM
olce requested changes to D45418: WPA: Allow CLOCK_BOOTTIME and CLOCK_MONOTONIC to #define the same.

Is the second ifdef change correct (or needed)? I think both clauses will get ifdef'd out this way if CLOCK_BOOTTIME == CLOCK_MONOTONIC.

Fri, May 31, 2:13 PM

Thu, May 30

olce accepted D45418: WPA: Allow CLOCK_BOOTTIME and CLOCK_MONOTONIC to #define the same.

I guess this has to be upstreamed (not familiar with WPA).

Thu, May 30, 9:05 PM
olce accepted D39270: Redefine CLOCK_BOOTTIME to alias CLOCK_MONOTONIC, not CLOCK_UPTIME.
In D39270#1035983, @imp wrote:

I'm convinced this is good. I'll push it in.

Thu, May 30, 8:30 PM
olce added a comment to D45390: runq/sched: Switch to 256 distinct levels.

There is one thing the original code author intended that we will have to validate. The relative impact of nice levels depends on their distance in the runq. ridx/idx (I'm not sure why they were renamed in one diff) march forward at a fixed rate in real time. Changing the number of queues and priorities changes that rate. I believe it will have the effect of increasing the impact of nice. We may need to change the way nice values are scaled to priorities to compensate.

Thu, May 30, 8:02 PM
olce added a comment to D45390: runq/sched: Switch to 256 distinct levels.
In D45390#1035772, @mav wrote:

This is sure the easiest (least invasive answer) answer, but does it make it the right answer? Simply doing nothing here could expose the original code author's ideas. There could be some rationale that you are dropping. It would be nice to look what was it, unless you've done it already.

Thu, May 30, 7:12 PM
olce added inline comments to D45387: runq: API rationalization, code factorization, revised implementation.
Thu, May 30, 6:20 PM
olce added inline comments to D45387: runq: API rationalization, code factorization, revised implementation.
Thu, May 30, 2:21 PM
olce updated the diff for D45387: runq: API rationalization, code factorization, revised implementation.

Incorporate suggestions.

Thu, May 30, 2:21 PM

May 27 2024

olce added a comment to D45387: runq: API rationalization, code factorization, revised implementation.
In D45387#1035485, @imp wrote:

Hopefully this is actually multiple commits. This change looks on its surface too large to review due to the 12 different things going on. .

May 27 2024, 11:08 PM
olce updated the summary of D45392: sched_4bsd: Rework ESTCPULIM() computation.
May 27 2024, 10:39 PM
olce updated the summary of D45391: sched: Internal priority ranges: Reduce kernel, increase timeshare.
May 27 2024, 10:38 PM
olce updated the summary of D45390: runq/sched: Switch to 256 distinct levels.
May 27 2024, 10:38 PM
olce updated the summary of D45389: sched_ule: Use a single runqueue per CPU.
May 27 2024, 10:38 PM
olce updated the summary of D45388: sched_ule: Re-implement stealing on top of runq common-code.
May 27 2024, 10:38 PM
olce updated the summary of D45387: runq: API rationalization, code factorization, revised implementation.
May 27 2024, 10:37 PM
olce requested review of D45393: runq/sched: Switch to 256 distinct queues and extend the timeshare range.
May 27 2024, 10:36 PM
olce requested review of D45392: sched_4bsd: Rework ESTCPULIM() computation.
May 27 2024, 10:28 PM
olce requested review of D45391: sched: Internal priority ranges: Reduce kernel, increase timeshare.
May 27 2024, 10:28 PM
olce requested review of D45390: runq/sched: Switch to 256 distinct levels.
May 27 2024, 10:28 PM
olce requested review of D45389: sched_ule: Use a single runqueue per CPU.
May 27 2024, 10:27 PM
olce requested review of D45388: sched_ule: Re-implement stealing on top of runq common-code.
May 27 2024, 10:27 PM
olce requested review of D45387: runq: API rationalization, code factorization, revised implementation.
May 27 2024, 10:27 PM
olce added a comment to D45379: kern/vm: Use the dedicated bio zone for the swap bio..

Ok, I had missed reviews D45380 and D45381, which mostly answer my question.

May 27 2024, 1:12 PM
olce added a reviewer for D45381: kern/dev/xen: Use the per-blkback-device uma(9) zone for the bio.: olce.
May 27 2024, 1:10 PM
olce added a reviewer for D45380: kern/dev/nvme: Use the per-namespace uma(9) zone for the bio.: olce.
May 27 2024, 1:09 PM
olce added a comment to D45379: kern/vm: Use the dedicated bio zone for the swap bio..

Hi Seigo,

May 27 2024, 11:51 AM
olce added a reviewer for D45379: kern/vm: Use the dedicated bio zone for the swap bio.: olce.
May 27 2024, 11:47 AM
olce added a reviewer for D45378: kern/vm: Publish the name strings of the uma(9) zone.: olce.
May 27 2024, 11:46 AM