Posts
4416
Following
315
Followers
470
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1

Thorsten Leemhuis (acct. 1/4)

, which allows scheduling policies to be implemented as programs, has been merged for 6.12:

https://git.kernel.org/torvalds/c/88264981f2082248e892a706b2c5004650faac54

See https://lwn.net/Articles/922405/ for a description of what it does and https://lwn.net/Articles/972710/ for the controversy it caused that is the reason why it took so long to land in mainline.

0
5
3
@linuxplumbersconf YES, these came literally after the conference.
0
0
0

Jarkko Sakkinen

"Three Mile Island, the site of worst nuclear disaster in the United States, is reopening and will exclusively sell the power to Microsoft as the company searches for energy sources to fuel its AI ambitions"

https://edition.cnn.com/2024/09/20/energy/three-mile-island-microsoft-ai/index.html

#microsoft #ai
0
1
2

Jarkko Sakkinen

I wonder if there is a typst template for label writers such as Dymo LabelWriter 450, which I own. I use gLabels ATM but do not see any point in WYSIWYG and an address label.
0
0
0

Jarkko Sakkinen

This performance regression fix is as done as it can be:

https://lore.kernel.org/linux-integrity/20240921120811.1264985-1-jarkko@kernel.org/

As soon as it gets tags I'll put out a pull request. Not having the fixes can double the boot time at least on some AMD desktop CPU's if TPM bus encryption is turned on.

Without fix: 7s -> 20s
WIth the fix: 20s -> 8.7s

So pretty reasonable number, encryption cannot be done without any overhead. Patches fixup unnecessary encryption context throttling.

Hopefully next week when the cons are over there will be some feedback.

#linux #kernel
0
1
1

Jarkko Sakkinen

Xenonauts 2 is a nice game, helps with Xcom withdrawal symptoms at least.
0
0
0

Jarkko Sakkinen

I got couple of days ago both email that my talk Linux Plumbers was both accepted and also that it was rejected 🤷 I guess there was something wrong with the mailer?

It would be nice to get infos a bit earlier and not in superposition state ;-)

@linuxplumbersconf
1
0
1
It's more like programmer friendly alternative for Octave and R than for all possible tasks. For this task it is brilliant and computational models can be embedded to C programs.
0
0
0

Jarkko Sakkinen

Julia is pretty cool language IMHO for doing workbook type of stuff like you would with Jupyter and all this "scientific Python" type of stuff. There's excellent support in the REPL cli for persistence with shared environments and projects. I think I replace bc and Python with Julia for being my main calculator app.
1
0
2
ARM64 support (with UEFI/ACPI server alike configuration) is probably next in the line.
0
0
1

Jarkko Sakkinen

Edited 9 months ago
I tagged 0.1.0 of my TPM driver test framework: https://codeberg.org/jarkko/linux-tpmdd-test/src/tag/0.1.0

Now it pretty much can take care all testing and development needs I have. From this tag forward the Git history is also declared as stable (i.e. now rewrites).

It's also not that common example of using systemd with BuildRoot ;-)
1
0
1

Jarkko Sakkinen

I ended up with:

ftrace {
	event.kprobes {
		tpm_transmit {
			filters = "common_pid < 2"
			probes = "tpm_transmit"
			hist {
				keys = stacktrace
			}
		}
	}
}
kernel {
	trace_buf_size = 1M
	trace_options = sym-addr
}

It gives me counts of stack exercised during the boot. I’d like to get latency calculation but I’m not really good at this so this can do for the time being.

The is held in /sys/kernel/debug/tracing/events/kprobes/tpm_end/hist.

0
0
0

Jarkko Sakkinen

Edited 9 months ago
I voted in the Linux Foundation TAB elections.

Since it is politics I can tell that my top three was Dan Williams, Dave Hansen and Kees Cook and for the rest I gave equal vote.
0
0
0
There is only "embed" and "initrd" paths.
0
0
0

Jarkko Sakkinen

Wondering if there is a reason for not having kernel-command line parameter for passing bootconfig. #linux #kernel
1
1
0
It has taken me about two years to be as effective as with mutt. There's tons of small bits in the email workflow that just take time to master.
0
0
0

Jarkko Sakkinen

Noticed by accident in aerc. By pressing 's' you get a vertical pane showing the message instead of having to open it by pressing enter. By pressing 'shift-s' you get a horizontal pane.

#aerc #email
1
0
1

Jarkko Sakkinen

Edited 9 months ago
This was good stuff:

https://lwn.net/Articles/990273/
0
0
0
Post-poning hwrng registeration will not help and was a false conclusion .

I attached kprobes using boot-time config and these appear when init process is already running:

start_event: (tpm_transmit+0x4/0x4b0)
end_event: (tpm_transmit_cmd+0x33/0xc0 <- tpm_transmit)
start_event: (tpm_transmit+0x4/0x4b0)
end_event: (tpm_transmit_cmd+0x33/0xc0 <- tpm_transmit)
start_event: (tpm_transmit+0x4/0x4b0)
end_event: (tpm_transmit_cmd+0x33/0xc0 <- tpm_transmit)

These emit from tpm2_get_random() invoked by hwrng.

I guess 8.9 seconds is what we satisfy for the moment :-) I put out one more version where extras have been cut and performance fixes also have fixes tags as we most likely want these also to 6.10/6.11.
0
0
0

Jarkko Sakkinen

My pro tip for Amazon: if successful meetings are so important why not just require people to show up to those F2F?

I think staff would be more motivated with that constraint than enforced in-office weeks 🤷

#amazon #remote #work
0
0
1
Show older