[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CANQ3q19acqJ5BpseEukYgSHiKiSx42974rHnU3wKJWr3_EV7_w@mail.gmail.com>
Date: Sun, 23 Jun 2024 00:09:21 -0700
From: jon usenet <usenetjon@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Subject: some tips for the linux kernel/modules for kernel
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
Powered by blists - more mailing lists