Page MenuHomeFreeBSD

Contributor Reviews (src)Project
ActivePublic

Recent Activity

Jan 21 2026

minsoochoo0122_proton.me added a comment to D44457: coredirector - Intel TD/HFI driver - Part5: Add kernel configuration file example for NOTES file..

Thank you for your suggestion.
I understood that the driver name "coredirector" is vague.

How about "intelhfi" (Intel Hardware feedback interface)?

I understand that the "IntelThread Director" is the Intel's product name, and the Intel Software Developer Manual describes the following two functions:

  • Hardware Feedback Interface (HFI): A function that communicates the performance and power saving scores of each CPU core to the OS.
  • Thread Director (TD): A function that notifies the OS of the attributes of the instructions of the process currently running on the CPU core, such as normal instructions, SIMD(vector) instructions, etc.

The patch I'm proposing supports the "Hardware Feedback Interface". It would be nice to be able to support both in the future, but first I would like to support the HFI so that the scheduler can take into account the performance of the P-core, E-core, and LP-E-core. I'm also aware that AMD is implementing a similar function using a different mechanism in the Zen5/Zen5c, so I would like to be able to swap out both drivers to match the CPU. Therefore, how about combining "intel" and "HFI" to make it "intelhfi"?

I have re-created the build and test environment locally, and would like to correct the driver name to the one decided upon in this discussion.

Jan 21 2026, 4:29 AM · Contributor Reviews (src)

Jan 19 2026

minsoochoo0122_proton.me updated the diff for D54770: queue.3: splist into slist.3, stailq.3, list.3, and tailq.3.

@brooks That's a fair point. I added queue.3 with minimum intro and restored some man pages that can have queue.3 rather than listing all four.

Jan 19 2026, 10:18 PM · Contributor Reviews (src)
brooks added a comment to D54770: queue.3: splist into slist.3, stailq.3, list.3, and tailq.3.

I like the idea of the split, but I'm not convinced queue.3 should go away entirely. If nothing else this commit fails to remove all references to queue(3) in the tree and I suspect it's in some people's finger memory. I'd suggest transforming queue.3 into an intro-like manpage with a brief comparison of each of the relevant list/queue types.

Jan 19 2026, 9:52 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D54753: queue(3): add function-based API.
Jan 19 2026, 5:15 PM · Contributor Reviews (src)

Jan 18 2026

minsoochoo0122_proton.me updated the summary of D54770: queue.3: splist into slist.3, stailq.3, list.3, and tailq.3.
Jan 18 2026, 10:29 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

man page update, added foreach, etc...

Jan 18 2026, 10:15 PM · Contributor Reviews (src)
koinec_yahoo.co.jp added a comment to D44457: coredirector - Intel TD/HFI driver - Part5: Add kernel configuration file example for NOTES file..

Thank you for your suggestion.
I understood that the driver name "coredirector" is vague.

Jan 18 2026, 1:10 PM · Contributor Reviews (src)
minsoochoo0122_proton.me retitled D54753: queue(3): add function-based API from sys: add function-based API for queue(3)
Jan 18 2026, 4:18 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D54753: queue(3): add function-based API.

This is really just an argument for moving away from C entirely. And I'd quite like that personally, but it's easier said than done.

My original implementation of minmax caching on wavl (using prev and next) always failed CI build on github,

I would strongly encourage you to work towards having a build-compile-test loop that does not rely on github or any third-party CI. You will be much more productive if you don't have to wait for CI to run in order to discover compile errors. It should take maybe 5 seconds to check whether your latest edits build.

Jan 18 2026, 1:27 AM · Contributor Reviews (src)
markj added a comment to D54753: queue(3): add function-based API.

This is really just an argument for moving away from C entirely. And I'd quite like that personally, but it's easier said than done.

My original implementation of minmax caching on wavl (using prev and next) always failed CI build on github,

Jan 18 2026, 1:21 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D54753: queue(3): add function-based API.

To be honest, I'm not thrilled to have a whole new set of functions for doing something already covered by queue.h and used extensively throughout the tree. These functions don't provide any type checking or debug assertions/poisoning like the queue.h macros do. These functions might be easier to use for someone not used to queue.h, but there are tons of examples of queue.h macro usage in the tree to draw from.

Type checking is done here and there is no need for (void *) casting. containerof() will return the structure that contains the node and other data. For assertion, we can let users to declare their own assert functions and call it in the headers, but I forgot to implement it here.

No, I mean that when when I define a list or queue head with LIST_HEAD, etc., I also declare the type of the item within that list. Attempting to insert an item of a different type results in a compile error rather than runtime memory corruption. This checking is useful, and is the entire reason for using macros in the first place. containerof doesn't provide any checking.

Jan 18 2026, 12:56 AM · Contributor Reviews (src)
markj added a comment to D54753: queue(3): add function-based API.

To be honest, I'm not thrilled to have a whole new set of functions for doing something already covered by queue.h and used extensively throughout the tree. These functions don't provide any type checking or debug assertions/poisoning like the queue.h macros do. These functions might be easier to use for someone not used to queue.h, but there are tons of examples of queue.h macro usage in the tree to draw from.

Type checking is done here and there is no need for (void *) casting. containerof() will return the structure that contains the node and other data. For assertion, we can let users to declare their own assert functions and call it in the headers, but I forgot to implement it here.

Jan 18 2026, 12:37 AM · Contributor Reviews (src)

Jan 17 2026

minsoochoo0122_proton.me added a comment to D54753: queue(3): add function-based API.

To be honest, I'm not thrilled to have a whole new set of functions for doing something already covered by queue.h and used extensively throughout the tree. These functions don't provide any type checking or debug assertions/poisoning like the queue.h macros do. These functions might be easier to use for someone not used to queue.h, but there are tons of examples of queue.h macro usage in the tree to draw from.

Jan 17 2026, 11:54 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

asserts I wrote were... nonsense. We should let users declare their own asserts instead.

Jan 17 2026, 11:46 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

@imp separated commits. I'll keep the 3-clause license and ask the foundation on Monday.

Jan 17 2026, 11:33 PM · Contributor Reviews (src)
markj added a comment to D54753: queue(3): add function-based API.

To be honest, I'm not thrilled to have a whole new set of functions for doing something already covered by queue.h and used extensively throughout the tree. These functions don't provide any type checking or debug assertions/poisoning like the queue.h macros do. These functions might be easier to use for someone not used to queue.h, but there are tons of examples of queue.h macro usage in the tree to draw from.

Jan 17 2026, 10:52 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D54753: queue(3): add function-based API.
Jan 17 2026, 9:43 PM · Contributor Reviews (src)
imp added a comment to D54753: queue(3): add function-based API.

generally I like the concept. If this isn't just text motion, though, I'd split it into (1) move things to new man page with as few other changes as is needed to make them work and (2) improvements, etc as a second commit.

Jan 17 2026, 9:03 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D54753: queue(3): add function-based API.
Jan 17 2026, 8:30 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

fix commit message

Jan 17 2026, 8:17 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

Update man page makefile

Jan 17 2026, 7:21 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

Fix headers

Jan 17 2026, 6:22 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

Fix style(9)

Jan 17 2026, 5:28 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

license format

Jan 17 2026, 4:31 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

use spdx identifier (keep original BSD 3-clause license)

Jan 17 2026, 4:28 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D54753: queue(3): add function-based API.

@ziaee I splitted queue.3 into four man pages, so each of them should have length of 50% of the original NAME section (1/4 * 2 for function-based API).

Jan 17 2026, 4:16 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

split man pages

Jan 17 2026, 4:13 PM · Contributor Reviews (src)
ziaee added a reviewer for D54753: queue(3): add function-based API: brooks.
Jan 17 2026, 3:45 PM · Contributor Reviews (src)
ziaee added inline comments to D54753: queue(3): add function-based API.
Jan 17 2026, 3:45 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

Split commits into individual files

Jan 17 2026, 6:10 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D54753: queue(3): add function-based API.
Jan 17 2026, 5:37 AM · Contributor Reviews (src)
ziaee added a comment to D54753: queue(3): add function-based API.

