Page MenuHomeFreeBSD

olce (Olivier Certner)
User

Projects

User Details

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

Recent Activity

Yesterday

olce added a comment to D58208: hwpstate_intel: Fix i386 build.

(And, unless you're in a case where the fix is not simple or you fear about possible complications, no need to upload a review for this, just commit the fix.)

Mon, Jul 13, 9:25 AM
olce accepted D58208: hwpstate_intel: Fix i386 build.

Haven't tried to build it myself, but if that fixes the build, just go ahead. As a side note, I'll post a review removing this code relatively soon.

Mon, Jul 13, 9:10 AM

Fri, Jul 10

olce added a comment to D55474: acpi_cppc: Add cppc library for parsing ACPI _CPC object..

Two more things to consider. First, you finally reduce items expected to be read-only to an integer (field value in struct acpi_cppc_rdonly_item), but some of these are dynamic and may change during runtime, in which case we have to keep the full register specification. Second, in the _CPC example I sent you offline for an AMD machine where processors do not report the CPPC extended feature flag, most present items have the PCC access method, so won't be covered by the code here. In the same example, there are only two FFH, for the ReferencePerformanceCounterRegister and DeliveredPerformanceCounterRegister, and the addresses seem to correspond to the MPERF and APERF MSR numbers respectively.

Fri, Jul 10, 8:17 PM
olce accepted D58159: sched/lapic: remove sched_do_timer_accounting().
Fri, Jul 10, 8:07 PM
olce committed rG7cc2f18e12ed: hwpstate_intel(4): Introduce a CPU ID cache (authored by olce).
hwpstate_intel(4): Introduce a CPU ID cache
Fri, Jul 10, 7:35 PM
olce committed rG1a3d61552546: hwpstate_amd(4): Restore CPU ID cache after introducing cpu_get_pcpuid() (authored by olce).
hwpstate_amd(4): Restore CPU ID cache after introducing cpu_get_pcpuid()
Fri, Jul 10, 7:35 PM
olce accepted D58157: g_eli: better handling of absent/disabled CPUs.
Fri, Jul 10, 7:13 PM
olce accepted D58158: smp: remove unused hlt_cpus_mask.
Fri, Jul 10, 7:09 PM
olce added a comment to D57825: hwpstate_amd: Detect ACPI _CPC object to enable CPPC.

So, as I feared, the CPC parsing library needs significant work.

Fri, Jul 10, 5:08 PM
olce requested changes to D55505: acpi_perf: Mark readonly when using FFH.

Disappearance of SYS_RES_FFH (see other revisions in the stack) makes this obsolete.

Fri, Jul 10, 5:03 PM
olce requested changes to D55474: acpi_cppc: Add cppc library for parsing ACPI _CPC object..

As noted on previous revisions, SYS_RES_FFH should not exist, nor should acpi_ffh_write() and acpi_ffh_read(). So, basically, this needs a full rework.

Fri, Jul 10, 4:49 PM
olce committed rGc18ec05395b3: x86/local_apic.c: Fiddle with thermal LVT slot only if supported (authored by olce).
x86/local_apic.c: Fiddle with thermal LVT slot only if supported
Fri, Jul 10, 3:31 PM
olce committed rG060ecf296664: x86/local_apic.c: Factor out version read and max LVT slot computation (authored by olce).
x86/local_apic.c: Factor out version read and max LVT slot computation
Fri, Jul 10, 3:31 PM
olce closed D58086: x86/local_apic.c: Fiddle with thermal LVT slot only if supported.
Fri, Jul 10, 3:31 PM
olce closed D58110: x86/local_apic.c: Factor out version read and max LVT slot computation.
Fri, Jul 10, 3:31 PM
olce requested changes to D55475: acpi: Support Functional Fixed Hardware.

acpi_get_rman() should always return NULL on FFH, and it's absolutely inconceivable to match devices on FFH values.

Fri, Jul 10, 3:06 PM
olce requested changes to D55476: x86: Implement Functional Fixed Hardware in SYS_RES.

I do not think that this change makes sense, and probably would just drop it.

Fri, Jul 10, 2:45 PM
olce added a comment to D57825: hwpstate_amd: Detect ACPI _CPC object to enable CPPC.

Looks good. One suggestion in an inline comment. Only thing now is the dependency on the CPPC lib, I'll review the other revisions and come back to here.

Fri, Jul 10, 9:49 AM

Thu, Jul 9

olce added a comment to D58086: x86/local_apic.c: Fiddle with thermal LVT slot only if supported.
In D58086#1332799, @kib wrote:

the second is out of line of existing code.

Thu, Jul 9, 7:43 PM
olce added inline comments to D58110: x86/local_apic.c: Factor out version read and max LVT slot computation.
Thu, Jul 9, 7:26 PM

Wed, Jul 8

olce added a reviewer for D58110: x86/local_apic.c: Factor out version read and max LVT slot computation: kib.
Wed, Jul 8, 4:38 PM
olce updated the diff for D58110: x86/local_apic.c: Factor out version read and max LVT slot computation.

Be consistent and declare all small helpers as inline.

Wed, Jul 8, 4:38 PM
olce added a comment to D57658: Implement AT_RENAME_EXCHANGE flag for VFS and tmpfs.
In D57658#1332524, @kib wrote:

Peter finished testing the patch. Do anybody have more comments about it? I intend to commit it shortly.

Wed, Jul 8, 4:26 PM
olce updated the diff for D58086: x86/local_apic.c: Fiddle with thermal LVT slot only if supported.

More compact tests on the max LVT slot, based on D58110.

Wed, Jul 8, 1:16 PM
olce added a comment to D58086: x86/local_apic.c: Fiddle with thermal LVT slot only if supported.
In D58086#1332368, @kib wrote:

I thought that the intent was that the thermal handler is installed only when the CPU supports the interrupt.

Wed, Jul 8, 1:14 PM
olce requested review of D58110: x86/local_apic.c: Factor out version read and max LVT slot computation.
Wed, Jul 8, 1:14 PM

Tue, Jul 7

olce added a comment to D58000: sched_4bsd: use DPCPU for runq.

Fit comment in one line (99 columns)

Tue, Jul 7, 8:33 PM
olce added a comment to D58065: sched_4bsd: rename runq to runq_global.

Since I don't have commit bit yet, could you push it for me? Thanks:)

Tue, Jul 7, 8:31 PM
olce updated the diff for D58078: Status/2026Q2/cppc.adoc: Add report.

Edits from gperciva@

Tue, Jul 7, 8:29 PM
olce added inline comments to D58051: Status/2026Q2/scheduler.adoc: Add report.
Tue, Jul 7, 8:17 PM
olce added a comment to D44454: intelhfi - Intel TD/HFI driver - Part2: Enable thermal interrupt handler for Local APIC's..

New D58086 for you to check.

Tue, Jul 7, 4:36 PM · Contributor Reviews (src)
olce committed rG87ba088fa310: x86/local_apic.c: Add support for installing a thermal interrupt handler (authored by koinec_yahoo.co.jp).
x86/local_apic.c: Add support for installing a thermal interrupt handler
Tue, Jul 7, 4:36 PM
olce requested review of D58086: x86/local_apic.c: Fiddle with thermal LVT slot only if supported.
Tue, Jul 7, 4:36 PM
olce committed rGe1f4a8cb8656: x86/local_apic.c: Thermal interrupt support: Additional style fixes (authored by olce).
x86/local_apic.c: Thermal interrupt support: Additional style fixes
Tue, Jul 7, 4:35 PM
olce closed D44454: intelhfi - Intel TD/HFI driver - Part2: Enable thermal interrupt handler for Local APIC's..
Tue, Jul 7, 4:35 PM · Contributor Reviews (src)
olce accepted D44454: intelhfi - Intel TD/HFI driver - Part2: Enable thermal interrupt handler for Local APIC's..

Going to commit this. Will apply a few additional minor style (mostly, names, and a declaration moved to the corresponding block) changes in a separate commit.

Tue, Jul 7, 3:42 PM · Contributor Reviews (src)
olce added a comment to D58000: sched_4bsd: use DPCPU for runq.

Looks good (see also inline comment). Could you update the Phab revision's description with the new commit message?

Tue, Jul 7, 2:59 PM
olce accepted D58065: sched_4bsd: rename runq to runq_global.

Looks much better like that. :-) "Suggested by: olce" appreciated.

