some tips for the linux kernel/modules for kernel

From: jon usenet
Date: Sun Jun 23 2024 - 03:09:40 EST


1. global data structures and functions (access the structures
throughout the kernel)
2. you can define a conditional with multiple statements that can be
reiterated with functions (ie *p = _malloc() ? rSIZE(ret) >
kern->page->size : rBLOCK(ret2) < counter++ <= kern->sys->etc.blah();
3. one big global structure with all the sys structures
4. loops that call functions and execute data based on a global
structure (see 2)

this is great for module programming btw

have fun, also amd threadripper people, try make -j1000 (seriously, my
i7 compiles the freebsd operating system in 2 minutes with make -j100