OSDN Git Service

bionic: revert to a single (larger) property area
authorGreg Hackmann <ghackmann@google.com>
Wed, 19 Jun 2013 20:31:21 +0000 (13:31 -0700)
committerGreg Hackmann <ghackmann@google.com>
Tue, 25 Jun 2013 20:34:32 +0000 (13:34 -0700)
commitbe30c7a78a1cf4adc8ec9bbdf17e85186fdb05b2
treee4606a51f2c48d8b06079995309456beb96e7770
parentd5276422ca9f1f4d45e91c189a1655521e91962d
bionic: revert to a single (larger) property area

d329697 is too complicated.  Change the multiple property pages back to
a single 128K property area that's mapped in entirely at initialization
(the memory will not get allocated until the pages are touched).

d329697 has other changes useful for testing (moving property area
initialization inside bionic and adding __system_property_set_filename)
so undo the change manually rather than with git revert.

Change-Id: Icd137669a4f8bc248e9dd2c1e8cc54e9193c9a6d
Signed-off-by: Greg Hackmann <ghackmann@google.com>
libc/bionic/system_properties.c
libc/include/sys/_system_properties.h
tests/property_benchmark.cpp
tests/system_properties_test.cpp