Commit Graph

9241 Commits

Author SHA1 Message Date
Elliott Hughes
4832a0961d DO NOT MERGE Fix lmp-preview-dev after bionic merge.
Other projects in lmp-preview-dev are out of date, and it's easier to patch
bionic than to fix all of them.

(cherry picked from commit a856c6f543)

Change-Id: Id8fbdf35eb55150579f85b7bdddb5d68d3012218
2014-06-02 15:27:21 -07:00
Christopher Ferris
81b2040683 Merge remote-tracking branch 'goog/master' into merge 2014-06-02 15:27:02 -07:00
Elliott Hughes
87f0392320 am 016074f6: am 987bd5c6: am 2deef73f: Merge "Avoid a system call in \'gettid\'."
* commit '016074f6beec46fa2140e2cabd11ade488776402':
  Avoid a system call in 'gettid'.
2014-06-02 17:55:53 +00:00
Elliott Hughes
016074f6be am 987bd5c6: am 2deef73f: Merge "Avoid a system call in \'gettid\'."
* commit '987bd5c64f1381185f27afb60ec46be5e9eaba36':
  Avoid a system call in 'gettid'.
2014-06-02 17:52:28 +00:00
Elliott Hughes
987bd5c64f am 2deef73f: Merge "Avoid a system call in \'gettid\'."
* commit '2deef73fe1e9dbf57b683a15fd1e0c2922e6ecc0':
  Avoid a system call in 'gettid'.
2014-06-02 17:48:53 +00:00
Elliott Hughes
2deef73fe1 Merge "Avoid a system call in 'gettid'." 2014-06-02 17:43:27 +00:00
Elliott Hughes
5d9a7ba0dc Avoid a system call in 'gettid'.
System calls can be pretty slow. This is mako, which has one of our
lowest latencies:

                       iterations      ns/op
  BM_unistd_getpid       10000000        209
  BM_unistd_gettid      200000000          8

Bug: 15297299 (kernel panic from too many gettid calls)
Bug: 15315766 (excessive gettid overhead in liblogd)
Change-Id: I49656c0fc5b5d092390264a59e4f2c0d8a8b1aeb
2014-06-02 10:32:55 -07:00
Dmitriy Ivanov
bbecdcad08 am 109e3b16: am 5f29c328: am 831405b7: Merge "Make atexit.dlclose work for glibc"
* commit '109e3b16137d17d68e2b1a02ce1df054d13c283a':
  Make atexit.dlclose work for glibc
2014-05-31 01:35:30 +00:00
Dmitriy Ivanov
109e3b1613 am 5f29c328: am 831405b7: Merge "Make atexit.dlclose work for glibc"
* commit '5f29c32844d8997d65a4ac8e8d9efa7903d6f83a':
  Make atexit.dlclose work for glibc
2014-05-31 01:33:06 +00:00
Dmitriy Ivanov
5f29c32844 am 831405b7: Merge "Make atexit.dlclose work for glibc"
* commit '831405b749d15a11fb947a40d61fd858e952d860':
  Make atexit.dlclose work for glibc
2014-05-31 01:31:26 +00:00
Dmitriy Ivanov
831405b749 Merge "Make atexit.dlclose work for glibc" 2014-05-31 01:28:33 +00:00
Dmitriy Ivanov
214e64135e Make atexit.dlclose work for glibc
* build libtest_atexit.so
 * remove atexit(NULL) - glibc segfaults on it

Bug: 15350494
Change-Id: I27d79130c32c5691b0e8790a57d92f9710f5bf4a
2014-05-30 18:16:09 -07:00
Christopher Ferris
9a545ee6d9 am a59d22ef: am bd1ec44c: am 66b5e6b6: Merge "Do not run dlclose test on glibc."
* commit 'a59d22efce6f1a2003d8c54be72853e18f6315a0':
  Do not run dlclose test on glibc.
2014-05-31 00:50:18 +00:00
Christopher Ferris
a59d22efce am bd1ec44c: am 66b5e6b6: Merge "Do not run dlclose test on glibc."
* commit 'bd1ec44cc5ef01c125fe2b61871927561a43b444':
  Do not run dlclose test on glibc.
2014-05-31 00:46:00 +00:00
Christopher Ferris
bd1ec44cc5 am 66b5e6b6: Merge "Do not run dlclose test on glibc."
* commit '66b5e6b609f16062262b777905bdd2305a941596':
  Do not run dlclose test on glibc.
2014-05-31 00:43:52 +00:00
Christopher Ferris
66b5e6b609 Merge "Do not run dlclose test on glibc." 2014-05-31 00:41:37 +00:00
Elliott Hughes
468c292262 am df2e70f3: am d3f2a204: am 7a5732bd: Merge "Add some missing __noreturn attributes."
* commit 'df2e70f39036cab8bcbf8c238f39b21f83b32d8d':
  Add some missing __noreturn attributes.
2014-05-30 23:07:32 +00:00
Elliott Hughes
df2e70f390 am d3f2a204: am 7a5732bd: Merge "Add some missing __noreturn attributes."
* commit 'd3f2a204b7faa52b086c85736aa2449d8a83c547':
  Add some missing __noreturn attributes.
2014-05-30 23:05:08 +00:00
Elliott Hughes
d3f2a204b7 am 7a5732bd: Merge "Add some missing __noreturn attributes."
* commit '7a5732bd83c64489b9bd953f49fb6ad3b420126c':
  Add some missing __noreturn attributes.
2014-05-30 23:01:01 +00:00
Elliott Hughes
7a5732bd83 Merge "Add some missing __noreturn attributes." 2014-05-30 22:58:42 +00:00
Elliott Hughes
6203e7b853 Add some missing __noreturn attributes.
This is more honest, and lets us remove a hack.

Change-Id: I309f064743ded5248573ccafc379f78d417db08d
2014-05-30 15:56:25 -07:00
Elliott Hughes
4a7cae7a45 am 8db7b4b5: am f306c414: am 3a3b27e0: Merge "x86: stop unwinding past __bionic_clone."
* commit '8db7b4b54ca28f6c80115c43a83323f562d275b7':
  x86: stop unwinding past __bionic_clone.
2014-05-30 21:50:51 +00:00
Elliott Hughes
8db7b4b54c am f306c414: am 3a3b27e0: Merge "x86: stop unwinding past __bionic_clone."
* commit 'f306c414eb22cf5e80f61f1b26ceafbb3296c651':
  x86: stop unwinding past __bionic_clone.
2014-05-30 21:47:24 +00:00
Elliott Hughes
f306c414eb am 3a3b27e0: Merge "x86: stop unwinding past __bionic_clone."
* commit '3a3b27e04df395b789b92af3d0ed05d2a0f3bf04':
  x86: stop unwinding past __bionic_clone.
2014-05-30 21:43:47 +00:00
Elliott Hughes
3a3b27e04d Merge "x86: stop unwinding past __bionic_clone." 2014-05-30 21:40:28 +00:00
Christopher Ferris
39036f655a Do not run dlclose test on glibc.
The support library for this test is not built for host by default.
Even if the support library is built, the test segfaults on glibc.

Change-Id: I9cb7a364c59b55d4bf5d8634293037cd9bae020b
2014-05-30 11:23:21 -07:00
Elliott Hughes
ee9d5bdd95 x86: stop unwinding past __bionic_clone.
The apparent "previous" frame is on another thread's stack.

Bug: 14270816
Bug: 15195760
Change-Id: I884f370e116203c5fa3b05a75fb8f356537261c4
2014-05-30 11:15:32 -07:00
Elliott Hughes
2759e6033d am a856c6f5: (-s ours) DO NOT MERGE Fix lmp-preview-dev after bionic merge.
* commit 'a856c6f543c71f6778cdb9b39f6049ae8b2c4e53':
  DO NOT MERGE Fix lmp-preview-dev after bionic merge.
2014-05-30 11:24:05 +00:00
Elliott Hughes
0e4aa8db3f am 79e7c0a9: Merge remote-tracking branch \'goog/master\' into merge-from-master
* commit '79e7c0a98e0ffd5af09dac4d6ab7a7449b93b472':
2014-05-30 04:05:29 +00:00
Elliott Hughes
a856c6f543 DO NOT MERGE Fix lmp-preview-dev after bionic merge.
Other projects in lmp-preview-dev are out of date, and it's easier to patch
bionic than to fix all of them.

Change-Id: Id55c3da7259ba0bb5e62462d5eca721d3716c07f
2014-05-29 21:03:15 -07:00
Christopher Ferris
62e2ff00e4 am bb385e6f: am 69371ef1: am 1672b056: Merge "Fix unwinding_through_signal_frame test."
* commit 'bb385e6f90d7f32735626117923b37e6d29bc21d':
  Fix unwinding_through_signal_frame test.
2014-05-30 04:02:56 +00:00
Christopher Ferris
bb385e6f90 am 69371ef1: am 1672b056: Merge "Fix unwinding_through_signal_frame test."
* commit '69371ef1cc43c471cc4ff35435042a58720edda5':
  Fix unwinding_through_signal_frame test.
2014-05-30 03:59:22 +00:00
Christopher Ferris
69371ef1cc am 1672b056: Merge "Fix unwinding_through_signal_frame test."
* commit '1672b0563693eaaf92db4f304308d456a6102e64':
  Fix unwinding_through_signal_frame test.
2014-05-30 03:55:51 +00:00
Christopher Ferris
1672b05636 Merge "Fix unwinding_through_signal_frame test." 2014-05-30 03:53:00 +00:00
Christopher Ferris
d178c83d45 Fix unwinding_through_signal_frame test.
I accidentally removed the compilcation of the test implementation file
with special flags needed for the test to work. This change creates the
impl as a library with those flags back.

Bug: 14819262
Change-Id: Ib84fd26a7f4d40a0267d3ed686185b0abc5a3706
2014-05-29 20:00:12 -07:00
Christopher Ferris
2779dc7373 am 1a3a9d4d: am e4068e33: am 94170742: Merge "Fix x86 cfi directives for syscalls."
* commit '1a3a9d4d99557021a77d2d903775adabb24560f4':
  Fix x86 cfi directives for syscalls.
2014-05-30 02:29:08 +00:00
Christopher Ferris
1a3a9d4d99 am e4068e33: am 94170742: Merge "Fix x86 cfi directives for syscalls."
* commit 'e4068e3399d6d572d2f9bd7f925f080a74122d60':
  Fix x86 cfi directives for syscalls.
2014-05-30 02:26:17 +00:00
Christopher Ferris
e4068e3399 am 94170742: Merge "Fix x86 cfi directives for syscalls."
* commit '941707429d8577e90580277c51ad8a354f664586':
  Fix x86 cfi directives for syscalls.
2014-05-30 02:22:34 +00:00
Christopher Ferris
941707429d Merge "Fix x86 cfi directives for syscalls." 2014-05-30 02:20:27 +00:00
Christopher Ferris
15b91e92a0 Fix x86 cfi directives for syscalls.
The syscall generation always used 4 bytes for each push cfi directive.
However, the first push should always use an offset of 8 bytes, each
subsequent push after that is only 4 bytes though.

Change-Id: Ibaabd107f399ef67010b9a08213783957c2f74a9
2014-05-29 19:04:36 -07:00
Elliott Hughes
79e7c0a98e Merge remote-tracking branch 'goog/master' into merge-from-master 2014-05-29 18:16:37 -07:00
Elliott Hughes
768fa1f636 am 2f97e423: am e1df1eb2: am 264d1b83: Merge "Remove issetugid."
* commit '2f97e423274793c1b47a5be2479f767fd26bbc54':
  Remove issetugid.
2014-05-30 00:17:37 +00:00
Elliott Hughes
2f97e42327 am e1df1eb2: am 264d1b83: Merge "Remove issetugid."
* commit 'e1df1eb2c451b541094550dfdbd550bc417ea398':
  Remove issetugid.
2014-05-30 00:14:21 +00:00
Elliott Hughes
e1df1eb2c4 am 264d1b83: Merge "Remove issetugid."
* commit '264d1b832510b746c1d45b5efaa33c164d6f8b2b':
  Remove issetugid.
2014-05-30 00:10:42 +00:00
Elliott Hughes
264d1b8325 Merge "Remove issetugid." 2014-05-30 00:07:52 +00:00
Christopher Ferris
c86e40f7d5 am 017cec03: am d8532678: am 5800aab3: Merge "Fix wmemmove test."
* commit '017cec033a20c97f3118df0432cec7fd3bf73865':
  Fix wmemmove test.
2014-05-29 23:50:09 +00:00
Christopher Ferris
017cec033a am d8532678: am 5800aab3: Merge "Fix wmemmove test."
* commit 'd853267899d6c2fb1eed428285c66b5c77a7c55f':
  Fix wmemmove test.
2014-05-29 23:46:50 +00:00
Ben Cheng
4cb7690aa1 am 772d1d27: am a5b0a62d: am fd9f07a2: Merge "Workaround the GCC "(long)fn -> lfn" optimization bug."
* commit '772d1d27853ad92a8e9e7c9d200689da37e68bf3':
  Workaround the GCC "(long)fn -> lfn" optimization bug.
2014-05-29 23:45:31 +00:00
Christopher Ferris
d853267899 am 5800aab3: Merge "Fix wmemmove test."
* commit '5800aab347a3764f5edb3db0da83b7400ed8426e':
  Fix wmemmove test.
2014-05-29 23:43:06 +00:00
Elliott Hughes
b4e099c6f7 Remove issetugid.
Bug: 14569474
Change-Id: I752c77ed53c724f144f0b618443eb95e87f2929a
2014-05-29 16:43:01 -07:00