Page MenuHomeFreeBSD

mchoo (Minsoo Choo)
Minsoo

Projects (7)

User Details

User Since
May 6 2021, 12:00 AM (276 w, 3 d)

Recent Activity

Thu, Aug 20

mchoo added a reviewer for D58043: coreindex(4) - Manual capacity/score configuration driver for hmp(4) - Part2: Add coreindex driver's man file & Makefile.: scheduler.
Thu, Aug 20, 4:27 PM
mchoo added a reviewer for D57943: coreindex(4) - Manual capacity/score configuration driver for hmp(4) - Part1: Add coreindex driver's source-code & Makefile.: scheduler.
Thu, Aug 20, 4:26 PM
mchoo added a reviewer for D57940: intelhfi - Intel TD/HFI driver - Part4b: Modifications due to hmp(4) interface change: scheduler.
Thu, Aug 20, 4:26 PM
mchoo added a reviewer for D44459: intelhfi - Intel TD/HFI driver - Part7: Add kerneldoc's Doxyfile: scheduler.
Thu, Aug 20, 4:25 PM · Contributor Reviews (src)
mchoo added a reviewer for D44458: intelhfi - Intel TD/HFI driver - Part6: Add intelhfi's man file & Makefile.: scheduler.
Thu, Aug 20, 4:25 PM · Contributor Reviews (src)
mchoo added a reviewer for D44457: intelhfi - Intel TD/HFI driver - Part5: Add intelhfi driver line to the kernel configuration file (GENERIC) & NOTES file.: scheduler.
Thu, Aug 20, 4:25 PM · Contributor Reviews (src)
mchoo added a reviewer for D44456: intelhfi - Intel TD/HFI driver - Part4: Add intelhfi driver's source-code & Makefile.: scheduler.
Thu, Aug 20, 4:25 PM · Contributor Reviews (src)
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): scheduler.
Thu, Aug 20, 4:25 PM
mchoo added a reviewer for D57939: hmp(4): Interface changes for sched_ule(4) integration: scheduler.
Thu, Aug 20, 4:25 PM
mchoo added a reviewer for D56548: hmp(4): add man page: scheduler.
Thu, Aug 20, 4:25 PM
mchoo added a reviewer for D56547: hmp(4): add provider interface: scheduler.
Thu, Aug 20, 4:25 PM
mchoo updated subscribers of D56546: hmp(4): introduce Heterogeneous MultiProcessing support.
Thu, Aug 20, 4:24 PM
mchoo added a reviewer for D56546: hmp(4): introduce Heterogeneous MultiProcessing support: scheduler.
Thu, Aug 20, 4:24 PM
mchoo added a comment to D58862: authors.adoc: fix entry (mchoo).

@jhb I need mentor approval.

Thu, Aug 20, 4:17 AM

Sat, Aug 15

mchoo requested review of D58862: authors.adoc: fix entry (mchoo).
Sat, Aug 15, 5:56 PM

Thu, Jul 30

mchoo committed rGa28c2890f448: Add new src committer: Minsoo Choo (mchoo) (authored by mchoo).
Add new src committer: Minsoo Choo (mchoo)
Thu, Jul 30, 9:08 PM
mchoo closed D58507: Add new src committer: Minsoo Choo (mchoo).
Thu, Jul 30, 9:08 PM
mchoo closed D58508: Add new src committer: Minsoo Choo (mchoo).
Thu, Jul 30, 9:04 PM
mchoo committed R9:8821b5318e07: Add new src committer: Minsoo Choo (mchoo) (authored by mchoo).
Add new src committer: Minsoo Choo (mchoo)
Thu, Jul 30, 9:04 PM
mchoo updated the diff for D58507: Add new src committer: Minsoo Choo (mchoo).
  • Update date
  • Add mentor-mentee entry
Thu, Jul 30, 2:48 AM
mchoo updated the diff for D58508: Add new src committer: Minsoo Choo (mchoo).

Update date

Thu, Jul 30, 2:45 AM

Tue, Jul 28

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

Mon, Jul 27

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

Jul 7 2026

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

Actually it works without "On " in the front

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

Update comment (83 columns)

Jul 7 2026, 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?

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

Fit comment in one line (99 columns)

Jul 7 2026, 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?

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

Add Suggested by: olce

Jul 7 2026, 5:44 PM

Jul 6 2026

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

Update commit message
Reflect @olce's suggestion

Jul 6 2026, 10:26 PM
mchoo added a reviewer for D58065: sched_4bsd: rename runq to runq_global: olce.
Jul 6 2026, 10:25 PM
mchoo requested review of D58065: sched_4bsd: rename runq to runq_global.
Jul 6 2026, 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).

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

Thanks!

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

I would like to add bit more:

Jul 6 2026, 1:32 PM

Jul 3 2026

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?

Jul 3 2026, 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)?

Jul 3 2026, 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.

Jul 3 2026, 2:30 AM

Jul 2 2026

mchoo added a reviewer for D58000: sched_4bsd: use DPCPU for runq: olce.
Jul 2 2026, 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_MAX to PRI_MAX_TIMESHARE and PRI_MIN_TIMESHARE to PRI_MIN_TIMESHARE - PRIO_MIN for nice-adjust process makes sense as it only takes 40 levels or so.

Jul 2 2026, 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.

Jul 2 2026, 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

Jul 2 2026, 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.

Jul 2 2026, 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?

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

Fix indent on flags

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

Jul 1 2026

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

Benchmark results

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

update commit message (int -> u_int)

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

Jun 29 2026

mchoo added a reviewer for D57940: intelhfi - Intel TD/HFI driver - Part4b: Modifications due to hmp(4) interface change: olce.
Jun 29 2026, 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.
Jun 29 2026, 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)