1ab8bcad6SPaul E. McKenneyIt has been said that successful communication requires first identifying 2ab8bcad6SPaul E. McKenneywhat your audience knows and then building a bridge from their current 3ab8bcad6SPaul E. McKenneyknowledge to what they need to know. Unfortunately, the expected 4ab8bcad6SPaul E. McKenneyLinux-kernel memory model (LKMM) audience might be anywhere from novice 5ab8bcad6SPaul E. McKenneyto expert both in kernel hacking and in understanding LKMM. 6ab8bcad6SPaul E. McKenney 7ab8bcad6SPaul E. McKenneyThis document therefore points out a number of places to start reading, 8ab8bcad6SPaul E. McKenneydepending on what you know and what you would like to learn. Please note 9ab8bcad6SPaul E. McKenneythat the documents later in this list assume that the reader understands 10ab8bcad6SPaul E. McKenneythe material provided by documents earlier in this list. 11ab8bcad6SPaul E. McKenney 12ab8bcad6SPaul E. McKenneyo You are new to Linux-kernel concurrency: simple.txt 13ab8bcad6SPaul E. McKenney 14ebb477cbSPaul E. McKenneyo You have some background in Linux-kernel concurrency, and would 15ebb477cbSPaul E. McKenney like an overview of the types of low-level concurrency primitives 16ebb477cbSPaul E. McKenney that the Linux kernel provides: ordering.txt 17ebb477cbSPaul E. McKenney 18ebb477cbSPaul E. McKenney Here, "low level" means atomic operations to single variables. 19ebb477cbSPaul E. McKenney 20ab8bcad6SPaul E. McKenneyo You are familiar with the Linux-kernel concurrency primitives 21ab8bcad6SPaul E. McKenney that you need, and just want to get started with LKMM litmus 22ab8bcad6SPaul E. McKenney tests: litmus-tests.txt 23ab8bcad6SPaul E. McKenney 24ab8bcad6SPaul E. McKenneyo You are familiar with Linux-kernel concurrency, and would 25ab8bcad6SPaul E. McKenney like a detailed intuitive understanding of LKMM, including 26ab8bcad6SPaul E. McKenney situations involving more than two threads: recipes.txt 27ab8bcad6SPaul E. McKenney 28ebb477cbSPaul E. McKenneyo You would like a detailed understanding of what your compiler can 29ebb477cbSPaul E. McKenney and cannot do to control dependencies: control-dependencies.txt 30ebb477cbSPaul E. McKenney 31ab8bcad6SPaul E. McKenneyo You are familiar with Linux-kernel concurrency and the use of 32ab8bcad6SPaul E. McKenney LKMM, and would like a quick reference: cheatsheet.txt 33ab8bcad6SPaul E. McKenney 34ab8bcad6SPaul E. McKenneyo You are familiar with Linux-kernel concurrency and the use 35ab8bcad6SPaul E. McKenney of LKMM, and would like to learn about LKMM's requirements, 36*e8adbac0SAndrea Parri rationale, and implementation: explanation.txt and 37*e8adbac0SAndrea Parri herd-representation.txt 38ab8bcad6SPaul E. McKenney 39ab8bcad6SPaul E. McKenneyo You are interested in the publications related to LKMM, including 40ab8bcad6SPaul E. McKenney hardware manuals, academic literature, standards-committee 41ab8bcad6SPaul E. McKenney working papers, and LWN articles: references.txt 42ab8bcad6SPaul E. McKenney 43ab8bcad6SPaul E. McKenney 44ab8bcad6SPaul E. McKenney==================== 45ab8bcad6SPaul E. McKenneyDESCRIPTION OF FILES 46ab8bcad6SPaul E. McKenney==================== 47ab8bcad6SPaul E. McKenney 48ab8bcad6SPaul E. McKenneyREADME 49ab8bcad6SPaul E. McKenney This file. 50ab8bcad6SPaul E. McKenney 51520c637bSPaul E. McKenneyaccess-marking.txt 52520c637bSPaul E. McKenney Guidelines for marking intentionally concurrent accesses to 53520c637bSPaul E. McKenney shared memory. 54520c637bSPaul E. McKenney 55ab8bcad6SPaul E. McKenneycheatsheet.txt 56ab8bcad6SPaul E. McKenney Quick-reference guide to the Linux-kernel memory model. 57ab8bcad6SPaul E. McKenney 58ebb477cbSPaul E. McKenneycontrol-dependencies.txt 59ebb477cbSPaul E. McKenney Guide to preventing compiler optimizations from destroying 60ebb477cbSPaul E. McKenney your control dependencies. 61ebb477cbSPaul E. McKenney 62ab8bcad6SPaul E. McKenneyexplanation.txt 63ab8bcad6SPaul E. McKenney Detailed description of the memory model. 64ab8bcad6SPaul E. McKenney 65*e8adbac0SAndrea Parriherd-representation.txt 66*e8adbac0SAndrea Parri The (abstract) representation of the Linux-kernel concurrency 67*e8adbac0SAndrea Parri primitives in terms of events. 68*e8adbac0SAndrea Parri 69ab8bcad6SPaul E. McKenneylitmus-tests.txt 70ab8bcad6SPaul E. McKenney The format, features, capabilities, and limitations of the litmus 71ab8bcad6SPaul E. McKenney tests that LKMM can evaluate. 72ab8bcad6SPaul E. McKenney 73ebb477cbSPaul E. McKenneyordering.txt 74ebb477cbSPaul E. McKenney Overview of the Linux kernel's low-level memory-ordering 75ebb477cbSPaul E. McKenney primitives by category. 76ebb477cbSPaul E. McKenney 77ab8bcad6SPaul E. McKenneyrecipes.txt 78ab8bcad6SPaul E. McKenney Common memory-ordering patterns. 79ab8bcad6SPaul E. McKenney 80ab8bcad6SPaul E. McKenneyreferences.txt 81ab8bcad6SPaul E. McKenney Background information. 82ab8bcad6SPaul E. McKenney 83ab8bcad6SPaul E. McKenneysimple.txt 84ab8bcad6SPaul E. McKenney Starting point for someone new to Linux-kernel concurrency. 85ab8bcad6SPaul E. McKenney And also a reminder of the simpler approaches to concurrency! 86