lkml.org 
[lkml]   [2016]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH -tip 00/12] locking/atomics: Add and use inc,dec calls for FETCH-OP flavors
Date
Hi,

The series is really straightforward and based on Peter's work that
introduces[1] the atomic_fetch_$op machinery. Only patch 1 implements
the actual atomic_fetch_{inc,dec} calls based on atomic_fetch_{add,sub}.

The rest of the patches really update callers that are doing the ugly
<op> - N workaround to compute the previous state before the variable's
modification.

Applies on today's -tip.

Thanks!

[1] https://lkml.org/lkml/2016/5/31/327

Davidlohr Bueso (12):
locking/atomic: Introduce inc/dec calls for FETCH-OP flavors
net/neighbour: Employ atomic_fetch_inc()
PM,devfreq: Employ atomic_fetch_inc()
EDAC: Employ atomic_fetch_inc()
tty/serial: Employ atomic_fetch_inc()
HID,wacom: Employ atomic_fetch_inc()
drivers/media: Employ atomic_fetch_inc()
infiniband: Employ atomic_fetch_inc()
drivers/hv: Employ atomic_fetch_inc()
s390/scm_block: Employ atomic_fetch_inc()
scsi: Employ atomic_fetch_inc()
dma-buf/fence: Employ atomic_fetch_add

drivers/devfreq/devfreq-event.c | 2 +-
drivers/dma-buf/fence.c | 2 +-
drivers/edac/edac_device.c | 2 +-
drivers/edac/edac_pci.c | 2 +-
drivers/hid/wacom_sys.c | 2 +-
drivers/hv/channel.c | 3 +-
drivers/infiniband/hw/cxgb4/device.c | 3 +-
drivers/infiniband/hw/hfi1/verbs.c | 3 +-
drivers/media/pci/cobalt/cobalt-driver.c | 2 +-
drivers/media/pci/cx18/cx18-driver.c | 2 +-
drivers/media/v4l2-core/v4l2-device.c | 2 +-
drivers/s390/block/scm_blk.c | 2 +-
drivers/scsi/fcoe/fcoe_sysfs.c | 4 +-
drivers/scsi/scsi_lib.c | 6 +-
drivers/tty/serial/ioc4_serial.c | 2 +-
drivers/tty/serial/msm_serial.c | 2 +-
include/linux/atomic.h | 104 +++++++++++++++++++++++++++++++
net/core/neighbour.c | 2 +-
18 files changed, 124 insertions(+), 23 deletions(-)

--
2.6.6

\
 
 \ /
  Last update: 2016-06-21 00:41    [W:0.070 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site