Re: [PATCH 13/15] kernel: convert numa_group.refcount from atomic_t to refcount_t

From
Peter Zijlstra <peterz@infradead.org>
Date
2017-07-07 09:29:54
Also in
linux-fsdevel, lkml
Reply to
Elena Reshetova, 2017-07-07
On Fri, Jul 07, 2017 at 12:04:27PM +0300, Elena Reshetova wrote:
refcount_t type and corresponding API should be
used instead of atomic_t when the variable is used as
a reference counter. This allows to avoid accidental
refcounter overflows that might lead to use-after-free
situations.

Signed-off-by: Elena Reshetova <elena.reshetova@intel.com>
Signed-off-by: Hans Liljestrand <redacted>
Signed-off-by: Kees Cook <redacted>
Signed-off-by: David Windsor <redacted>
Invalid SoB..
Subject: [PATCH 13/15] kernel: convert numa_group.refcount from atomic_t to refcount_t
quoted hunk ↗ jump to hunk
---
 kernel/sched/fair.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Invalid Subject prefix too, scheduler patches get to have "sched:"
Thread (27 messages) 27 messages, 5 authors, last reply 2017-07-07
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help