]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
documentation: Record limitations of bitfields and small variables
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 5 Sep 2014 00:12:49 +0000 (17:12 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 7 Jan 2015 16:57:09 +0000 (08:57 -0800)
commit432fbf3c6a856726f21011edfd53311bf373dba9
tree1e623c89181a2b075e1dd0b0ae29c8dc9d42697d
parent84596ccbf102644c846e050caf4714447f083206
documentation: Record limitations of bitfields and small variables

This commit documents the fact that it is not safe to use bitfields
as shared variables in synchronization algorithms.  It also documents
that CPUs must be able to concurrently load from and store to adjacent
one-byte and two-byte variables, which is in fact required by the
C11 standard (Section 3.14).

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Documentation/memory-barriers.txt