aboutsummaryrefslogtreecommitdiffstats
path: root/vespamalloc
Commit message (Collapse)AuthorAgeFilesLines
* Add more info on the SIGPROF signalHenning Baldersheim2023-09-144-6/+19
|
* Avoid bad alignment parameter for aligned_alloc.Tor Egge2023-07-021-6/+0
|
* Check for nullptr in the latest new/delete overloads.Henning Baldersheim2023-06-281-6/+6
|
* - Add control of M_MMAP_THRESHOLD with environment variable ↵Henning Baldersheim2023-06-233-5/+21
| | | | | | VESPA_MALLOC_MMAP_THRESHOLD. - Reduce default from 1G to 64M.
* Set CMAKE_CXX_STANDARD to 20.Tor Egge2023-06-171-1/+1
|
* Ensure that both the stack and memory provided by vespamalloc are within the ↵Henning Baldersheim2023-05-233-0/+4
| | | | allowed 57 low bits of the address.
* Verify magic at destruction.Henning Baldersheim2023-03-201-2/+8
|
* re-apply "remove fastos"Håvard Pettersen2023-03-011-0/+3
| | | | This reverts commit 003f019d7579e49f4ec7609ef8eac26ada6ae753.
* Revert "remove fastos"Harald Musum2023-02-281-3/+0
|
* remove fastosHåvard Pettersen2023-02-281-0/+3
|
* untangle vespamalloc from fastosHåvard Pettersen2023-02-236-45/+45
|
* Merge pull request #26043 from vespa-engine/balder/use-correct-implementationHenning Baldersheim2023-02-152-22/+21
|\ | | | | Balder/use correct implementation
| * Use correct implementation for x86_64Henning Baldersheim2023-02-151-1/+1
| |
| * Add noexcept and nodiscardHenning Baldersheim2023-02-152-21/+20
| |
* | Put independent function to copy memory in separate compilation unit.Henning Baldersheim2023-02-154-19/+32
|/
* [[maybe_unused]] works for all compilers now.Henning Baldersheim2023-02-141-4/+1
|
* GC cfree aliases that are long gone.Henning Baldersheim2023-02-141-10/+0
|
* Reduce the scope of the clang special branch.Henning Baldersheim2023-02-141-12/+11
|
* Avoid non-power-of-two-alignment warning.Tor Egge2023-02-011-11/+25
|
* Implement aligned_allocHenning Baldersheim2023-01-315-14/+66
|
* Remove stacksize from the thread pools and thread executors.Henning Baldersheim2022-12-203-3/+3
|
* Make vespamalloc overwrite unit test slightly less fragile.Tor Egge2022-10-231-14/+21
|
* Remove unused variables.Tor Egge2022-09-231-1/+1
|
* Remove ancient vespamalloc output parsing scriptTor Brede Vekterli2022-07-212-315/+0
| | | | Most of the symbols that the script knows about are long, long gone.
* Use clang attribute to turn off optimization when compiling with clang.Tor Egge2022-05-311-0/+5
|
* Improve error message by being explicit and avoid perror.Henning Baldersheim2022-05-231-7/+7
| | | | Use stdout for debug logging. stderr only when error.
* Just log error when giving advise.Henning Baldersheim2022-05-221-3/+4
|
* Just log error when giving advise.Henning Baldersheim2022-05-211-2/+3
|
* Add copyrightHenning Baldersheim2022-05-131-0/+2
|
* Add experimental library for loading code into huge pages.Henning Baldersheim2022-05-133-0/+141
|
* Add madvise(buf, len, MADV_HUGEPAGE) call to signal that you strongly prefer ↵Henning Baldersheim2022-05-112-0/+6
| | | | | | huge pages. This will make a difference if /sys/kernel/mm/transparent_hugepage/enabled has been set to [madvise], and not [always].
* Include algorithm header file, needed for std::for_each and std::sort.Tor Egge2022-04-232-0/+2
|
* Add missing include statements. Check for atomic wait support.Tor Egge2022-04-057-0/+9
|
* Use '= default'Henning Baldersheim2022-04-011-1/+1
|
* Log stacktrace when aborting in vespamalloc.Henning Baldersheim2022-04-0111-83/+92
|
* Handle 64k page size in vespamalloc testatomic unit test.Tor Egge2022-03-231-11/+15
|
* handle eof vs actual empty lines correctlyHåvard Pettersen2022-03-052-2/+2
|
* gc old process codeHåvard Pettersen2022-03-053-21/+8
| | | | also added read_line function to new Process code
* Merge pull request #21440 from ↵Henning Baldersheim2022-02-271-0/+9
|\ | | | | | | | | vespa-engine/toregge/remove-inlining-warnings-in-vespamalloc Remove inlining warnings (vespamalloc).
| * Remove inlining warnings (vespamalloc).Tor Egge2022-02-271-0/+9
| |
* | Use pointers to functions to hide delete from compiler.Tor Egge2022-02-272-4/+18
|/
* - Unify error handling to not check for nullptr, which can not happen.Henning Baldersheim2022-02-153-19/+16
| | | | | - Assert to ensure precondition are met. - Update length so we chcek the whole buffer.
* - Add interface to get the size of the mmapped area.Henning Baldersheim2022-02-158-69/+121
| | | | - Special handle realloc
* Remove tracking of mmapping on unmap.Henning Baldersheim2022-02-143-0/+32
|
* Use consisten casingHenning Baldersheim2022-02-142-8/+8
|
* Replace uses of templates by using an interface instead.Henning Baldersheim2022-02-1413-392/+394
| | | | | None of these uses were necessary for speed. It just complicated code generation.
* Move FreeListT out to separate file.Henning Baldersheim2022-02-1414-269/+304
|
* Consistent use of types.Henning Baldersheim2022-02-121-4/+4
|
* Use a typedef for the block index, and reduce it from 64 to 32 bit which is ↵Henning Baldersheim2022-02-112-51/+69
| | | | plenty. Currently only 19 is used.
* - Use an unordered map.Henning Baldersheim2022-02-112-6/+15
| | | | | - Add clarifying comments. - Cap mmaplimit in the range [1M, 1G].