Tue, Jul 7, 2:45 PM
olce added inline comments to D58051: Status/2026Q2/scheduler.adoc: Add report.
Tue, Jul 7, 8:48 AM
olce updated the diff for D58051: Status/2026Q2/scheduler.adoc: Add report.

Cater to gpercival's comments

Tue, Jul 7, 8:47 AM
olce requested review of D58078: Status/2026Q2/cppc.adoc: Add report.
Tue, Jul 7, 8:35 AM

Mon, Jul 6

olce added a comment to D58000: sched_4bsd: use DPCPU for runq.

However, if you feel that the renaming is necessary and local variables should be named runq, I'm learning towards runq_global over global_runq since it has similar naming to runq_pcpu although the name is not grammatically correct.

Mon, Jul 6, 7:33 PM
olce updated the diff for D58051: Status/2026Q2/scheduler.adoc: Add report.
  • Add mention to D58000's work
Mon, Jul 6, 4:44 PM
olce added a comment to D58051: Status/2026Q2/scheduler.adoc: Add report.
  • 4BSD: Switch from MAXCPU fixed-length array to DPCPU for runq_pcpu (D58000 please review)
Mon, Jul 6, 4:42 PM
olce added a comment to D58000: sched_4bsd: use DPCPU for runq.

The commit message is not completely clear on first read, in particular with respect to why the change here saves memory. Also, there are typos. Suggestions:

Mon, Jul 6, 4:33 PM
olce committed rG302d3a21ad9a: cpu: cpu_get_pcpuid(): Fix typo in herald comment (authored by olce).
cpu: cpu_get_pcpuid(): Fix typo in herald comment
Mon, Jul 6, 3:09 PM
olce updated the diff for D58051: Status/2026Q2/scheduler.adoc: Add report.

Fix typo (missing space).

Mon, Jul 6, 1:23 PM
olce updated the diff for D58051: Status/2026Q2/scheduler.adoc: Add report.

Fix item lists.

Mon, Jul 6, 1:21 PM
olce requested review of D58052: Status/2026Q2/hibernate.adoc: Add report.
Mon, Jul 6, 1:11 PM
olce added a reviewer for D58051: Status/2026Q2/scheduler.adoc: Add report: status.
Mon, Jul 6, 1:11 PM
olce requested review of D58051: Status/2026Q2/scheduler.adoc: Add report.
Mon, Jul 6, 1:10 PM

Sun, Jul 5

olce committed rG759ce9a2b38e: ps.1: Fix broken comment line (authored by temcbun_gmail.com).
ps.1: Fix broken comment line
Sun, Jul 5, 8:05 PM
olce closed D58038: ps.1: Fix broken comment line.
Sun, Jul 5, 8:04 PM · Contributor Reviews (src), manpages, docs
olce accepted D58038: ps.1: Fix broken comment line.

Removing the hyphen in the first line is fine, but then that should be mentioned in the commit message. I can add a sentence to that effect myself. Which mail do you want to use? The one that can be inferred from your Phabricator login? I also see a mail at "zohomail" in the tree that could match. If you have to disclose the full name and don't want to do that here, then please mail it to me (olce@).

Sun, Jul 5, 4:49 PM · Contributor Reviews (src), manpages, docs

Fri, Jul 3

olce committed rG7e0df6af8dd0: hwpstate_amd(4): Use new cpu_get_pcpuid(), constify related variables (authored by olce).
hwpstate_amd(4): Use new cpu_get_pcpuid(), constify related variables
Fri, Jul 3, 3:34 PM
olce committed rGc3c8f4d9e662: cpu: New cpu_get_pcpuid(), retrieves internal CPU ID (authored by olce).
cpu: New cpu_get_pcpuid(), retrieves internal CPU ID
Fri, Jul 3, 3:33 PM
olce committed rG74e43f631b51: hwpstate_intel(4): Use new cpu_get_pcpuid(), constify related variables (authored by olce).
hwpstate_intel(4): Use new cpu_get_pcpuid(), constify related variables
Fri, Jul 3, 3:33 PM
olce closed D57897: cpu: New cpu_get_pcpuid(), retrieves internal CPU ID.
Fri, Jul 3, 3:33 PM
olce added a comment to D57897: cpu: New cpu_get_pcpuid(), retrieves internal CPU ID.

Thanks, will do some followup next week.

Fri, Jul 3, 3:17 PM

Thu, Jul 2

olce added inline comments to D57829: sched_ule: Fix selecting lowest priority thread early in corner case.
Thu, Jul 2, 4:23 PM
olce updated the diff for D57829: sched_ule: Fix selecting lowest priority thread early in corner case.

