Commit Graph

  • 33372cbd40 cpu instruction spin wait for arm32/64 David Carlier 2020-04-27 20:28:17 +01:00
  • 27f29e424b LQ_QUANTUM should be 4 on mips64 hardware. Brooks Davis 2020-05-01 22:08:37 +01:00
  • eda9c2858f Edata: zero stack edatas before initializing. David Goldblatt 2020-05-13 12:42:04 -07:00
  • 5dead37a9d Allow narenas:default. David Goldblatt 2020-05-13 12:20:30 -07:00
  • dcea2c0f8b Get rid of TSD -> thread event dependency Yinan Zhang 2020-04-16 11:50:29 -07:00
  • 75dae934a1 Always initialize TE counters in TSD init Yinan Zhang 2020-04-17 14:10:18 -07:00
  • b06dfb9ccc Push event handlers to constituent modules Yinan Zhang 2020-04-17 10:38:06 -07:00
  • 381c97caa4 Treat postponed prof sample event as new event Yinan Zhang 2020-04-16 13:37:19 -07:00
  • abd4674931 Extract out per event postponed wait time fetching Yinan Zhang 2020-04-16 13:33:56 -07:00
  • f72014d097 Only compute thread event threshold once per trigger Yinan Zhang 2020-03-25 09:33:52 -07:00
  • 7324c4f85f Break down event init and handler functions Yinan Zhang 2020-04-16 10:00:46 -07:00
  • 6de77799de Move thread event wait time update to local Yinan Zhang 2020-03-24 08:31:34 -07:00
  • 733ae918f0 Extract out per event new wait time fetching Yinan Zhang 2020-04-15 10:49:08 -07:00
  • 1e2524e15a Do not reset sample wait time when re-initing tdata Yinan Zhang 2020-03-23 14:58:33 -07:00
  • 855d20f6f3 Remove outdated comments in thread event Yinan Zhang 2020-03-23 14:57:20 -07:00
  • fc052ff728 Migrate counter to use locked int Yinan Zhang 2020-04-14 15:08:00 -07:00
  • b543c20a94 Minor update to locked int Yinan Zhang 2020-04-14 14:52:20 -07:00
  • f533ab6da6 Add forking handling for stats Yinan Zhang 2020-04-15 15:09:32 -07:00
  • 508303077b Add forking handling for prof idump counter Yinan Zhang 2020-04-15 14:58:58 -07:00
  • 4d970f8bfc Add forking handling for counter module Yinan Zhang 2020-04-15 14:52:01 -07:00
  • 2097e1945b Unify write callback signature Yinan Zhang 2020-04-17 14:49:20 -07:00
  • fef9abdcc0 Cleanup tcache allocation logic Yinan Zhang 2020-04-28 10:40:46 -07:00
  • e6cb6919c0 Consolidate prof inline function headers Yinan Zhang 2020-04-28 09:59:37 -07:00
  • d454af90f1 Remove unused prof_accum field from arena Yinan Zhang 2020-04-15 12:39:05 -07:00
  • 8be5584494 Initialize prof idump counter once rather than once per arena Yinan Zhang 2020-04-15 12:21:38 -07:00
  • e10e5059e8 Make prof_idump_accum() non-inline Yinan Zhang 2020-04-15 12:13:22 -07:00
  • 039bfd4e30 Do not rollback prof idump counter in arena_prof_promote() Yinan Zhang 2020-04-15 11:08:25 -07:00
  • 0295aa38a2 Deduplicate entries in witness error message Yinan Zhang 2020-04-21 13:29:07 -07:00
  • f1f8a75496 Let opt.zero propagate to core allocation. David Goldblatt 2020-04-29 09:05:57 -07:00
  • 2c09d43494 Add a benchmark of large allocations. David Goldblatt 2020-04-28 12:18:36 -07:00
  • 46471ea327 SC: Name the max lookup constant. David Goldblatt 2020-04-15 14:08:20 -07:00
  • 79dd0c04ed SC: Simplify SC_NPSIZES computation. David Goldblatt 2020-04-14 18:32:54 -07:00
  • fb6cfffd39 Configure: Get rid of LG_QUANTA. David Goldblatt 2020-04-13 11:39:49 -07:00
  • 4f8efba824 TSD: Make rtree_ctx a slow-path field. David Goldblatt 2020-04-10 15:02:38 -07:00
  • cd29ebefd0 Tcache: treat small and large cache bins uniformly David Goldblatt 2020-04-07 20:04:46 -07:00
  • a13fbad374 Tcache: split up fast and slow path data. David Goldblatt 2020-04-07 17:48:35 -07:00
  • 7099c66205 Arena: fill in terms of cache_bins. David Goldblatt 2020-04-07 17:49:50 -07:00
  • 40e7aed59e TSD: Move in some of the tcache fields. David Goldblatt 2020-04-07 16:59:57 -07:00
  • 58a00df238 TSD: Put all fast-path data together. David Goldblatt 2020-04-07 16:28:43 -07:00
  • 3589571bfd SC: use SC_LG_NGROUP instead of its value. David Goldblatt 2020-04-10 16:09:02 -07:00
  • 877af247a8 QL, QR: Add documentation. David Goldblatt 2020-04-10 11:38:33 -07:00
  • 79ae7f9211 Rtree: Remove the per-field accessors. David Goldblatt 2020-03-19 17:58:44 -07:00
  • 26e9a3103d PA: Simple decay test. David Goldblatt 2020-03-18 12:04:02 -07:00
  • bb6a418523 Emap: Drop szind/slab splitting parameters. David Goldblatt 2020-03-16 11:31:38 -07:00
  • 50289750b3 Extent: Remove szind/slab knowledge. David Goldblatt 2020-03-15 18:55:43 -07:00
  • dc26b30094 Rtree: Clean up compact/non-compact split. David Goldblatt 2020-03-15 15:49:42 -07:00
  • 93b99dd140 Extent: Stop passing an edata_cache everywhere. David Goldblatt 2020-03-15 09:53:09 -07:00
  • a4759a1911 Ehooks: avoid touching arena_emap_global in tests. David Goldblatt 2020-03-15 09:14:29 -07:00
  • 11c47cb133 Extent: Take "bool zero" over "bool *zero". David Goldblatt 2020-03-14 18:19:19 -07:00
  • 1a1124462e PA: Take zero as a bool rather than as a bool *. David Goldblatt 2020-03-14 18:10:29 -07:00
  • 294b276fc7 PA: Parameterize emap. Move emap_global to arena. David Goldblatt 2020-03-14 10:49:34 -07:00
  • f730577277 Eset: Parameterize last globals accesses. David Goldblatt 2020-03-14 10:05:12 -07:00
  • 7bb6e2dc0d Eset: take opt_lg_max_active_fit as a parameter. David Goldblatt 2020-03-14 09:46:09 -07:00
  • 883ab327cc Emap: Move out last edata state touching. David Goldblatt 2020-03-13 19:33:30 -07:00
  • 0c96a2f03b Emap: Move out remaining edata modifications. David Goldblatt 2020-03-13 18:45:54 -07:00
  • dfef0df71a Emap: Move edata modification out of emap_remap. David Goldblatt 2020-03-13 18:34:46 -07:00
  • 12eb888e54 Edata: Add a ranged bit. David Goldblatt 2020-03-13 12:38:28 -07:00
  • bd4fdf295e Rtree: Pull leaf contents into their own struct. David Goldblatt 2020-03-13 11:47:51 -07:00
  • faec7219b2 PA: Move in decay initialization. David Goldblatt 2020-03-12 16:06:40 -07:00
  • 45671e4a27 PA: Move in retain growth limit setting. David Goldblatt 2020-03-12 15:51:13 -07:00
  • daefde88fe PA: Move in mutex stats reading. David Goldblatt 2020-03-12 15:26:50 -07:00
  • 07675840a5 PA: Move in some more internals accesses. David Goldblatt 2020-03-12 11:21:22 -07:00
  • 238f3c7430 PA: Move in full stats merging. David Goldblatt 2020-03-12 10:28:18 -07:00
  • 81c6027592 Arena stats: Give it its own "mapped". David Goldblatt 2020-03-12 09:36:25 -07:00
  • 506d907e40 PA: Move in basic stats merging. David Goldblatt 2020-03-12 09:28:13 -07:00
  • f29f6090f5 PA: Add pa_extra.c and put PA forking there. David Goldblatt 2020-03-12 09:20:37 -07:00
  • 8164fad404 Stats: Fix edata_cache size merging. David Goldblatt 2020-03-12 08:46:43 -07:00
  • 565045ef71 Arena: Make more derived stats non-atomic/locked. David Goldblatt 2020-03-12 08:34:47 -07:00
  • d0c43217b5 Arena stats: Move retained to PA, use plain ints. David Goldblatt 2020-03-11 19:24:05 -07:00
  • e2cf3fb1a3 PA: Move in all modifications of mapped. David Goldblatt 2020-03-11 18:49:15 -07:00
  • 436789ad96 PA: Make mapped stat atomic. David Goldblatt 2020-03-11 18:37:15 -07:00
  • 3c28aa6f17 PA: Move edata_avail stat in, make it non-atomic. David Goldblatt 2020-03-11 18:14:53 -07:00
  • f6bfa3dcca Move extent stats to the PA module. David Goldblatt 2020-03-11 17:59:06 -07:00
  • 527dd4cdb8 PA: Move in nactive counter. David Goldblatt 2020-03-11 17:40:17 -07:00
  • c075fd0bcb PA: Minor cleanups and comment fixes. David Goldblatt 2020-03-11 16:13:36 -07:00
  • 46a9d7fc0b PA: Move in rest of purging. David Goldblatt 2020-03-11 15:42:29 -07:00
  • 2d6eec7b5c PA: Move in decay-all pathway. David Goldblatt 2020-03-11 14:56:05 -07:00
  • 65698b7f2e PA: Remove public visibility of some internals. David Goldblatt 2020-03-11 14:13:01 -07:00
  • f012c43be0 PA: Move in decay_to_limit David Goldblatt 2020-03-11 13:29:44 -07:00
  • 103f5feda5 Move bg thread activity check out of purging core. David Goldblatt 2020-03-11 13:12:12 -07:00
  • 3034f4a508 PA: Move in decay_stashed. David Goldblatt 2020-03-11 12:23:09 -07:00
  • aef28b2f8f PA: Move in stash_decayed. David Goldblatt 2020-03-11 12:00:45 -07:00
  • 655a096343 Move bg inactivity check out of purge inner loop. David Goldblatt 2020-03-11 08:14:25 -07:00
  • 71fc0dc968 PA: Move in remaining page allocation functions. David Goldblatt 2020-03-11 11:36:38 -07:00
  • 74958567a4 PA: have expand take sizes instead of new usize. David Goldblatt 2020-03-10 17:27:31 -07:00
  • 5bcc2c2ab9 PA: Have expand take szind and slab. David Goldblatt 2020-03-10 17:21:04 -07:00
  • 0880c2ab97 PA: Have large expands use it. David Goldblatt 2020-03-10 14:38:55 -07:00
  • 7be3dea82c PA: Have slab allocations use it. David Goldblatt 2020-03-10 13:58:57 -07:00
  • 9f93625c14 PA: Move in arena large allocation functionality. David Goldblatt 2020-03-10 12:29:12 -07:00
  • 7624043a41 PA: Add ehook-getting support. David Goldblatt 2020-03-10 12:04:16 -07:00
  • eba35e2e48 Remove extent knowledge of arena. David Goldblatt 2020-03-10 10:37:46 -07:00
  • e77f47a85a Move arena decay getters to PA. David Goldblatt 2020-03-10 11:04:02 -07:00
  • 48a2cd6d79 Decay: Add a (mostly stub) test case. David Goldblatt 2020-03-10 10:19:38 -07:00
  • f77cec311e Decay: Take current time as an argument. David Goldblatt 2020-03-10 08:52:58 -07:00
  • bf55e58e63 Rename test/unit/decay -> test/unit/arena_decay. David Goldblatt 2020-03-10 08:46:47 -07:00
  • d1d7e1076b Decay: move in some background_thread accesses. David Goldblatt 2020-03-09 19:16:34 -07:00
  • cdb916ed3f Decay: Add comments for the public API. David Goldblatt 2020-03-09 18:37:23 -07:00
  • 8f2193dc8d Decay: Move in arena decay functions. David Goldblatt 2020-03-09 14:44:11 -07:00
  • 4d090d23f1 Decay: Introduce a stub .c file. David Goldblatt 2020-03-09 14:52:25 -07:00
  • 7b62885476 Introduce decay module and put decay objects in PA David Goldblatt 2020-03-09 13:11:35 -07:00