|
Message-Id: <20170203132558.474916683@infradead.org> Date: Fri, 03 Feb 2017 14:25:58 +0100 From: Peter Zijlstra <peterz@...radead.org> To: elena.reshetova@...el.com, gregkh@...uxfoundation.org, keescook@...omium.org, arnd@...db.de, tglx@...utronix.de, mingo@...nel.org, h.peter.anvin@...el.com, will.deacon@....com, dwindsor@...il.com, dhowells@...hat.com, peterz@...radead.org Cc: linux-kernel@...r.kernel.org, kernel-hardening@...ts.openwall.com Subject: [PATCH 0/5] refcount_t and various related bits Hi all, Here is the refcount_t patch and some related bits that I hacked up the past few days while playing with it in order to make it generate less aweful code (on x86_64). I think we can start by merging the refcount_t and kref patches, the rest can come later if so desired. New here is the Kconfig knob to turn warnings off -- it significantly reduces the generated code while still avoiding the UAF. I added David Howells because both he and hpa have suggested something like try_cmpxchg() in the past.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.