Page MenuHomeFreeBSD

olce (Olivier Certner)
User

Projects

User Details

User Since
Feb 26 2021, 3:47 PM (266 w, 5 d)

Recent Activity

Yesterday

olce added a comment to D56319: Status/2026Q1/hibernate.adoc: Add report.

@kib Are you OK to be listed as a point of contact, or do your prefer it as is?

Wed, Apr 8, 8:39 PM
olce retitled D56319: Status/2026Q1/hibernate.adoc: Add report from Status/2025Q4/hibernate.adoc: Add report to Status/2026Q1/hibernate.adoc: Add report.
Wed, Apr 8, 8:37 PM
olce retitled D56320: Status/2026Q1/cppc.adoc: Add report from Status/2025Q4/cppc.adoc: Add report to Status/2026Q1/cppc.adoc: Add report.
Wed, Apr 8, 8:36 PM
olce requested review of D56320: Status/2026Q1/cppc.adoc: Add report.
Wed, Apr 8, 8:36 PM
olce requested review of D56319: Status/2026Q1/hibernate.adoc: Add report.
Wed, Apr 8, 8:35 PM
olce accepted D55118: acpi: Parse _S3D s2idle instead of _S255D.
Wed, Apr 8, 12:00 PM

Tue, Apr 7

olce committed rG31749859525b: netstat(1): '-w': Banners to appear before a new statistics line, not after (authored by olce).
netstat(1): '-w': Banners to appear before a new statistics line, not after
Tue, Apr 7, 10:23 AM
olce closed D56227: netstat(1): '-w': Banners to appear before a new statistics line, not after.
Tue, Apr 7, 10:23 AM
olce accepted D55118: acpi: Parse _S3D s2idle instead of _S255D.
Tue, Apr 7, 10:21 AM

Fri, Apr 3

olce added a comment to D55118: acpi: Parse _S3D s2idle instead of _S255D.

I've applied the recent update to my testing tree

Fri, Apr 3, 9:27 PM
olce updated the diff for D56227: netstat(1): '-w': Banners to appear before a new statistics line, not after.
  • Restore the check on 21 statistics line, which was tailored for 24-line displays, and update the corresponding comment.
  • Fix the commit message. After an additional check, no statistics line is actually missing. The fact that a new banner is printed *after* the statistics of the latest interval was really confusing and should be fixed. Additionally, we want to avoid a trailing banner in case of interruption or the requested number of statistics line has been reached.
Fri, Apr 3, 3:34 PM
olce updated the diff for D56227: netstat(1): '-w': Banners to appear before a new statistics line, not after.

Wait one interval to print the first statistics line.

Fri, Apr 3, 1:20 PM

Thu, Apr 2

olce added a comment to D44455: intelhfi - Intel TD/HFI driver - Part3: Add CPU core performance/efficiency score variable to SMP's cpu_group struct..

Thank you for letting me know the results of discussion on the implementation policy. I understand the policy.
I will start working on the revisions now, but given my current situation, I think it will take several months. Please give me some time.

Thu, Apr 2, 8:30 PM · Contributor Reviews (src)
olce requested review of D56227: netstat(1): '-w': Banners to appear before a new statistics line, not after.
Thu, Apr 2, 7:49 PM

Wed, Apr 1

olce added inline comments to D55628: hwpstate_intel: Use ipi instead of thread_lock + sched_bind.
Wed, Apr 1, 1:12 PM
olce added inline comments to D55628: hwpstate_intel: Use ipi instead of thread_lock + sched_bind.
Wed, Apr 1, 1:09 PM
olce accepted D56062: acpi_spmc: Call new MS turn on display DSM.
Wed, Apr 1, 10:07 AM

Mon, Mar 30

