I've implemented an xor chain double linked list. Using this code, you can maintain a double linked list using only 8 bytes of node overhead (x64). Using LIST_ENTRY requires 16 bytes of node overhead. Please feel free to use, comment, or modify. This is my first pass. I've tested it and it seems to be solid.
It looks like you're new here. If you want to get involved, click one of these buttons!
|Upcoming OSR Seminars|
|Developing Minifilters||29 July 2019||OSR Seminar Space|
|Writing WDF Drivers||23 Sept 2019||OSR Seminar Space|
|Kernel Debugging||21 Oct 2019||OSR Seminar Space|
|Internals & Software Drivers||18 Nov 2019||Dulles, VA|