Simplify.

Thu, Jul 2, 4:22 PM
olce added a member for NUMA: olce.
Thu, Jul 2, 3:51 PM
olce added a reviewer for D57827: sched_4bsd: Remove obsolete SMP scaling for ticks per priority level: minsoochoo0122_proton.me.
Thu, Jul 2, 3:37 PM
olce added a reviewer for D57826: sched_4bsd: Fix conflating priority of differently-niced CPU-bound threads: minsoochoo0122_proton.me.
Thu, Jul 2, 3:37 PM
olce added a reviewer for D57829: sched_ule: Fix selecting lowest priority thread early in corner case: minsoochoo0122_proton.me.
Thu, Jul 2, 2:42 PM

Wed, Jul 1

olce added a comment to D44454: intelhfi - Intel TD/HFI driver - Part2: Enable thermal interrupt handler for Local APIC's..

Looks good modulo some minor style (in a broad sense) improvements. To ease things, I could apply these changes myself on commit. Please tell me if you object to that.

Wed, Jul 1, 9:16 PM · Contributor Reviews (src)
olce added a reviewer for D44454: intelhfi - Intel TD/HFI driver - Part2: Enable thermal interrupt handler for Local APIC's.: olce.
Wed, Jul 1, 3:27 PM · Contributor Reviews (src)
olce added a comment to D44454: intelhfi - Intel TD/HFI driver - Part2: Enable thermal interrupt handler for Local APIC's..
In D44454#1327923, @kib wrote:

Ed, feel free to merge this review.

Wed, Jul 1, 3:00 PM · Contributor Reviews (src)
olce accepted D57712: acpi: ignore wake button press replayed by firmware on resume.
Wed, Jul 1, 8:41 AM

Mon, Jun 29

