Today
Yesterday
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().
fix man page
Tue, Jan 27
Mon, Jan 26
I can implement this but we missed 22.1.x branching. I'll implement this in future when we MFV llvm 23.
We open it in read-only mode by default so it's a bit safer, just to avoid possibly corrupting the running system.
-w opens /dev/mem RW; without -w attempts to write will fail.
Thu, Jan 22
Wed, Jan 21
There is also reference HFI source code from Intel available at https://github.com/intel/intel_hfi
Mon, Jan 19
@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.
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.
Sun, Jan 18
man page update, added foreach, etc...
Thank you for your suggestion.
I understood that the driver name "coredirector" is vague.
Sat, Jan 17
asserts I wrote were... nonsense. We should let users declare their own asserts instead.
@imp separated commits. I'll keep the 3-clause license and ask the foundation on Monday.
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.
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.
fix commit message
Update man page makefile
Fix headers
Fix style(9)
license format
use spdx identifier (keep original BSD 3-clause license)
@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).
split man pages
Split commits into individual files
