Created attachment 209981 [details] Read/write locks with i386 instruction set. I try to change clean linux read/write lock implementation. I can't go thru all obstacles on a way to test kernel. I write draft of several kernel source files. Let answer me the better way to write patches. The attached file is not a patch but self describing source.