olce committed rG309e4f0bd473: MAC/do: Add consistency tests (authored by olce).
MAC/do: Add consistency tests
Mon, Jun 29, 8:36 PM
olce committed rG0ab20f73ca31: MAC/do: Tests: Add support for exec paths, jail parameters, subjails (authored by olce).
MAC/do: Tests: Add support for exec paths, jail parameters, subjails
Mon, Jun 29, 8:36 PM
olce committed rG406c84a22876: mac_do.4: Document executable paths, default jail values and consistency (authored by olce).
mac_do.4: Document executable paths, default jail values and consistency
Mon, Jun 29, 8:36 PM
olce committed rG31d9802ec2b7: MAC/do: Configuration: Fix default values: Remove jail creation method (authored by olce).
MAC/do: Configuration: Fix default values: Remove jail creation method
Mon, Jun 29, 7:31 PM
olce committed rG0466e9319858: MAC/do: parse_and_set_conf(): Obey empty parameters; Add doc (authored by olce).
MAC/do: parse_and_set_conf(): Obey empty parameters; Add doc
Mon, Jun 29, 7:31 PM
olce committed rGbef2b6e3bf4a: MAC/do: clone_rules(): Readability improvements, constification (authored by olce).
MAC/do: clone_rules(): Readability improvements, constification
Mon, Jun 29, 7:31 PM
olce committed rG9dea58fb0fc0: MAC/do: Fix double-free on parse error after "executable paths" feature (authored by olce).
MAC/do: Fix double-free on parse error after "executable paths" feature
Mon, Jun 29, 7:27 PM
olce committed rG531c3eaa013a: MAC/do: Update copyright (authored by olce).
MAC/do: Update copyright
Mon, Jun 29, 7:27 PM
olce committed rG29c55812380d: MAC/do: Do not skip blanks when parsing executable paths (authored by olce).
MAC/do: Do not skip blanks when parsing executable paths
Mon, Jun 29, 7:27 PM
olce committed rGac9d12f27abf: MAC/do: Serialize installing/modifying some jail's configuration (authored by olce).
MAC/do: Serialize installing/modifying some jail's configuration
Mon, Jun 29, 7:27 PM
olce committed rGd344d17c24dd: MAC/do: Support for atomically modifying configurations (authored by olce).
MAC/do: Support for atomically modifying configurations
Mon, Jun 29, 7:27 PM
olce committed rG84af2a5ba34b: MAC/do: Sequential consistency for configuration retrieval (authored by olce).
MAC/do: Sequential consistency for configuration retrieval
Mon, Jun 29, 7:27 PM
olce committed rGd0ff8724a4f4: MAC/do: Visually separate some file sections (authored by olce).
MAC/do: Visually separate some file sections
Mon, Jun 29, 7:27 PM
olce committed rGa6398c245128: MAC/do: Comment to explain the main invariant for configurations (authored by olce).
MAC/do: Comment to explain the main invariant for configurations
Mon, Jun 29, 7:26 PM
olce committed rGddad09993fdd: MAC/do: Allocate only one default configuration (authored by olce).
MAC/do: Allocate only one default configuration
Mon, Jun 29, 7:26 PM
olce committed rGab2f2f1f75c0: MAC/do: Fix reporting of "mac.do" post-"executable paths" (authored by olce).
MAC/do: Fix reporting of "mac.do" post-"executable paths"
Mon, Jun 29, 7:26 PM
olce committed rGb338e0909672: MAC/do: Constify is_null_or_empty() (authored by olce).
MAC/do: Constify is_null_or_empty()
Mon, Jun 29, 7:26 PM
olce committed rGe76403859f53: MAC/do: Fix the recent logic to set jail parameters, make it more tolerant (authored by olce).
MAC/do: Fix the recent logic to set jail parameters, make it more tolerant
Mon, Jun 29, 7:26 PM
olce committed rG619213c00886: MAC/do: parse_and_set_conf(): Require the model configuration (authored by olce).
MAC/do: parse_and_set_conf(): Require the model configuration
Mon, Jun 29, 7:26 PM
olce committed rG67ec8dba2dce: MAC/do: Fix obsolete wording in a comment ("ascendant" => "ancestor") (authored by olce).
MAC/do: Fix obsolete wording in a comment ("ascendant" => "ancestor")
Mon, Jun 29, 7:26 PM
olce committed rGce8846deb881: MAC/do: Remove superfluous configuration initialization (authored by olce).
MAC/do: Remove superfluous configuration initialization
Mon, Jun 29, 7:26 PM
olce committed rGc8394ff0c615: MAC/do: Move static assertions on constants close to their definitions (authored by olce).
MAC/do: Move static assertions on constants close to their definitions
Mon, Jun 29, 7:26 PM
olce committed rGc0f6eaf5a8ff: MAC/do: Constify clone_rules() and clone_exec_paths()'s source argument (authored by olce).
MAC/do: Constify clone_rules() and clone_exec_paths()'s source argument
Mon, Jun 29, 7:26 PM
olce committed rGe4ab9584a765: MAC/do: Fix releasing a nonexistent reference on configuration parsing error (authored by olce).
MAC/do: Fix releasing a nonexistent reference on configuration parsing error
Mon, Jun 29, 7:26 PM
olce committed rG56e1a621d0b4: MAC/do: find_conf(): Return configuration with a true reference (authored by olce).
MAC/do: find_conf(): Return configuration with a true reference
Mon, Jun 29, 7:26 PM
olce committed rG9383427b2f90: MAC/do: Move hold_conf() and drop_conf() earlier (authored by olce).
MAC/do: Move hold_conf() and drop_conf() earlier
Mon, Jun 29, 7:26 PM
olce committed rG5398649fa0e3: MAC/do: Rename size constants/variables to clear confusion with string lengths (authored by olce).
MAC/do: Rename size constants/variables to clear confusion with string lengths
Mon, Jun 29, 7:26 PM
olce committed rGe3373e0a74f1: MAC/do: find_conf(): Turn an MPASS() into a KASSERT() (authored by olce).
MAC/do: find_conf(): Turn an MPASS() into a KASSERT()
Mon, Jun 29, 7:26 PM
olce committed rG3a95d9255a65: MAC/do: Executable paths: Accept an empty string (authored by olce).
MAC/do: Executable paths: Accept an empty string
Mon, Jun 29, 7:26 PM
olce committed rG8cbd56ec1c54: MAC/do: Executable paths feature (GSoC 2025's final state) (authored by kushagra1403_gmail.com).
MAC/do: Executable paths feature (GSoC 2025's final state)
Mon, Jun 29, 7:26 PM
olce committed rGbe43248be7cd: MAC/do: Document and assert when parse error objects must be built (authored by olce).
MAC/do: Document and assert when parse error objects must be built
Mon, Jun 29, 7:26 PM