Unfortunately parsing diffs from git format-patch from phabricator side seems to be broken. It only shows the first (and the most trivial) commit. I'm using basic git diff here.

Jan 17 2026, 5:32 AM · Contributor Reviews (src)
ziaee added a reviewer for D54753: queue(3): add function-based API: manpages.
Jan 17 2026, 5:27 AM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

Fix diff with arc cli

Jan 17 2026, 4:40 AM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

Fix style(9)

Jan 17 2026, 4:22 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D54753: queue(3): add function-based API.
Jan 17 2026, 4:18 AM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54753: queue(3): add function-based API.

Unfortunately parsing diffs from git format-patch from phabricator side seems to be broken. It only shows the first (and the most trivial) commit. I'm using basic git diff here.

Jan 17 2026, 4:17 AM · Contributor Reviews (src)
minsoochoo0122_proton.me requested review of D54753: queue(3): add function-based API.
Jan 17 2026, 4:15 AM · Contributor Reviews (src)

Jan 14 2026

minsoochoo0122_proton.me abandoned D54604: mmcreg.h: update and match values to spec.

I'm abandoning this revision for the following reasons:

Jan 14 2026, 1:19 AM · Contributor Reviews (src)
marius added a comment to D54604: mmcreg.h: update and match values to spec.

In fact, the macros added as part of implementing eMMC support already
were based on v5.1 of the eMMC specification. However, some have been
shortened on purpose in order to make it easier for keeping resulting
code within 80 columns.
Apparently, Linux chose to do the same and as you say, still as of today
uses e. g. EXT_CSD_CARD_TYPE and EXT_CSD_PART_CONFIG. Thus,
it seems backwards to change such macros to something Linux doesn't
use either.
Moreover, with 49 chars EXT_CSD_NUMBER_OF_FW_SECTORS_CORRECTLY_PROGRAMMED
is ridiculously long and Linux apparently doesn't have a macro for that
register at all.
Thus, overall, I'd prefer to stick to the convention of shortening macro
names where it makes sense (also for additional ones being added), and to
just add alias macros to linuxkpi when needed.
Generally, your patch also mixes the addition of new macros for mostly
SPI mode with changing existing ones, which should be separate changes,
if at all.

Jan 14 2026, 12:50 AM · Contributor Reviews (src)

Jan 8 2026

minsoochoo0122_proton.me added inline comments to D44455: coredirector - Intel TD/HFI driver - Part3: Add CPU core performance/efficiency score variable to SMP's cpu_group struct..
Jan 8 2026, 9:11 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a reviewer for D54604: mmcreg.h: update and match values to spec: marius.
Jan 8 2026, 8:24 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54604: mmcreg.h: update and match values to spec.

stick with mmc for now

Jan 8 2026, 8:15 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54604: mmcreg.h: update and match values to spec.

fix missing stuff

Jan 8 2026, 7:28 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D54604: mmcreg.h: update and match values to spec.

As this moves MMC 3.31 to eMMC 5.1, we need to discuss backward-compatibility issue.

Jan 8 2026, 7:24 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54604: mmcreg.h: update and match values to spec.

Partial build fix

Jan 8 2026, 7:23 PM · Contributor Reviews (src)
emaste added a reviewer for D54604: mmcreg.h: update and match values to spec: imp.
Jan 8 2026, 5:54 PM · Contributor Reviews (src)
emaste added a reviewer for D54604: mmcreg.h: update and match values to spec: bz.
Jan 8 2026, 5:53 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D54604: mmcreg.h: update and match values to spec.

This change could be controversial: both keeping old name and strictly following the spec's name makes sense. Even Linux doesn't strictly follow spec's field name such as PARTITION (PART) and DEVICE ('CARD`), so handling these cases in linuxkpi header is inevitable either way. I want to hear others' opinion on this.

Jan 8 2026, 5:53 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54604: mmcreg.h: update and match values to spec.

Align comment

Jan 8 2026, 5:31 PM · Contributor Reviews (src)