olce added inline comments to D56142: vm_swapout: Restore handling of RLIMIT_RSS.
Mon, Mar 30, 3:52 PM
olce committed rGdafac65367c9: DEVICE_IDENTIFY.9: Fix function call to detect driver in example code (authored by olce).
DEVICE_IDENTIFY.9: Fix function call to detect driver in example code
Mon, Mar 30, 9:37 AM
olce committed rG806d26e169ee: MAC/do: Comments: Rephrase one, fix a typo in another (authored by olce).
MAC/do: Comments: Rephrase one, fix a typo in another
Mon, Mar 30, 9:37 AM
olce committed rG25d0c5d4456f: cpufreq(4): cpufreq_levels_sysctl(): Remove always false NULL test (authored by olce).
cpufreq(4): cpufreq_levels_sysctl(): Remove always false NULL test
Mon, Mar 30, 9:37 AM
olce committed rGe220af9cee74: nvme_sim: Fix name in module version metadata (authored by olce).
nvme_sim: Fix name in module version metadata
Mon, Mar 30, 9:25 AM
olce committed rG4deb934c1a10: vfs: Simplify vfs_write_resume()/vn_start_write_refed() (authored by olce).
vfs: Simplify vfs_write_resume()/vn_start_write_refed()
Mon, Mar 30, 9:25 AM
olce closed D56108: vfs: Simplify vfs_write_resume()/vn_start_write_refed().
Mon, Mar 30, 9:25 AM

Sun, Mar 29

olce updated the diff for D56108: vfs: Simplify vfs_write_resume()/vn_start_write_refed().

Don't leak the mountpoint's lock on VR_START_WRITE.

Sun, Mar 29, 5:06 PM
olce added inline comments to D56142: vm_swapout: Restore handling of RLIMIT_RSS.
Sun, Mar 29, 4:01 PM
olce accepted D56142: vm_swapout: Restore handling of RLIMIT_RSS.
Sun, Mar 29, 3:58 PM
olce added a comment to D56062: acpi_spmc: Call new MS turn on display DSM.

Tried this out but devclass_get_count() gives 1 in the probe before anything was attached. i will find the time to investigate this soon

Sun, Mar 29, 3:21 PM

Fri, Mar 27

olce added a comment to D56062: acpi_spmc: Call new MS turn on display DSM.

Looks good overall. Based on Microsoft's documentation, which leaves a lot to be desired, I would have called DSM_MODERN_TURN_ON_DISPLAY before DSM_MODERN_EXIT_NOTIF exactly as you're doing.

Fri, Mar 27, 9:36 PM
olce requested review of D56108: vfs: Simplify vfs_write_resume()/vn_start_write_refed().
Fri, Mar 27, 3:02 PM
olce committed rGc78937677c97: DEVICE_IDENTIFY.9: Fix function call to detect driver in example code (authored by olce).
DEVICE_IDENTIFY.9: Fix function call to detect driver in example code
Fri, Mar 27, 2:56 PM
olce added a reverting change for rG12e1ab887d58: Add ASMC_DEBUG make option: rG97934f737548: Revert superfluous mis-MFC of "Add ASMC_DEBUG make option".
Fri, Mar 27, 12:35 PM
olce committed rG97934f737548: Revert superfluous mis-MFC of "Add ASMC_DEBUG make option" (authored by olce).
Revert superfluous mis-MFC of "Add ASMC_DEBUG make option"
Fri, Mar 27, 12:34 PM
olce added a reverting change for D54511: Add ASMC_DEBUG make option: rG97934f737548: Revert superfluous mis-MFC of "Add ASMC_DEBUG make option".
Fri, Mar 27, 12:34 PM

Thu, Mar 26

olce added a comment to D55614: kern_cpu: use per-core cpufreq set.

Looks good, but cannot be committed on its own as it would break powerd(8), see comment in D55606.

Thu, Mar 26, 3:11 PM
olce added a comment to D55629: hwpstate_intel: Use 8bit scale instead of percentage scale.

Some suggested changes, looks good.

Thu, Mar 26, 3:05 PM
olce added a reviewer for D55614: kern_cpu: use per-core cpufreq set: olce.
Thu, Mar 26, 2:27 PM
olce accepted D55606: hwpstate_amd: Expose node as much as possible.

Looks good.

Thu, Mar 26, 2:26 PM

Tue, Mar 24

olce committed rG954aaf3958e2: MAC/do: Comments: Rephrase one, fix a typo in another (authored by olce).
MAC/do: Comments: Rephrase one, fix a typo in another
Tue, Mar 24, 6:13 PM
olce accepted D56056: x86: Guard clock frequency against a divide by 0.

i think your stack is the wrong way around, right?

Tue, Mar 24, 2:46 PM
olce accepted D56061: acpi_spmc: Fix checking expected DSMs.
Tue, Mar 24, 7:45 AM

Sun, Mar 22

olce accepted D56024: mdo.1: Cross-reference with security.7.
Sun, Mar 22, 5:40 PM

Sat, Mar 21

olce accepted D55604: hwpstate_amd: Refactor by brancless version.
Sat, Mar 21, 3:19 AM
olce added a comment to D55996: x86: Handle when MPERF/APERF MSRs aren't writable.

Looks good modulo jrtc27's suggestions.

Sat, Mar 21, 3:03 AM

Thu, Mar 19

olce added inline comments to D55940: kernel: Be clearer about what ZSTDIO is for.
Thu, Mar 19, 3:04 PM
olce added a comment to D55606: hwpstate_amd: Expose node as much as possible.

Some additional tiny changes and this is good to go.

Thu, Mar 19, 6:30 AM
olce accepted D55604: hwpstate_amd: Refactor by brancless version.
Thu, Mar 19, 6:21 AM

Sun, Mar 15

olce committed rG5f659f2b8533: zfs: Fix build after merge of openzfs/zfs@f8e5af53e (authored by olce).
zfs: Fix build after merge of openzfs/zfs@f8e5af53e
Sun, Mar 15, 11:19 PM

Sat, Mar 14

olce added inline comments to D55848: acpi_system76: fix mis-spelled words and style headers.
Sat, Mar 14, 9:27 AM

Fri, Mar 13

olce accepted D55848: acpi_system76: fix mis-spelled words and style headers.
Fri, Mar 13, 10:11 PM
olce added inline comments to D55848: acpi_system76: fix mis-spelled words and style headers.
Fri, Mar 13, 9:48 PM
olce added a comment to D55819: queue.h: Reorder STAILQ_INSERT_TAIL.
In D55819#1277553, @des wrote:

This, of course, assumes that neither the compiler nor the CPU reordered the writes...

Fri, Mar 13, 4:57 PM
olce added a comment to D55819: queue.h: Reorder STAILQ_INSERT_TAIL.

Oh, and proposed commit's message herald line: "queue.h: Make STAILQ_INSERT_TAIL() maintain the tail invariant at all times".

Fri, Mar 13, 1:02 PM
olce accepted D55819: queue.h: Reorder STAILQ_INSERT_TAIL.
In D55819#1277146, @jhb wrote:

In particular, is the invariant you are tripping over QCMD_STAILQ_CHECK_TAIL?

Fri, Mar 13, 1:00 PM

Mar 9 2026

olce added a comment to D55628: hwpstate_intel: Use ipi instead of thread_lock + sched_bind.

Some minor stuff to change.

Mar 9 2026, 3:28 PM
olce requested changes to D55606: hwpstate_amd: Expose node as much as possible.

Changes themselves look good, except for one mistake (wrong MSR).

Mar 9 2026, 9:34 AM
olce requested changes to D55604: hwpstate_amd: Refactor by brancless version.

Some small changes to do. Main point is to preserve sysctl_cppc_dump_handler()'s goal which is to always query the hardware (and thus never rely on cached values).

Mar 9 2026, 8:59 AM

Mar 6 2026

olce added a comment to D54097: kern: don't require pp/tdp for all values of `which`.

Fine with the idea and approach. Missing are MPASS() on setp in the CPU_WHICH_CPUSET and CPU_WHICH_JAIL cases though.

Mar 6 2026, 6:26 PM
olce added inline comments to D52885: style.9: Encourage style changes when doing significant modifications.
Mar 6 2026, 5:22 PM
olce committed rG815fdbd497ff: iwx: Re-activate the 32-bit boundary cross check on 64-bit architectures (authored by olce).
iwx: Re-activate the 32-bit boundary cross check on 64-bit architectures
Mar 6 2026, 5:21 PM
olce committed rGaf2c7d9f6452: style.9: Encourage style changes when doing significant modifications (authored by olce).
style.9: Encourage style changes when doing significant modifications
Mar 6 2026, 5:16 PM
olce committed rGc1567d49a832: iwx: Re-activate the 32-bit boundary cross check on 64-bit architectures (authored by olce).
iwx: Re-activate the 32-bit boundary cross check on 64-bit architectures
Mar 6 2026, 5:16 PM
olce closed D52885: style.9: Encourage style changes when doing significant modifications.
Mar 6 2026, 5:16 PM

Mar 5 2026

olce committed rGb4269beda1b1: iwx: Fix 32-bit compilation (authored by olce).
iwx: Fix 32-bit compilation
Mar 5 2026, 10:06 PM
olce committed rG35da55c28dbb: iwx: Fix 32-bit compilation (authored by olce).
iwx: Fix 32-bit compilation
Mar 5 2026, 8:42 PM
olce closed D55667: iwx: Fix 32-bit compilation.
Mar 5 2026, 8:41 PM
olce accepted D55601: kern: vfs: add MAC checks for mount/unmount/update.
Mar 5 2026, 2:58 PM
olce committed rGf4f418bbf8fb: vm_page.h: Materialize a spare bit (authored by olce).
vm_page.h: Materialize a spare bit
Mar 5 2026, 2:45 PM
olce committed rG1e0de6ef6334: sys/compat/freebsd32: Fix i386 compilation (authored by olce).
sys/compat/freebsd32: Fix i386 compilation
Mar 5 2026, 2:45 PM
olce committed rG5a334f0455db: sys/compat/freebsd32: FF clock struct: Don't pack, use 'ffcounter32' (authored by olce).
sys/compat/freebsd32: FF clock struct: Don't pack, use 'ffcounter32'
Mar 5 2026, 2:45 PM
olce committed rGe16f1bf3baa1: asmc(4): pull 32-bit support for the driver (authored by ngie).
asmc(4): pull 32-bit support for the driver
Mar 5 2026, 2:45 PM
olce committed rG069553bf5c0f: sys/sysctl.h: Add missing <sys/kassert.h> include (authored by olce).
sys/sysctl.h: Add missing <sys/kassert.h> include
Mar 5 2026, 2:45 PM
olce committed rG71a1b16a3a82: sys: ELF: Rename SHN_FBSD_CACHED => SHN_FREEBSD_CACHED (authored by olce).
sys: ELF: Rename SHN_FBSD_CACHED => SHN_FREEBSD_CACHED
Mar 5 2026, 2:45 PM
olce committed rG16de2cf81f75: kernel dump: dumpsys_gen_pa_next(): Fix "no more chunks" condition detection (authored by olce).
kernel dump: dumpsys_gen_pa_next(): Fix "no more chunks" condition detection
Mar 5 2026, 2:45 PM
olce committed rG9a0a35916ab0: hwpstate{_amd,intel}(4): Move common knobs to a separate file (authored by olce).
hwpstate{_amd,intel}(4): Move common knobs to a separate file
Mar 5 2026, 2:45 PM
olce committed rGa6e1727fb8ac: sys/sysctl.h: Make it self-contained when included from the kernel (authored by olce).
sys/sysctl.h: Make it self-contained when included from the kernel
Mar 5 2026, 2:44 PM
olce committed rG2ea9c6997ec9: endian.h: Visibility comment: Fix grammar, a typo and punctuation (authored by olce).
endian.h: Visibility comment: Fix grammar, a typo and punctuation
Mar 5 2026, 2:44 PM
olce committed rG2efc7bfbc251: i386 minidump: Remove unused macros (authored by olce).
i386 minidump: Remove unused macros
Mar 5 2026, 2:44 PM
olce committed rG1739bb967444: sys: vt_efifb: EFI not supported on i386; move it back to amd64/NOTES (authored by olce).
sys: vt_efifb: EFI not supported on i386; move it back to amd64/NOTES
Mar 5 2026, 2:44 PM
olce committed rG38863c7e55f7: i386: Fix kernel compilation after introduction of ASMC_DEBUG option (authored by olce).
i386: Fix kernel compilation after introduction of ASMC_DEBUG option
Mar 5 2026, 2:44 PM
olce added a comment to D55667: iwx: Fix 32-bit compilation.

