Page MenuHomeFreeBSD

Contributor Reviews (src)Project
ActivePublic

Recent Activity

Today

koinec_yahoo.co.jp added inline comments to D44459: coredirector - Intel TD/HFI driver - Part7: Add kerneldoc's Doxyfile.
Thu, Jan 29, 11:27 AM · Contributor Reviews (src)

Yesterday

jhb added a comment to D54895: kdb(1): Introduce kdb(1).

You definitely don't want '-w' by default as it is quite dangerous, but it can be useful on a live system to be able to modify variables in the kernel, and it does mean passing O_RDWR to kvm_open().

Wed, Jan 28, 11:50 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D54895: kdb(1): Introduce kdb(1).

fix man page

Wed, Jan 28, 12:45 AM · Contributor Reviews (src)

Tue, Jan 27

ziaee added inline comments to D54895: kdb(1): Introduce kdb(1).
Tue, Jan 27, 9:33 PM · Contributor Reviews (src)
emaste added a comment to D54895: kdb(1): Introduce kdb(1).

Okay, I'll backport to our tree after Dimitry finishes his llvm import. But since it's unclear how upstream would respond as well as the progress on importing llvm 21, I think it would be better to review this now and bring -w change later.

Tue, Jan 27, 8:48 PM · Contributor Reviews (src)

Mon, Jan 26

minsoochoo0122_proton.me added a comment to D54895: kdb(1): Introduce kdb(1).

I can implement this but we missed 22.1.x branching. I'll implement this in future when we MFV llvm 23.

We can also implement it in the copy in our tree and replace it with what ends up upstream. Most important is just to have agreement with upstream on the command-line interface so that we don't introduce a breaking change later on.

Mon, Jan 26, 8:33 PM · Contributor Reviews (src)
emaste added a comment to D54895: kdb(1): Introduce kdb(1).

I can implement this but we missed 22.1.x branching. I'll implement this in future when we MFV llvm 23.

Mon, Jan 26, 8:28 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D54895: kdb(1): Introduce kdb(1).

We open it in read-only mode by default so it's a bit safer, just to avoid possibly corrupting the running system.

I don't think lldb has a way that we could do something like this on the command line, but it ought to. It would be nice to support something like ssh's -o (although -o specifically is already taken) so that we could e.g. -o kernel-rw=yes or -o aslr=no.

Mon, Jan 26, 8:17 PM · Contributor Reviews (src)
emaste added a comment to D54895: kdb(1): Introduce kdb(1).

We open it in read-only mode by default so it's a bit safer, just to avoid possibly corrupting the running system.

Mon, Jan 26, 5:22 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D54895: kdb(1): Introduce kdb(1).

-w opens /dev/mem RW; without -w attempts to write will fail.

Mon, Jan 26, 5:10 PM · Contributor Reviews (src)
emaste added a comment to D54895: kdb(1): Introduce kdb(1).

-w opens /dev/mem RW; without -w attempts to write will fail.

Mon, Jan 26, 4:52 PM · Contributor Reviews (src)
emaste updated subscribers of D54895: kdb(1): Introduce kdb(1).
Mon, Jan 26, 4:50 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a reviewer for D54895: kdb(1): Introduce kdb(1): aokblast.
Mon, Jan 26, 4:32 PM · Contributor Reviews (src)

Thu, Jan 22

emaste added a reviewer for D44455: coredirector - Intel TD/HFI driver - Part3: Add CPU core performance/efficiency score variable to SMP's cpu_group struct.: olce.
Thu, Jan 22, 9:17 PM · Contributor Reviews (src)
emaste added reviewers for D44454: coredirector - Intel TD/HFI driver - Part2: Enable thermal interrupt handler for Local APIC's.: kib, jhb.
Thu, Jan 22, 9:16 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D54830: sched_ule: mark scheduler interface functions as weak symbols.
Thu, Jan 22, 5:48 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the test plan for D54830: sched_ule: mark scheduler interface functions as weak symbols.
Thu, Jan 22, 5:43 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the test plan for D54830: sched_ule: mark scheduler interface functions as weak symbols.
Thu, Jan 22, 5:40 PM · Contributor Reviews (src)

Wed, Jan 21

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

There is also reference HFI source code from Intel available at https://github.com/intel/intel_hfi

Wed, Jan 21, 2:42 PM · Contributor Reviews (src)
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.

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

Mon, Jan 19

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.

Mon, Jan 19, 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.

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

Sun, Jan 18

minsoochoo0122_proton.me updated the summary of D54770: queue.3: splist into slist.3, stailq.3, list.3, and tailq.3.
Sun, Jan 18, 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...

Sun, Jan 18, 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.

Sun, Jan 18, 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) to queue(3): add function-based API.
Sun, Jan 18, 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.

Sun, Jan 18, 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,

Sun, Jan 18, 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.

Sun, Jan 18, 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.

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

Sat, Jan 17

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.

Sat, Jan 17, 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.

Sat, Jan 17, 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.

Sat, Jan 17, 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.

Sat, Jan 17, 10:52 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D54753: queue(3): add function-based API.
Sat, Jan 17, 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.

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

fix commit message

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

Update man page makefile

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

Fix headers

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

Fix style(9)

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

license format

Sat, Jan 17, 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)

Sat, Jan 17, 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).

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

split man pages

Sat, Jan 17, 4:13 PM · Contributor Reviews (src)
ziaee added a reviewer for D54753: queue(3): add function-based API: brooks.
Sat, Jan 17, 3:45 PM · Contributor Reviews (src)
ziaee added inline comments to D54753: queue(3): add function-based API.
Sat, Jan 17, 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

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