Commit Graph

  • 7deb3b61da Fix builds on MSVC 2016 Nathaniel Wesley Filardo 2021-10-06 14:01:44 +01:00
  • 501c14661f Remote queues hold Wild pointers Nathaniel Wesley Filardo 2021-09-28 15:47:15 +01:00
  • 94ab856ff5 NFC: remote queue domestication plumbing Nathaniel Wesley Filardo 2021-09-15 00:05:16 +01:00
  • d4c120dfe5 Free queues hold Wild pointers Nathaniel Wesley Filardo 2021-09-15 00:19:39 +01:00
  • 7750676598 NFC: FreeListIter domestication plumbing Nathaniel Wesley Filardo 2021-09-13 20:56:34 +01:00
  • a34b7a5973 Make capptr_from_client return a Wild CapPtr Nathaniel Wesley Filardo 2021-08-16 21:03:29 +01:00
  • 1a608e6066 NFC: Introduce pointer domestication backend support Nathaniel Wesley Filardo 2021-08-16 21:03:29 +01:00
  • 7e53a2e82a CapPtr: shift free lists to Alloc bounds Nathaniel Wesley Filardo 2021-09-21 19:17:51 +01:00
  • 55cd5e87c0 NFC: Add FreeObject::from_next_ptr Nathaniel Wesley Filardo 2021-09-21 12:23:10 +01:00
  • 06e333a3a9 NFC: FreeObject: shift readers to take domestication callbacks Nathaniel Wesley Filardo 2021-09-28 12:49:48 +01:00
  • e25db7b832 Move to FreeObject::T<capptr::bound<>> Nathaniel Wesley Filardo 2021-09-17 14:32:14 +01:00
  • d76f5fdd28 NFC: CapPtr: Introduce "Tame"/"Wild" split Nathaniel Wesley Filardo 2021-08-16 19:06:19 +01:00
  • ca70856dc1 CapPtr: remove a stale static assert Nathaniel Wesley Filardo 2021-08-16 20:58:11 +01:00
  • 9065893181 Overhaul CapPtr Nathaniel Wesley Filardo 2021-07-19 09:49:18 +01:00
  • b57390663e address_cast SNMALLOC_FAST_PATH Nathaniel Wesley Filardo 2021-10-13 15:29:10 +01:00
  • 3109ae9f72 NFC: Accumulated nits in comments Nathaniel Wesley Filardo 2021-09-28 15:57:03 +01:00
  • 73ebb69955 localcache: drop some useless snmalloc:: namespace qualifiers Nathaniel Wesley Filardo 2021-09-26 18:13:53 +01:00
  • 6470d62635 Fix teardown for main thread when using pthread destructors. Matthew Parkinson 2021-10-07 17:17:53 +01:00
  • bba66e4f7e Randomise slab filling (#397) Matthew Parkinson 2021-10-07 15:51:18 +01:00
  • 8ac2adc4e5 Added a sequential queue Matthew Parkinson 2021-09-29 10:01:31 +01:00
  • dbb7965507 Minor. Matthew Parkinson 2021-09-28 11:17:53 +01:00
  • 55a7ad2d58 Introduce PalEnforceAccess Matthew Parkinson 2021-09-27 13:32:46 +01:00
  • b4efc40aa6 Expose notify_using_readonly Matthew Parkinson 2021-09-23 15:56:59 +01:00
  • 0af1ee3bef Tidy TODOs from Free List Matthew Parkinson 2021-08-13 15:45:45 +01:00
  • 15e3052087 Move to AAL/PAL bits and address_bits Nathaniel Wesley Filardo 2021-07-21 16:55:25 +01:00
  • e212ddd0e0 Prepare for PAL address_bits Nathaniel Wesley Filardo 2021-07-21 16:14:03 +01:00
  • 4a4ca96125 Prepare for AAL bits / address_bits Nathaniel Wesley Filardo 2021-07-21 16:13:12 +01:00
  • 1baf675adb PALNoAlloc should delegate more to underlying PAL Nathaniel Wesley Filardo 2021-07-21 15:38:30 +01:00
  • 7f71f80cce Add compiler abstractions over fast fail. (#392) David Chisnall 2021-09-20 20:25:15 +01:00
  • 51e75bca89 Add memcpy with bounds checks. David Chisnall 2021-08-10 11:36:53 +01:00
  • d524ef5cac Extracted the core elements of the BackendAllocator into a common helper (#390) Istvan Haller 2021-09-14 11:49:32 +01:00
  • 6c5626fe5f Install test headers. David Chisnall 2021-09-06 16:28:03 +01:00
  • fd18528278 Add missing inline from header. (#388) David Chisnall 2021-09-07 08:44:47 +01:00
  • dac1ba6a6c Metaslab: SlabLink field rather than parent class Nathaniel Wesley Filardo 2021-08-29 18:57:42 +01:00
  • c70c23ad74 CMake cleanup. (#384) David Chisnall 2021-09-03 11:31:05 +01:00
  • aedb666cdd Added constness to argv in Opt (#383) Istvan Haller 2021-08-31 21:59:43 +01:00
  • 3af9d35099 Plumb LocalState ptrs through to Pagemap accessors Nathaniel Wesley Filardo 2021-08-24 16:34:30 +01:00
  • 3710e351fe Move BackendAllocator::pagemap closer to use Nathaniel Wesley Filardo 2021-08-24 14:55:00 +01:00
  • 2be44d2e6f Use backend global concept on template args Nathaniel Wesley Filardo 2021-08-23 21:26:56 +01:00
  • e530f5629a NFC: Add a concept for backend Global objects Nathaniel Wesley Filardo 2021-08-23 21:25:48 +01:00
  • bb6e706590 NFC: Add Concept for equality modulo references Nathaniel Wesley Filardo 2021-08-24 11:52:06 +01:00
  • 2e1658fc53 NFC: Make config objects expose their PoolState types Nathaniel Wesley Filardo 2021-08-23 21:24:42 +01:00
  • 3c14a7ddf1 NFC: Concepts and fixed-pointing interact poorly Nathaniel Wesley Filardo 2021-08-23 21:24:16 +01:00
  • f913f8b820 Rename [gs]et_meta_data to [gs]et_metaentry. Nathaniel Wesley Filardo 2021-08-24 14:07:57 +01:00
  • 70c3e00df7 AddressSpace: use Backend to access Pagemap Nathaniel Wesley Filardo 2021-08-20 21:19:18 +01:00
  • 7eb8769950 Fix codegen for dealloc Matthew Parkinson 2021-08-25 16:57:56 +01:00
  • 27c4a6a55e Make pagemap check for init on some gets. Matthew Parkinson 2021-08-25 16:26:12 +01:00
  • 44416ed70e Factor sizeclass meta-data for cache locality Matthew Parkinson 2021-08-25 14:49:06 +01:00
  • 0f70494d55 Enable passthrough to an underlying allocator Matthew Parkinson 2021-08-26 10:04:44 +01:00
  • b84a7afb06 Merge pull request #381 from ihaller/ihaller/msvc17 Istvan Haller 2021-08-26 14:24:38 +01:00
  • 935f3ccd29 Improved support for MSVC with C++17 Istvan Haller 2021-08-26 12:18:53 +01:00
  • b52e2a6e27 Expose pthread feature flag Matthew Parkinson 2021-08-25 11:26:44 +01:00
  • ea90f7b9c2 Don't include iostream. Matthew Parkinson 2021-08-25 11:41:09 +01:00
  • 95d33d777b Merge pull request #377 from ihaller/ihaller/generic-pool Istvan Haller 2021-08-25 15:17:16 +01:00
  • 3ceef40861 Fixed ensure_init detection Istvan Haller 2021-08-25 14:38:58 +01:00
  • e8cc3af6e5 Applied PR feedback Istvan Haller 2021-08-25 13:35:13 +01:00
  • 33a358e4fe Another attempt to fix CI Istvan Haller 2021-08-24 16:18:02 +01:00
  • b7fe8ea654 More comments and improved test Istvan Haller 2021-08-24 15:32:51 +01:00
  • df852dba6a Added test and forced initialization of backend when using custom Pool. Istvan Haller 2021-08-24 14:18:39 +01:00
  • c01a1215c6 Cleanup and made new variant work with Verona Istvan Haller 2021-08-23 21:07:51 +01:00
  • 769c61e716 Moved SharedStateHandle to Pool class instead of methods since all of them use it Istvan Haller 2021-08-23 20:08:27 +01:00
  • c89a085c90 Removed code duplication by making generoc Pool also be static Istvan Haller 2021-08-23 19:54:26 +01:00
  • 35c9422913 Comment fixes Istvan Haller 2021-08-23 19:19:58 +01:00
  • 4d2bf93b7a Deleted the ability to implicitly copy LocalAllocator Istvan Haller 2021-08-23 16:33:48 +01:00
  • 2d4a4caab7 Fix the type checker. David Chisnall 2021-08-23 11:15:11 +01:00
  • 99f57646da Re-enabled generic Pool which uses ChunkAllocator. Allocator pool renamed to AllocPool. Istvan Haller 2021-08-19 19:22:16 +01:00
  • c07f5ea7be test/func/pagemap: avoid address_t to void* cast Nathaniel Wesley Filardo 2021-07-20 11:41:32 +01:00
  • 87e41559b2 test/func/memory: use pointer_offset to compute pointer offset Nathaniel Wesley Filardo 2021-07-20 11:39:47 +01:00
  • f103f1c443 test/func/pagemap: use address_t for induction var Nathaniel Wesley Filardo 2021-07-19 11:05:05 +01:00
  • 4501c0ed81 corealloc: spurious sizeof() Nathaniel Wesley Filardo 2021-08-12 12:01:36 +01:00
  • 7a02ae949f Remove stale static_assert Nathaniel Wesley Filardo 2021-08-10 23:58:50 +01:00
  • f38a5a63d5 Make threshold for waking always a percentage Matthew Parkinson 2021-08-13 12:04:19 +01:00
  • caaa1b5de6 Merge pull request #370 from ihaller/ihaller/reverse-lookup Istvan Haller 2021-08-06 17:00:34 +01:00
  • e45354b3ed Changed error handling to assert Istvan Haller 2021-08-06 16:19:35 +01:00
  • df62abac55 Added nodiscard Istvan Haller 2021-08-06 15:08:24 +01:00
  • 22e2b5b689 Added reverse lookup to Pagemap Istvan Haller 2021-08-05 18:42:17 +01:00
  • cd70a7856b Fix fallout from the merge. David Chisnall 2021-08-05 16:09:37 +01:00
  • e302ec0fa2 Merge remote-tracking branch 'origin/master' into snmalloc2 David Chisnall 2021-08-05 15:12:25 +01:00
  • e8374479f4 Snmalloc2 API cleanups for sandbox use. (#359) David Chisnall 2021-08-05 15:08:12 +01:00
  • 2ef1eea3ba Improved the ability to extend GlobalState for custom Backend implementations Istvan Haller 2021-08-05 11:14:43 +01:00
  • 32187923b8 Clean up QEMU CI David Chisnall 2021-08-05 10:21:07 +01:00
  • 605566974c Force global pagemaps into BSS (#364) David Chisnall 2021-08-05 10:13:59 +01:00
  • aec5ac060b Add cross CI for Ubuntu powerpc64el Nathaniel Filardo 2021-08-04 18:33:51 +01:00
  • a8ccc5d473 Fix status badge and LLVM fetching for qemu builds (#362) David Chisnall 2021-08-04 15:07:33 +01:00
  • 0007a53ef9 Move CI to GitHub Actions David Chisnall 2021-08-03 17:10:56 +01:00
  • 81bf341732 XOR encoded next_object Matthew Parkinson 2021-07-26 09:56:48 +01:00
  • b69505fc5d Make address space manager use pagemap for next pointers (#356) Matthew Parkinson 2021-07-23 15:09:30 +01:00
  • 84a5fb9450 Correct REMOTE_MIN_ALIGN Nathaniel Wesley Filardo 2021-07-23 13:12:22 +01:00
  • 0cfa8f2cff Remove globalconfig.h includes. Matthew Parkinson 2021-07-22 19:13:00 +01:00
  • d6bae72b20 Improve debugging for fixed_region Matthew Parkinson 2021-07-22 09:53:47 +01:00
  • d965ab2645 Print stack traces for segfault Matthew Parkinson 2021-07-22 09:53:19 +01:00
  • 529b90b01b Default some statistics Matthew Parkinson 2021-07-22 09:51:49 +01:00
  • e1ef8665a8 Add protection to meta-data Matthew Parkinson 2021-07-21 16:21:33 +01:00
  • 6b53c29600 Fix typo. Matthew Parkinson 2021-07-21 14:52:33 +01:00
  • b5e89805c8 Merge pull request #353 from mjp41/snmalloc2 Matthew Parkinson 2021-07-21 11:14:06 +01:00
  • c1001ae7a4 Merge remote-tracking branch 'origin/master' into snmalloc2 Matthew Parkinson 2021-07-21 09:58:22 +01:00
  • 01259b0248 Make tests single test at a time for Debug. Matthew Parkinson 2021-07-19 15:47:54 +01:00
  • 0b7929327a Add errors for failing to initialise the system. Matthew Parkinson 2021-07-19 15:45:51 +01:00
  • 8a8669f957 Add randomised start to pagemap layout Matthew Parkinson 2021-07-19 11:25:42 +01:00
  • 5d0ae71423 Remove at_least Matthew Parkinson 2021-07-19 11:20:02 +01:00