(Alternative: Don't compile this on 32-bit architectures at all, if if_iwx in reality does not support those.)

Mar 5 2026, 1:05 PM
olce requested review of D55667: iwx: Fix 32-bit compilation.
Mar 5 2026, 1:04 PM
olce added inline comments to D54410: acpi: Implement s2idle loop.
Mar 5 2026, 1:02 PM

Mar 4 2026

olce accepted D48721: amdsmu: Sleep entry/exit hints for PMFW.
Mar 4 2026, 3:27 PM
olce added a comment to D48721: amdsmu: Sleep entry/exit hints for PMFW.

Looks good (some minor remarks in inline comments).

Mar 4 2026, 2:26 PM
olce accepted D55508: power: Power device and ioctl for state transitions.

Overall looks good, but I have some remarks/questions given that that change now exposes the POWER_SSTATE_TRANSITION_* constants to userland.

  1. I think we should consider renaming these constants, perhaps doing something as radical as POWER_SSTATE_TRANSITION_* => POWER_*, or perhaps keeping STATE (instead of SSTATE), before they are made publicly available (after which, we will have to provide them (almost) indefinitely).
  2. Is this the granularity we want to expose? I'm OK with what is available right now, and we can later add more to that list in order to allow requesting *precise* states (i.e., not rely on the value of the power_*_stype variables to know which internal state we will finally go into). But just wanted to hear your thoughts.
Mar 4 2026, 10:47 AM

Mar 3 2026

olce added a comment to D55477: hwpstate_amd: Support writable cpufreq interface in CPPC mode.

I hope you don't just mean having powerd influence the hardware control loop by tweaking the epp sysctl. That would lead to 2 control loops trying to govern the same thing, which often ends in chaos.

Mar 3 2026, 8:59 PM
olce added a comment to D55604: hwpstate_amd: Refactor by brancless version.

Idea is great. Currently, however, this revision depends on D55477 (which is rejected), so it needs to be re-based to become independent.

Mar 3 2026, 6:03 PM
olce added a comment to D55527: hwpstate_amd: Fix autonomous mode.

IOW, that would mean reopening PR 292615.

Mar 3 2026, 1:33 PM
olce requested changes to D55527: hwpstate_amd: Fix autonomous mode.

Mmm, this change from D55253 is deliberate. Autonomous mode does not work on some AMD CPUs, where setting "desired performance" to 0 actually causes lowest performance to be selected. As long as we do not have a user-understandable way to choose a better default, such as PM profile in ACPI's FADT, let's do like all other CPU freq/power drivers do (except hwpstate_intel(4)) and select maximum performance. Let's revise this only as part of actually implementing one.

Mar 3 2026, 1:29 PM
olce requested changes to D55477: hwpstate_amd: Support writable cpufreq interface in CPPC mode.

As said previously, I'm opposed to this approach. So we have to discuss (for other people, this discussion has started through other channels as well, but I'll try to keep this public revision updated as much as possible).

Mar 3 2026, 10:56 AM
olce added inline comments to D55253: hwpstate_amd(4): CPPC: Switch the default to maximum performance.
Mar 3 2026, 8:47 AM

Feb 21 2026

olce added a comment to D55384: Scheduler and Mutex micro optimizations.

Being out-of-time (and off for the next week), I only reviewed changes to ULE, and the first one in this revision. But I'll also take a look at the rest when coming back.

Feb 21 2026, 11:56 AM · Src Committers

Feb 20 2026

olce committed rGf1b93fc50f01: hwpstate_amd(4): Fix punctuation in 'desired_performance' knob's description (authored by olce).
hwpstate_amd(4): Fix punctuation in 'desired_performance' knob's description
Feb 20 2026, 10:14 AM
olce committed rG953b9164c3d9: cpufreq(4): cpufreq_levels_sysctl(): Remove always false NULL test (authored by olce).
cpufreq(4): cpufreq_levels_sysctl(): Remove always false NULL test
Feb 20 2026, 10:14 AM
olce committed rG80d32a6b1d73: hwpstate_amd(4): CPPC: Switch the default to maximum performance (authored by olce).
hwpstate_amd(4): CPPC: Switch the default to maximum performance
Feb 20 2026, 10:14 AM
olce committed rGb69a396de211: hwpstate_amd(4): CPPC: Allow attaching even if CAPABILITY_1 cannot be read (authored by olce).
hwpstate_amd(4): CPPC: Allow attaching even if CAPABILITY_1 cannot be read
Feb 20 2026, 10:14 AM
olce committed rG7f36d7a9505a: hwpstate_amd(4): Consistency of cached CPPC_REQUEST value (authored by olce).
hwpstate_amd(4): Consistency of cached CPPC_REQUEST value
Feb 20 2026, 10:13 AM
olce closed D55253: hwpstate_amd(4): CPPC: Switch the default to maximum performance.
Feb 20 2026, 10:13 AM
olce closed D55252: hwpstate_amd(4): CPPC: Allow attaching even if CAPABILITY_1 cannot be read.
Feb 20 2026, 10:13 AM