aum Posted October 18, 2021 Share Posted October 18, 2021 Navigating Linux kernel APIs can be very time-consuming, so Linux ksplice guru Vegard Nossum put together a very handy time-saving cheat sheet to help traversing Linux kernel concurrency primitives. As a child, I spent countless hours playing games on my Nintendo Game Boy. As I grew older and started programming in QBasic on MS-DOS, I also got curious about how Game Boy games worked. At that time, I didn’t yet have an Internet connection at home, but I spent a lot of time at my parents’ workplaces after school, where I had access to the Internet. I would frequently bring stacks of floppies and load them up with anything I could download — QBasic programs, shareware, and all the programming tutorials and documentation I could find. One of the things I found was the “Nintendo GameBoy Crib Sheet” by Justin “Otaku No” Lloyd. The Crib Sheet is a 4-page document, meant to be printed, that is packed with information about Game Boy assembly programming — instructions, opcodes, memory maps, IO registers, etc. At the time, I didn’t really understand a lot of it, but I marveled at it and treasured it. My dad worked at a printing business, so he had the equipment to print the Crib Sheet in A3 (roughly “Tabloid/Ledger” in US paper sizes), two-sided and in color, and laminate it. I eventually learned how to program the Game Boy, largely helped by my printed and laminated Crib Sheet. Since then, I’ve had a bit of a soft spot for cheat sheets. They’re not for everybody, and that’s fine. To me, there is something magical about seeing the essence of something distilled down to a tightly packed overview that fits in your hands. That’s why I decided to make one for Linux kernel concurrency primitives (click on the preview to download the PDF): In some places you'll see some circled, colored number references. Those refer to potential variants of a function, and the variants are usually listed just below the table of functions. This cheat sheet is necessarily incomplete -- Linux kernel APIs are too numerous and diverse to be able to include every detail. I consider the cheat sheet to be a handy reference and a good starting point for exploring the APIs. If you find any errors, the LaTeX source code is available at https://github.com/oracle/linux-blog-sample-code/tree/linux-cheat-sheet, under the same license as the Linux kernel itself. Contributions are welcome. Let us know if you find it useful! Source Link to comment Share on other sites More sharing options...
AZwaffelForAWaff Posted October 18, 2021 Share Posted October 18, 2021 I can't find the "Preview" link. Link to comment Share on other sites More sharing options...
aum Posted October 18, 2021 Author Share Posted October 18, 2021 14 minutes ago, AZwaffelForAWaff said: I can't find the "Preview" link. Please click on the image. The link: https://blogs.oracle.com/content/published/api/v1.1/assets/CONT9D4F5CDE843C46A18665923C3DE0DC81/native?cb=_cache_1666&channelToken=3189ef66cf584820b5b19e6b10792d6f Enjoy. Link to comment Share on other sites More sharing options...
mkc21 Posted October 19, 2021 Share Posted October 19, 2021 I wish I had this latex cheat sheet a couple months ago lol thanks brother Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.