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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 18 Dec 2013 20:08:06 +0100
From:	Peter Zijlstra <peterz@...radead.org>
To:	linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:	geert@...ux-m68k.org, paulmck@...ux.vnet.ibm.com,
	torvalds@...ux-foundation.org, VICTORK@...ibm.com, oleg@...hat.com,
	anton@...ba.org, benh@...nel.crashing.org, fweisbec@...il.com,
	mathieu.desnoyers@...ymtl.ca, michael@...erman.id.au,
	mikey@...ling.org, linux@....linux.org.uk, schwidefsky@...ibm.com,
	heiko.carstens@...ibm.com, tony.luck@...el.com,
	Peter Zijlstra <peterz@...radead.org>
Subject: [PATCH 0/4] arch: Introduce smp_load_acquire() and smp_store_release()


This should hopefully be the last posting of this series -- people felt it
needed one more mostly because last time I typoed the linux-kernel email
address.

If there are no further comments, Ingo will merge these patches in the next few
days.

---

These patches introduce 2 new barrier primitives:

  smp_load_acquire(p)
  smp_store_release(p, v)

See the first patch, which changes Documentation/memory-barriers.txt, to find
the exact definitions of what an ACQUIRE/RELEASE barrier is -- previously known
as LOCK/UNLOCK barriers.

The second patch moves the smp_mb__{before,after}_atomic_{dec,inc}() barriers
to asm/atomic.h for arc and hexagon -- they were already there for all other archs.

This cleans up asm/barrier.h, and the third patch makes more agressive use of
asm-generic/barrier.h to implement the simple cases.

Then the fourth patch adds the new primitives.

Previous versions were widely build tested -- this version is not, but it also
not significantly different.

These patches apply to:

  tip/master


---
Changes since the last version -- lkml.kernel.org/r/20131213145657.265414969@...radead.org

 - fixed linux-kernel email address
 - updated the Documentation patch

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