![]() ![]() Archived from the original on 11 April 2022. Archived from the original on 22 August 2018. "Greg KH: Update to Linux Kernel 4.6 for New Security Features". ^ "Linux Symposium: Write a real, working Linux driver tutorial" (PDF).^ "O'Reilly Net: Write A Real, Working Linux Driver".^ "O'reilly Net: Current State of the Linux Kernel"."Linux Symposium: Keynote by Greg Kroah-Hartman, myths, lies, and truths about Linux kernel development". ^ "O'reilly: Linux Kernel in a Nutshell".^ "O'reilly: Linux Device Drivers, Third Edition".^ a b c d e f "Linux kernel Maintainers file".^ a b "Leading Kernel Maintainer Greg Kroah-Hartman Joins The Linux Foundation".Jonathan Corbet Alessandro Rubini Greg Kroah-Hartman (2005).In April 2021, Kroah-Hartman announced the decision to ban the University of Minnesota from contributing to the Linux kernel and to revert all prior patches from the university after researchers intentionally inserted bugs in an unauthorised penetration test. He also initiated the development of openSUSE Tumbleweed, the rolling release model edition of openSUSE. In 2006, he released a CD image of material to introduce a programmer to working on Linux device driver development. Kroah-Hartman frequently helps in the documentation of the kernel and driver development through talks and tutorials. He also contributes articles to LWN.net, the Linux news site. Kroah-Hartman is a co-author of Linux Device Drivers (3rd Edition) and author of Linux Kernel in a Nutshell, and used to be a contributing editor for Linux Journal. He worked for Novell in the SUSE Labs division and, as of 1 February 2012, works at the Linux Foundation. He also created linux-hotplug, the udev project, and the Linux Driver Project. As of April 2013 he is the Linux kernel maintainer for the -stable branch, the staging subsystem, USB, driver core, debugfs, kref, kobject, and the sysfs kernel subsystems, Userspace I/O (with Hans J. Greg Kroah-Hartman ( GKH) is a major Linux kernel developer. Previous message: Randy Dunlap: "Re: linux-next: Tree for Nov 14 (drivers/cpufreq/intel_pstate.Greg Kroah-Hartman at SUSE Offices in Nuremberg, Germany, in September 2011.+bool refcount_dec_and_lock(refcount_t *r, spinlock_t *lock) This allows free() while holding the lock. + * Similar to atomic_dec_and_lock(), it will BUG on underflow and fail +bool refcount_dec_and_mutex_lock(refcount_t *r, struct mutex *lock) This allows free() while holding the mutex. + * to decrement when saturated at UINT_MAX. + * Similar to atomic_dec_and_mutex_lock(), it will BUG on underflow and fail + old = atomic_cmpxchg_release(&r->refs, val, new) +bool refcount_dec_and_test(refcount_t *r) + * Provides release memory ordering, such that prior loads and stores are done + * decrement when saturated at UINT_MAX. + * Similar to atomic_dec_and_test(), it will BUG on underflow and fail to +bool refcount_inc_not_zero(refcount_t *r) + * object memory to be stable (RCU, etc.). + * Provides no memory ordering, it is assumed the caller has guaranteed the + * Similar to atomic_inc_not_zero(), will BUG on overflow and saturate at UINT_MAX. ![]() + unsigned int old, new, val = atomic_read(&r->refs) +static inline void refcount_inc(refcount_t *r) + * reference on the object, will WARN when this is not so. + * Provides no memory ordering, it is assumed the caller already has a + * Similar to atomic_inc(), will BUG on overflow and saturate at UINT_MAX. +static inline unsigned int refcount_read(const refcount_t *r) +static inline void refcount_set(refcount_t *r, int n) Semantics such that when it overflows, we'll never attempt to free it It provides overflow and underflow checks as well as saturation Provide refcount_t, an atomic_t like primitive built just for Next in thread: Ingo Molnar: "Re: kref: Implement using refcount_t".In reply to: Kees Cook: "Re: kref: Add kref_read()".Previous message: Randy Dunlap: "Re: linux-next: Tree for Nov 14 (drivers/cpufreq/intel_pstate.c)".Next message: Paolo Bonzini: " KVM: x86: do not go through vcpu in _get_kvmclock_ns".Linux-Kernel Archive: kref: Implement using refcount_t kref: Implement using refcount_t From: Peter Zijlstra ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |