commit | 5bfa3ee8b37ef162154559575193018a6235acba | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Thu Jun 20 10:33:28 2013 -0700 |
committer | Greg Hackmann <ghackmann@google.com> | Thu Jun 20 14:41:58 2013 -0700 |
tree | 514c4627bef05bd6864fe4d95ba08a9402c40325 | |
parent | cb4fd62762c23ba3b8d02a6f5329d2fd62b57db8 [diff] |
bionic: add missing memory barriers to system properties 1) Reading the value must finish before checking whether it's intact 2) Setting the serial's dirty bit must visible before modifying the value 3) The modified value must be visible before clearing the serial's dirty bit 4) New properties and their TOC entries must be visible before updating the property count Change-Id: I26c680ec025fdb72362d5f618ec0d2b93d381233 Signed-off-by: Greg Hackmann <ghackmann@google.com>