Page MenuHomeFreeBSD

mchoo (Minsoo Choo)
Minsoo

Projects (6)

User Details

User Since
May 6 2021, 12:00 AM (272 w, 5 d)

Recent Activity

Today

mchoo planned changes to D58509: arcconfig: stop amending commit message.
Tue, Jul 28, 3:45 AM
mchoo updated the test plan for D58509: arcconfig: stop amending commit message.
Tue, Jul 28, 3:45 AM
mchoo updated the test plan for D58509: arcconfig: stop amending commit message.
Tue, Jul 28, 3:17 AM
mchoo requested review of D58509: arcconfig: stop amending commit message.
Tue, Jul 28, 3:16 AM
mchoo added a comment to D58508: Add new src committer: Minsoo Choo (mchoo).

Is this and D58507 subject to MFC?

Tue, Jul 28, 3:12 AM
mchoo requested review of D58508: Add new src committer: Minsoo Choo (mchoo).
Tue, Jul 28, 3:06 AM
mchoo requested review of D58507: Add new src committer: Minsoo Choo (mchoo).
Tue, Jul 28, 3:05 AM

Yesterday

pi renamed mchoo from minsoochoo0122_proton.me to mchoo.
Mon, Jul 27, 7:02 PM

Tue, Jul 7

mchoo updated the diff for D58000: sched_4bsd: use DPCPU for runq.

Actually it works without "On " in the front

Tue, Jul 7, 8:58 PM
mchoo updated the diff for D58000: sched_4bsd: use DPCPU for runq.

Update comment (83 columns)

Tue, Jul 7, 8:56 PM
mchoo added a comment to D58065: sched_4bsd: rename runq to runq_global.
In D58065#1332040, @minsoochoo0122_proton.me wrote:

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

Sure. With the minsoo.io address I presume?

Tue, Jul 7, 8:49 PM
mchoo added inline comments to D58000: sched_4bsd: use DPCPU for runq.
Tue, Jul 7, 5:53 PM
mchoo updated the summary of D58000: sched_4bsd: use DPCPU for runq.
Tue, Jul 7, 5:52 PM
mchoo updated the diff for D58000: sched_4bsd: use DPCPU for runq.

Fit comment in one line (99 columns)

Tue, Jul 7, 5:51 PM
mchoo added a comment to D58065: sched_4bsd: rename runq to runq_global.

Do you want me to commit that? Or can you with jhb@'s approval?

Tue, Jul 7, 5:45 PM
mchoo updated the summary of D58065: sched_4bsd: rename runq to runq_global.
Tue, Jul 7, 5:44 PM
mchoo updated the diff for D58065: sched_4bsd: rename runq to runq_global.

Add Suggested by: olce

Tue, Jul 7, 5:44 PM

Mon, Jul 6

mchoo added inline comments to D58000: sched_4bsd: use DPCPU for runq.
Mon, Jul 6, 10:34 PM
mchoo updated the diff for D58000: sched_4bsd: use DPCPU for runq.

Update commit message
Reflect @olce's suggestion

Mon, Jul 6, 10:26 PM
mchoo added a reviewer for D58065: sched_4bsd: rename runq to runq_global: olce.
Mon, Jul 6, 10:25 PM
mchoo requested review of D58065: sched_4bsd: rename runq to runq_global.
Mon, Jul 6, 10:24 PM
mchoo added a comment to D58000: sched_4bsd: use DPCPU for runq.

Introducing ts_rqcpu actually makes ts_runq redundant, so please remove that last field, possibly adding helpers to get the corresponding runqueue/change the runqueue length variable, and renaming the global runq to global_runq so that you can introduce runq local variables (separate commit). With this, there is no case where memory consumption isn't improved by this whole change, for absolutely zero change in performance if I'm not mistaken (except for sched_4bsd_rem()'s access, but that looks negligible).

Mon, Jul 6, 7:18 PM
mchoo accepted D58051: Status/2026Q2/scheduler.adoc: Add report.

Thanks!

Mon, Jul 6, 5:12 PM
mchoo added a comment to D58051: Status/2026Q2/scheduler.adoc: Add report.

I would like to add bit more:

Mon, Jul 6, 1:32 PM

Fri, Jul 3

mchoo added a comment to D57829: sched_ule: Fix selecting lowest priority thread early in corner case.
In D57829#1330688, @minsoochoo0122_proton.me wrote:

Wouldn't this clamp threads with different priorities to the same index (tdq->tdq_ts_deq_off - 1)?

Is there any way that we can ensure tdq_ts_deq_off is always behind tdq_ts_off + MODULO and replace the whole thing as MPASS() instead?

Fri, Jul 3, 8:56 PM
mchoo added a comment to D57829: sched_ule: Fix selecting lowest priority thread early in corner case.

Wouldn't this clamp threads with different priorities to the same index (tdq->tdq_ts_deq_off - 1)?

Fri, Jul 3, 8:05 PM
mchoo added a comment to D57829: sched_ule: Fix selecting lowest priority thread early in corner case.

For now I don't have enough time to visit this, so I'll take a look at this later. If I don't give any comment by Saturday evening, you can commit this.

Fri, Jul 3, 2:30 AM

Thu, Jul 2

mchoo added a reviewer for D58000: sched_4bsd: use DPCPU for runq: olce.
Thu, Jul 2, 11:08 PM
mchoo accepted D57826: sched_4bsd: Fix conflating priority of differently-niced CPU-bound threads.

I think this is okay. We now have plenty of timeshare priority levels, so preserving PRI_MAX_TIMESHARE + PRIO_MIN to PRI_MAX_TIMESHARE and PRI_MIN_TIMESHARE to PRI_MIN_TIMESHARE + PRIO_MAX for nice-adjust process makes sense as it only takes 40 levels or so. (Side note: min and max for PRI and PRIO have opposite meanings, so it's kinda confusing here...)

Thu, Jul 2, 11:05 PM
mchoo accepted D57827: sched_4bsd: Remove obsolete SMP scaling for ticks per priority level.

LGTM. I didn't know this was from KSE times, but yes, we should let it go now.

Thu, Jul 2, 10:35 PM
mchoo added a comment to D58002: mergesort: use memcpy() for copying.

Updated benchmark for amd64 16-CURRENT, both libc built from my local machine and tested on it

Thu, Jul 2, 5:14 PM
mchoo added a comment to D58002: mergesort: use memcpy() for copying.
In D58002#1330171, @fuz wrote:

Oh is that the case for both? How did you select a debug build? If so it's kind of an apples to oranges comparison.

Thu, Jul 2, 4:18 PM
mchoo added a comment to D58002: mergesort: use memcpy() for copying.
In D58002#1330056, @fuz wrote:

This sounds like a good idea for simplicity indeed.

However, the performance does suffer in the aligned case throughout the board.

Could you by chance test on arm64 where we do have a SIMD-based memcpy implementation?

Thu, Jul 2, 1:19 PM
mchoo added inline comments to D58004: usb_quirk: implement bad remote wakeup and add ASM1074 SS.
Thu, Jul 2, 12:13 AM
mchoo updated the diff for D58004: usb_quirk: implement bad remote wakeup and add ASM1074 SS.

Fix indent on flags

Thu, Jul 2, 12:11 AM
mchoo updated subscribers of D58004: usb_quirk: implement bad remote wakeup and add ASM1074 SS.
Thu, Jul 2, 12:09 AM
mchoo requested review of D58004: usb_quirk: implement bad remote wakeup and add ASM1074 SS.
Thu, Jul 2, 12:08 AM

Wed, Jul 1

mchoo added a comment to D58002: mergesort: use memcpy() for copying.

Benchmark results

Wed, Jul 1, 10:50 PM
mchoo added a reviewer for D58002: mergesort: use memcpy() for copying: fuz.
Wed, Jul 1, 10:44 PM
mchoo requested review of D58002: mergesort: use memcpy() for copying.
Wed, Jul 1, 10:44 PM
mchoo updated the diff for D58000: sched_4bsd: use DPCPU for runq.

update commit message (int -> u_int)

Wed, Jul 1, 7:00 PM
mchoo updated the summary of D58000: sched_4bsd: use DPCPU for runq.
Wed, Jul 1, 6:59 PM
mchoo requested review of D58000: sched_4bsd: use DPCPU for runq.
Wed, Jul 1, 6:54 PM

Mon, Jun 29

mchoo added a reviewer for D57940: intelhfi - Intel TD/HFI driver - Part4b: Modifications due to hmp(4) interface change: olce.
Mon, Jun 29, 12:57 PM
mchoo added a reviewer for D57941: sched_ule(4): Improve of CPU core selection logic using capacity and score in hmp(4) (support for heterogeneous multi-core architectures): olce.
Mon, Jun 29, 12:57 PM

Jun 21 2026

mchoo added a comment to D56546: hmp(4): introduce Heterogeneous MultiProcessing support.

(This may not be the appropriate place to post this, but please forgive me as I don't know of any other suitable location.)

Jun 21 2026, 12:43 AM

Jun 15 2026

mchoo added a comment to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..
Jun 15 2026, 11:20 PM · Contributor Reviews (src)

Jun 8 2026

mchoo added a comment to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..

You can mark all my existing inline comments as done except for the module vs device driver one.

Jun 8 2026, 11:43 PM · Contributor Reviews (src)
mchoo updated the diff for D56546: hmp(4): introduce Heterogeneous MultiProcessing support.

Fix missing hmp_capacity_t separation

Jun 8 2026, 11:16 PM
mchoo added a comment to D44457: intelhfi - Intel TD/HFI driver - Part5: Add intelhfi driver line to the kernel configuration file (GENERIC) & NOTES file..
In D44457#1310996, @minsoochoo0122_proton.me wrote:

Wait, could you add this to amd64/LINT as well?

Excuse me, I need some help.

Looking at sys/amd64/conf/LINT, it includes the NOTES file in the same directory.
And, as shown above, I've added intelhfi to the NOTES file.
Therefore, I believe this has already been done. Am I misunderstanding something?

Jun 8 2026, 11:03 PM · Contributor Reviews (src)

Jun 5 2026

mchoo accepted D57473: arch.7: Restore (non-SPE) 32-bit powerpc to MD tables.

LGTM. Optionally the commit message can have

Jun 5 2026, 5:33 PM
mchoo abandoned D57103: arch.7: remove powerpcspe.

Superseded by D57472 and D57473.

Jun 5 2026, 5:33 PM
mchoo added a comment to D57472: arch.7: Remove 32-bit powerpc from tables.

From 072f54bf9ff3fb544ae65649e723d5f846b53897,

Jun 5 2026, 4:50 PM

Jun 3 2026

mchoo accepted D57415: LinuxKPI: Add linux/types.h to pm_qos.h, fixes issue in new drm-kmod patches.

This is why I want to have C23 in base, but it's not the right time yet... LGTM:)

Jun 3 2026, 5:06 PM · linuxkpi

Jun 2 2026

mchoo added inline comments to D57381: riscv: add KASAN support.
Jun 2 2026, 12:18 PM

Jun 1 2026

mchoo added inline comments to D57379: riscv: Implement 8-bit and 16-bit atomic operations.
Jun 1 2026, 9:03 PM
mchoo added inline comments to D57379: riscv: Implement 8-bit and 16-bit atomic operations.
Jun 1 2026, 9:02 PM
mchoo accepted D57378: riscv: bus: provide bus_space_set_{multi,region}_stream definitions.

LGTM

Jun 1 2026, 6:23 PM
mchoo accepted D57378: riscv: bus: provide bus_space_set_{multi,region}_stream definitions.

LGTM

Jun 1 2026, 6:23 PM
mchoo added a comment to D57379: riscv: Implement 8-bit and 16-bit atomic operations.
In D57379#1314791, @minsoochoo0122_proton.me wrote:

Back to my original question: How can we achieve this "special path" so processors with Zabha don't have severe performance impact?

Same as LSE on arm64

Jun 1 2026, 6:20 PM
mchoo added a comment to D57379: riscv: Implement 8-bit and 16-bit atomic operations.
In D57379#1314785, @minsoochoo0122_proton.me wrote:

Having said that, what is the use case you have for these? Generally speaking you shouldn't be using sub-word atomics unless absolutely needed, since performance will be worse.

Just curious: do we have trampolines for sub-atomic operations at instruction level? Having them for Zabha or LDADD* would be great optimization opportunity.

I don't understand what your question means

Jun 1 2026, 6:17 PM
mchoo added a comment to D57379: riscv: Implement 8-bit and 16-bit atomic operations.

Having said that, what is the use case you have for these? Generally speaking you shouldn't be using sub-word atomics unless absolutely needed, since performance will be worse.

Jun 1 2026, 6:06 PM
mchoo accepted D57380: riscv: add a GENERIC-KASAN config.
In D57380#1314674, @minsoochoo0122_proton.me wrote:

I guess it's okay to merge this into D57381? See f115c0612131d8f939f6f357f57bdd85bd6a59de for amd64.

I think both are OK, see 698dbd66fed21e0acabf02a07be5080d016efa5c for arm64.

Jun 1 2026, 5:34 PM
mchoo requested changes to D57378: riscv: bus: provide bus_space_set_{multi,region}_stream definitions.
Jun 1 2026, 5:33 PM
mchoo added a comment to D57378: riscv: bus: provide bus_space_set_{multi,region}_stream definitions.

Both segments are placed in wrong lines. Please refer to sys/arm64/include/bus.h for correct order.

Jun 1 2026, 5:32 PM
mchoo added a comment to D57379: riscv: Implement 8-bit and 16-bit atomic operations.

Rationale looks good. (Side note: RVA23 profile says Zabha will be mandatory in future RVA profiles)

Jun 1 2026, 3:05 PM
mchoo updated subscribers of D57381: riscv: add KASAN support.
Jun 1 2026, 3:00 PM
mchoo added a comment to D57380: riscv: add a GENERIC-KASAN config.

I guess it's okay to merge this into D57381? See f115c0612131d8f939f6f357f57bdd85bd6a59de for amd64.

Jun 1 2026, 2:50 PM
mchoo added a comment to D57378: riscv: bus: provide bus_space_set_{multi,region}_stream definitions.

I would like to know what this is for. Code looks okay, but I wonder why we need these aliases. Could you elaborate more in the commit message and revision summary?

Jun 1 2026, 2:48 PM

May 26 2026

mchoo added a reviewer for D57260: hardware: update missing powerpc entries: cperciva.
May 26 2026, 9:04 PM
mchoo requested review of D57260: hardware: update missing powerpc entries.
May 26 2026, 9:04 PM
mchoo added inline comments to D57257: 15.1: Regenerate hardware notes.
May 26 2026, 8:20 PM
mchoo updated subscribers of D57257: 15.1: Regenerate hardware notes.
May 26 2026, 8:18 PM

May 24 2026

mchoo added inline comments to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..
May 24 2026, 11:46 PM · Contributor Reviews (src)
mchoo added inline comments to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..
May 24 2026, 11:20 PM · Contributor Reviews (src)
mchoo added a comment to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..

However, intelhfi driver needs to reference the number of CPU groups stored in the "cpu_group" structure. For this reason, I used the "cpu_grpup" structure in the location you pointed out, and also cached it in the intelhfi's instance structure.

May 24 2026, 11:19 PM · Contributor Reviews (src)
mchoo added a comment to D44458: intelhfi - Intel TD/HFI driver - Part6: Add intelhfi's man file & Makefile..

@koinec_yahoo.co.jp Are you fine if I update the diff to match FreeBSD's man style? The content is fine, I just need to rephrase and move sections around for consistency with other man pages. You will still be the only person on the copyright notice and git author.

May 24 2026, 3:34 PM · Contributor Reviews (src)

May 23 2026

mchoo requested changes to D44457: intelhfi - Intel TD/HFI driver - Part5: Add intelhfi driver line to the kernel configuration file (GENERIC) & NOTES file..

Wait, could you add this to amd64/LINT as well?

May 23 2026, 11:45 PM · Contributor Reviews (src)
mchoo accepted D44457: intelhfi - Intel TD/HFI driver - Part5: Add intelhfi driver line to the kernel configuration file (GENERIC) & NOTES file..
May 23 2026, 11:44 PM · Contributor Reviews (src)
mchoo accepted D44458: intelhfi - Intel TD/HFI driver - Part6: Add intelhfi's man file & Makefile..

LGTM

May 23 2026, 11:43 PM · Contributor Reviews (src)

May 20 2026

mchoo updated the diff for D57102: hardware: update pSeries entries.
  • hardware.adoc: remove redundant LF at end of file
  • hardware.adoc: update powerpc64 entries
May 20 2026, 12:48 AM

May 19 2026

mchoo added a comment to D57102: hardware: update pSeries entries.

Under QEMU I would probably say "pSeries (PAPR)" just because qemu refers to that name still for launch.

And under IBM, which should be kept, with the bullet point: PAPR (native, LPAR, PowerVM)

May 19 2026, 11:23 PM
mchoo added a comment to D57102: hardware: update pSeries entries.

PowerVM is "just" an I/O server, the device model is always PAPR for "bare metal", LPAR, and PowerVM. This is the traditional OpenFirmware derived interface.

PowerNV is a separate, clean break, open source firmware available on some Power7+ systems, notably the Raptor stuff and qemu.

May 19 2026, 11:17 PM
mchoo added a comment to D57102: hardware: update pSeries entries.

The original could mean PowerVM, but that's not "hardware" so that shouldn't on this note although PowerVM is pretty consistent across different Power servers (unlike x86 and arm).

May 19 2026, 11:03 PM
mchoo added a comment to D57102: hardware: update pSeries entries.

I wasn't sure what "IBM: pSeries VM" meant, so I'm making an assumption here that it means QEMU pSeries.

May 19 2026, 9:59 PM
mchoo added reviewers for D57103: arch.7: remove powerpcspe: jhb, adrian.
May 19 2026, 9:55 PM
mchoo requested review of D57103: arch.7: remove powerpcspe.
May 19 2026, 9:54 PM
mchoo updated subscribers of D57102: hardware: update pSeries entries.
May 19 2026, 9:52 PM
mchoo added reviewers for D57102: hardware: update pSeries entries: ziaee, releng, PowerPC, adrian.
May 19 2026, 9:52 PM
mchoo requested review of D57102: hardware: update pSeries entries.
May 19 2026, 9:51 PM

May 18 2026

mchoo added a member for PowerPC: mchoo.
May 18 2026, 4:34 PM
mchoo requested changes to D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile..

Thanks, here are some reviews:

May 18 2026, 1:33 AM · Contributor Reviews (src)

May 17 2026

mchoo updated the diff for D56546: hmp(4): introduce Heterogeneous MultiProcessing support.
  • total_capacity should have type hmp_capacity_t
  • hmp_capacity_t is now uint32_t since total_capacity will overflow when there are 64 or more cores. hmp_score_t has also changed to uint32_t to reflect the change.
May 17 2026, 10:36 PM
mchoo requested changes to D44458: intelhfi - Intel TD/HFI driver - Part6: Add intelhfi's man file & Makefile..
May 17 2026, 5:41 PM · Contributor Reviews (src)

May 16 2026

mchoo added a comment to D56546: hmp(4): introduce Heterogeneous MultiProcessing support.
In D56546#1306730, @minsoochoo0122_proton.me wrote:
  • Remove dynamic and throttle flags as they are not needed anymore

Thank you very much for the improvements.
Is it possible to retain the flag field and the definition of the "Throttled" flag?

If the intention behind removing it is that it might not be immediately used in the ULE scheduler, I understand the reasoning. I am currently learning about the ULE scheduler while testing intelhfi. Since ULE focuses on distributing loads to the lowest-load CPUs while remaining cache-aware, I agree that the Throttled flag isn't strictly necessary for ULE itself.

However, I view HMP(4) as a forward-looking mechanism designed to share scores across heterogeneous multicore architectures, rather than something optimized solely for the ULE scheduler. Also, considering that the Intel Hardware Feedback Interface defines a "Throttled" state, I assume this flag was initially introduced with Arm architecture development in mind.
Therefore, notification of the "Throttled" state could become essential in the future for managing heterogeneous multicore environments. For this reason, I would like to request keeping the Throttled state configurable rather than removing it.

May 16 2026, 2:45 PM
mchoo updated the diff for D56548: hmp(4): add man page.
  • reflect recent changes to man page
May 16 2026, 3:34 AM
mchoo updated the diff for D56547: hmp(4): add provider interface.
  • Print none in active provider sysctl when provider isn't selected
May 16 2026, 3:34 AM
mchoo updated the diff for D56546: hmp(4): introduce Heterogeneous MultiProcessing support.
  • Remove dynamic and throttle flags as they are not needed anymore
  • Add hmp_lowest_capacity_cpu()
May 16 2026, 3:33 AM

May 13 2026

mchoo added inline comments to D56981: handbook/introduction: Replace disc with cloud.
May 13 2026, 12:25 AM

May 11 2026

mchoo abandoned D56256: usr.bin: introduce dump2elf(1).

Abandoned with D56250

May 11 2026, 11:44 PM