
Reserve 1 GB Huge Pages at Boot With hugepagesz and hugepages
Reserve 1 GiB huge pages at boot on Linux with the hugepagesz=1G and hugepages= kernel parameters, check the pdpe1gb flag, and verify the pool in /proc/meminfo.
Tag
255 posts

Reserve 1 GiB huge pages at boot on Linux with the hugepagesz=1G and hugepages= kernel parameters, check the pdpe1gb flag, and verify the pool in /proc/meminfo.

The AAPCS rules for 32-bit ARM and Cortex-M: argument and result registers, what a callee must preserve, 64-bit pairs, stack alignment and hard-float.

Use per-board .overlay and .conf files in a boards folder so one Zephyr application builds for several boards, with the naming rules for Zephyr 4.2.

Write a VHDL counter with an entity, an architecture and a clocked process using numeric_std, then simulate it with GHDL and read the printed result.

cgroups v2 replaces v1's many hierarchies with one unified tree and different file names. What changed, how to detect which one you run, and how to migrate.

Record a program's system calls with strace, turn the list into a libseccomp allowlist, and test it with a logging default before you switch to kill.

Safe Rust has no undefined behavior, but unsafe blocks can. See what counts as UB in unsafe Rust and how the Miri interpreter reports each kind.

Bridge sync and async Rust with a Tokio Runtime and Handle::block_on, and avoid the nested-runtime panic from calling block_on inside a task.

Write a pkg-config .pc file so users get the right include paths and link flags for your library with one command, and install it where pkg-config will find it.

Use strace 6.8 on Linux to list every file a program opens, find its real config path from the ENOENT search order, and spot unexpected reads and writes.

Pin a process and its memory to one NUMA node with numactl --cpunodebind and --membind, compare it with --interleave and --preferred, and verify placement.

Pin Zephyr and its modules with a west.yml manifest so every build of your application uses the same revisions. Covers import, allowlists and updates.