lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1466453164-13185-1-git-send-email-dave@stgolabs.net>
Date:	Mon, 20 Jun 2016 13:05:52 -0700
From:	Davidlohr Bueso <dave@...olabs.net>
To:	peterz@...radead.org, mingo@...nel.org
Cc:	davem@...emloft.net, cw00.choi@...sung.com,
	dougthompson@...ssion.com, bp@...en8.de, mchehab@....samsung.com,
	gregkh@...uxfoundation.org, pfg@....com, jikos@...nel.org,
	hans.verkuil@...co.com, awalls@...metrocast.net,
	dledford@...hat.com, sean.hefty@...el.com, kys@...rosoft.com,
	heiko.carstens@...ibm.com, James.Bottomley@...senPartnership.com,
	sumit.semwal@...aro.org, schwidefsky@...ibm.com,
	linux-kernel@...r.kernel.org, dave@...olabs.net
Subject: [PATCH -tip 00/12] locking/atomics: Add and use inc,dec calls for FETCH-OP flavors

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