|
|
Subscribe / Log in / New account

kref improvements

From:  Peter Zijlstra <peterz-AT-infradead.org>
To:  gregkh-AT-linuxfoundation.org, keescook-AT-chromium.org, will.deacon-AT-arm.com, elena.reshetova-AT-intel.com, arnd-AT-arndb.de, tglx-AT-linutronix.de, mingo-AT-kernel.org, hpa-AT-zytor.com, dave-AT-progbits.org
Subject:  [RFC][PATCH 0/7] kref improvements
Date:  Mon, 14 Nov 2016 18:39:46 +0100
Message-ID:  <20161114173946.501528675@infradead.org>
Cc:  linux-kernel-AT-vger.kernel.org

This series unfscks kref and then implements it in terms of refcount_t.

x86_64-allyesconfig compile tested and boot tested with my regular config.

refcount_t is as per the previous thread, it BUGs on over-/underflow and
saturates at UINT_MAX, such that if we ever overflow, we'll never free again.






Copyright © 2016, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds