index
:
librseq/librseq.git
master
pseudo-code
rseq-percpu-alloc
Restartable Sequences Library
RSeq Group
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
Age
Commit message (
Expand
)
Author
Files
Lines
2024-04-12
Revert "mempool: Track allocated items per range"
HEAD
master
Mathieu Desnoyers
1
-12
/
+1
2024-04-12
mempool: malloc: handle empty range list
Mathieu Desnoyers
1
-12
/
+18
2024-04-12
mempool: use list.h API
Mathieu Desnoyers
5
-23
/
+27
2024-04-12
mempool: Track allocated items per range
Mathieu Desnoyers
1
-1
/
+12
2024-03-22
mempool: default to per-cpu mempool type
Mathieu Desnoyers
2
-5
/
+5
2024-03-20
mempool: Rename pool policy
Mathieu Desnoyers
4
-68
/
+101
2024-03-19
Add Olivier Dion to list of mempool authors
Mathieu Desnoyers
2
-0
/
+2
2024-03-19
mempool: Introduce COW_ZERO poison value
Mathieu Desnoyers
1
-3
/
+8
2024-03-19
mempool: Document destroy after fork for populate none
Mathieu Desnoyers
1
-1
/
+3
2024-03-19
mempool: Tests mempool destroy in child process
Mathieu Desnoyers
1
-0
/
+42
2024-03-19
mempool: Allow mempool destroy in children processes
Mathieu Desnoyers
1
-19
/
+83
2024-03-19
tests/mempool: Allocate pool in child for robust tests
Olivier Dion
1
-30
/
+56
2024-03-19
mempool: Fix error pool->range
Mathieu Desnoyers
1
-1
/
+1
2024-03-19
mempool: Protect whole range of populate none across fork
Mathieu Desnoyers
2
-7
/
+9
2024-03-19
mempool: Fix memfd leaks on error
Mathieu Desnoyers
1
-2
/
+7
2024-03-19
mempool: Use MADV_DONTFORK on init values
Mathieu Desnoyers
1
-0
/
+6
2024-03-19
mempool: Add custom name to memfd_create
Olivier Dion
1
-3
/
+12
2024-03-19
mempool: Create memfd only for range creation
Mathieu Desnoyers
1
-104
/
+27
2024-03-18
mempool: Rename DEFAULT_POISON_VALUE to DEFAULT_PRIVATE_POISON_VALUE
Mathieu Desnoyers
1
-3
/
+3
2024-03-18
mempool: Introduce "private" populate policy
Mathieu Desnoyers
4
-28
/
+31
2024-03-18
mempool: Remove mmap/munmap callbacks
Mathieu Desnoyers
2
-73
/
+11
2024-03-18
mempool: replace memcmpbyte by rseq_cmp_item
Mathieu Desnoyers
1
-25
/
+14
2024-03-18
mempool: use bzero
Mathieu Desnoyers
1
-2
/
+2
2024-03-18
mempool: do not overwrite same per-cpu values
Mathieu Desnoyers
1
-16
/
+56
2024-03-18
mempool cow test: use default stride
Mathieu Desnoyers
1
-4
/
+3
2024-03-17
mempool: Test COW vs malloc_init race
Mathieu Desnoyers
4
-0
/
+221
2024-03-16
mempool tests: Adapt to free list new location
Mathieu Desnoyers
1
-27
/
+44
2024-03-16
Move robust pool free list to own memory area
Mathieu Desnoyers
1
-20
/
+36
2024-03-16
mempool: Fix off_t cast warning on 32-bit
Mathieu Desnoyers
1
-4
/
+10
2024-03-16
mempool test: test populate none policy
Mathieu Desnoyers
1
-18
/
+28
2024-03-16
mempool: Implement populate none policy
Mathieu Desnoyers
3
-32
/
+325
2024-03-15
mempool: Fix leak on pool destroy
Mathieu Desnoyers
1
-1
/
+1
2024-03-13
mempool: Introduce mmap_addr and mmap_len range fields
Mathieu Desnoyers
1
-2
/
+8
2024-03-10
mempool_test: test rseq_mempool_percpu_malloc_init
Mathieu Desnoyers
1
-0
/
+20
2024-03-10
mempool: implement malloc_init
Mathieu Desnoyers
2
-15
/
+117
2024-03-09
mempool_test: test poison corruption detection
Mathieu Desnoyers
1
-8
/
+45
2024-03-09
mempool: Use default poison value when robust is set
Mathieu Desnoyers
1
-2
/
+12
2024-03-09
mempool: check poison on destroy
Mathieu Desnoyers
1
-3
/
+28
2024-03-09
mempool: Detect poison corruption on alloc
Mathieu Desnoyers
2
-8
/
+42
2024-03-09
mempool test: add one extra object after free
Mathieu Desnoyers
1
-1
/
+10
2024-03-09
mempool: introduce poison attribute
Mathieu Desnoyers
3
-0
/
+59
2024-03-09
mempool test: Only use a single range for large stride
Mathieu Desnoyers
1
-1
/
+1
2024-03-09
mempool test: test max_nr_ranges > 1
Mathieu Desnoyers
1
-7
/
+18
2024-03-09
mempool: Introduce rseq_mempool_attr_set_max_nr_ranges
Mathieu Desnoyers
3
-4
/
+28
2024-03-09
mempool: Introduce support for ranges linked list
Mathieu Desnoyers
1
-28
/
+54
2024-03-09
mempool: remove unused FIRST_POOL
Mathieu Desnoyers
1
-6
/
+0
2024-03-09
mempool: cpu=-1 for init_func argument (global pool)
Mathieu Desnoyers
2
-9
/
+25
2024-03-09
mempool: init_func can return an error
Mathieu Desnoyers
2
-7
/
+12
2024-03-09
mempool: aligned_mmap_anonymous: support non-power-of-2 nr_cpus
Mathieu Desnoyers
1
-1
/
+1
2024-03-09
rseq: Introduce rseq_get_max_nr_cpus
Mathieu Desnoyers
3
-2
/
+16
2024-03-09
param_test: Use mempool max_nr_cpus rather than CPU_SETSIZE
Mathieu Desnoyers
1
-35
/
+45
2024-03-09
mempool: Introduce rseq_mempool_get_max_nr_cpus
Mathieu Desnoyers
2
-0
/
+18
2024-03-09
mempool: Introduce rseq_mempool_range_init_numa helper
Mathieu Desnoyers
2
-55
/
+51
2024-03-09
mempool: Introduce init_func attribute
Mathieu Desnoyers
2
-1
/
+42
2024-03-09
mempool: reenable rseq_mempool_range_init_numa
Mathieu Desnoyers
1
-9
/
+11
2024-03-08
smp.c: fix includes and macro namespace
Mathieu Desnoyers
1
-5
/
+5
2024-03-08
Mempool: default as global
Mathieu Desnoyers
2
-7
/
+22
2024-03-08
mempool: Receive mempool type (percpu/global) as attribute
Mathieu Desnoyers
7
-66
/
+499
2024-03-08
mempool test: iterate from page size
Mathieu Desnoyers
2
-5
/
+9
2024-03-08
mempool: update comments in header file
Mathieu Desnoyers
1
-11
/
+11
2024-03-08
mempool: reduce default RSEQ_PERCPU_STRIDE to 64kB on 64-bit
Mathieu Desnoyers
1
-5
/
+1
2024-03-08
membarrier rseq fence test: adapt to RSEQ_PERCPU_STRIDE
Mathieu Desnoyers
1
-2
/
+1
2024-03-08
Add missing rseq_after_asm_goto in rseq_load_add_load_load_add_store__ptr
Mathieu Desnoyers
1
-0
/
+3
2024-03-08
Revert "x86-64: Implement/use load_cbne_load_add_load_add_store"
Mathieu Desnoyers
4
-39
/
+26
2024-03-08
mempool: namespacing, add global alloc/free
Mathieu Desnoyers
4
-54
/
+130
2024-03-08
mempool: Introduce optional stride parameter
Mathieu Desnoyers
4
-20
/
+31
2024-03-08
mempool: mass renaming of API
Mathieu Desnoyers
4
-151
/
+151
2024-03-08
tests/mempool_test: Add robust testing
Olivier Dion
1
-0
/
+106
2024-03-08
mempool: check for NULL pool on destroy
Mathieu Desnoyers
1
-5
/
+2
2024-03-08
mempool: update header comments
Mathieu Desnoyers
1
-2
/
+12
2024-03-08
mempool: Remove unused defines
Mathieu Desnoyers
1
-17
/
+1
2024-03-08
mempool: Remove pool array and lock
Mathieu Desnoyers
1
-37
/
+5
2024-03-08
mempool: Use masks to get pool range from pointer and stride for percpu offset
Mathieu Desnoyers
3
-34
/
+35
2024-03-08
Memory map ranges aligned on the stride
Mathieu Desnoyers
1
-8
/
+93
2024-03-08
percpu alloc: Introduce stride parameter
Mathieu Desnoyers
5
-45
/
+73
2024-03-08
rseq-mempool: Call set_alloc_slot() on all paths
Olivier Dion
1
-1
/
+2
2024-03-08
mempool: implement one range
Mathieu Desnoyers
1
-57
/
+132
2024-03-08
Update mempool test
Mathieu Desnoyers
1
-0
/
+1
2024-03-08
Add mempool test to make check
Mathieu Desnoyers
2
-1
/
+5
2024-03-08
mempool test: safe iteration for free
Mathieu Desnoyers
1
-2
/
+2
2024-03-08
Introduce mempool test
Mathieu Desnoyers
5
-0
/
+313
2024-03-08
Rename percpu-alloc files to mempool
Mathieu Desnoyers
6
-12
/
+12
2024-03-08
Update gitignore
Mathieu Desnoyers
1
-0
/
+1
2024-03-07
percpu alloc: Remove RSEQ_POOL_ROBUST attribute
Mathieu Desnoyers
1
-15
/
+0
2024-03-07
percpu-alloc: Add move_pages batching
Olivier Dion
2
-8
/
+40
2024-03-07
percpu pool: Move robust flag to atttribute
Mathieu Desnoyers
3
-25
/
+45
2024-03-07
percpu pool: mmap set attr: return error value
Mathieu Desnoyers
2
-2
/
+9
2024-03-07
percpu pool: Introduce generic attributes
Mathieu Desnoyers
2
-46
/
+49
2024-03-07
percpu alloc: add pool name
Mathieu Desnoyers
3
-24
/
+45
2024-03-07
Fix typos in fprintf
Mathieu Desnoyers
1
-2
/
+2
2024-03-07
percpu-alloc: Add free-list check on pool destroy
Olivier Dion
1
-1
/
+54
2024-03-07
rseq percpu: print caller ip on double-free/alloc corruption and leak
Mathieu Desnoyers
1
-10
/
+14
2024-03-07
Fix: add missing \n in fprintf
Mathieu Desnoyers
1
-2
/
+2
2024-03-07
Implement rseq_hweight_ulong with __builtin_popcountl
Mathieu Desnoyers
1
-5
/
+1
2024-03-07
Fix destroy_alloc_bitmap size
Mathieu Desnoyers
1
-2
/
+1
2024-03-07
percpu alloc: Improve robust pools
Mathieu Desnoyers
2
-56
/
+95
2024-03-07
percu-allocator: Implement robust pool validation
Olivier Dion
2
-3
/
+104
2024-03-05
percpu: remove rseq_percpu_pool_ptr_offset
Mathieu Desnoyers
2
-18
/
+0
2024-03-05
x86-64: Implement/use load_cbne_load_add_load_add_store
Mathieu Desnoyers
4
-26
/
+39
2024-03-05
Remove riscv has_load_add_load_load_add_store implementation
Mathieu Desnoyers
2
-56
/
+0
2024-03-05
param test: membarrier: validate total number of increments
Mathieu Desnoyers
1
-2
/
+23
2024-03-05
percpu allocator: Add flags argument for future extensions
Mathieu Desnoyers
3
-8
/
+18
2024-03-04
percpu alloc: introduce rseq mmap attributes
Mathieu Desnoyers
3
-50
/
+126
2024-03-04
Cleanup: Remove whiteline
Mathieu Desnoyers
1
-1
/
+0
2024-03-04
Rename RSEQ_ARCH_HAS_OFFSET_DEREF_ADDV to rseq_arch_has_load_add_load_load_ad...
Mathieu Desnoyers
4
-4
/
+4
2024-03-04
Revert "Introduce rseq_load_cbne_load_add_store pseudocode"
Mathieu Desnoyers
1
-15
/
+0
2024-03-04
Revert "x86: Introduce rseq_load_cbne_load_add_store"
Mathieu Desnoyers
1
-120
/
+0
2024-03-04
Revert "rseq.h: Introduce rseq_load_cbne_load_add_store__ptr"
Mathieu Desnoyers
1
-19
/
+0
2024-03-04
param tests: membarrier: pre-decode pointer offset
Mathieu Desnoyers
1
-5
/
+7
2024-03-04
percpu alloc: introduce rseq_percpu_pool_ptr_offset
Mathieu Desnoyers
2
-0
/
+18
2024-03-04
Document percpu alloc
Mathieu Desnoyers
2
-4
/
+204
2024-03-04
rseq percpu: Remove __rseq_percpu annotation from returned pointer
Mathieu Desnoyers
1
-1
/
+1
2024-03-03
x86-32: ip-relative: return to post-call address
Mathieu Desnoyers
1
-4
/
+4
2024-03-02
param test: x86-32: use ip-relative addressing for RSEQ_INJECT_ASM
Mathieu Desnoyers
1
-7
/
+8
2024-03-02
x86-32: Save ip reference for ip-relative addressing
Mathieu Desnoyers
2
-20
/
+83
2024-03-02
x86-32: Use ip-relative addressing to store rseq_cs
Mathieu Desnoyers
1
-6
/
+16
2024-03-02
x86-32: work-around register pressure limitations
Mathieu Desnoyers
1
-58
/
+48
2024-03-02
x86-32: Document linker warning
Mathieu Desnoyers
2
-0
/
+14
2024-03-02
arm: work-around register pressure limitations
Mathieu Desnoyers
1
-61
/
+50
2024-03-01
param tests: percpu memcpu buffer: use percpu alloc
Mathieu Desnoyers
1
-32
/
+56
2024-03-01
param tests: percpu buffer: use percpu alloc
Mathieu Desnoyers
1
-31
/
+56
2024-03-01
param tests: percpu list: use percpu alloc
Mathieu Desnoyers
1
-43
/
+91
2024-03-01
rseq.h: Introduce rseq_load_cbne_load_add_store__ptr
Mathieu Desnoyers
1
-0
/
+19
2024-03-01
x86: Introduce rseq_load_cbne_load_add_store
Mathieu Desnoyers
1
-0
/
+111
2024-03-01
Introduce rseq_load_cbne_load_add_store pseudocode
Mathieu Desnoyers
1
-0
/
+15
2024-03-01
Rename rseq_load_add_load_add_store to rseq_load_add_load_load_add_store
Mathieu Desnoyers
5
-8
/
+8
2024-03-01
param test: counter increment: use percpu alloc
Mathieu Desnoyers
1
-12
/
+27
2024-03-01
param test: use __rseq_percpu pointer tagging
Mathieu Desnoyers
1
-6
/
+6
2024-03-01
Add __rseq_percpu pointer tagging
Mathieu Desnoyers
2
-18
/
+28
2024-03-01
Adapt spinlock param test to percpu alloc
Mathieu Desnoyers
1
-19
/
+37
2024-03-01
Skip first pool
Mathieu Desnoyers
1
-1
/
+7
2024-03-01
percpu alloc: add missing extern C
Mathieu Desnoyers
1
-0
/
+8
2024-03-01
Add missing include in percpu-alloc.h
Mathieu Desnoyers
1
-0
/
+1
2024-03-01
Set errno on malloc error
Mathieu Desnoyers
1
-0
/
+1
2024-03-01
percpu pool set malloc: start search at relevant alloc order
Mathieu Desnoyers
1
-0
/
+3
2024-03-01
rseq-percpu: Improve documentation
Mathieu Desnoyers
1
-8
/
+13
2024-03-01
Introduce rseq-alloc-utils.h
Mathieu Desnoyers
3
-106
/
+115
2024-03-01
rseq percpu: Use high bits for pool index
Mathieu Desnoyers
1
-14
/
+22
2024-03-01
rseq percpu alloc: Implement numa support
Mathieu Desnoyers
4
-39
/
+123
2024-03-01
Implement per-cpu memory allocator
Mathieu Desnoyers
4
-1
/
+485
2024-02-29
Introduce __RSEQ_ASM_DEFINE_CS_FIELDS
Mathieu Desnoyers
3
-10
/
+17
2024-02-29
Introduce common generic header file
Mathieu Desnoyers
9
-452
/
+131
2024-02-29
x86: Introduce RSEQ_ASM_U32
Mathieu Desnoyers
1
-1
/
+4
2024-02-29
riscv: Introduce RSEQ_ASM_U64_PTR and RSEQ_ASM_U32
Mathieu Desnoyers
1
-7
/
+12
2024-02-29
s390: Introduce RSEQ_ASM_U32
Mathieu Desnoyers
1
-2
/
+5
2024-02-29
ppc: Introduce RSEQ_ASM_U32
Mathieu Desnoyers
1
-2
/
+5
2024-02-29
mips: Introduce RSEQ_ASM_U32
Mathieu Desnoyers
1
-3
/
+7
2024-02-29
arm: Introduce RSEQ_ASM_U32
Mathieu Desnoyers
1
-3
/
+7
2024-02-29
aarch64: Introduce RSEQ_ASM_U32
Mathieu Desnoyers
1
-1
/
+3
2024-02-29
thread-pointer: suffix include guard with _H
Mathieu Desnoyers
1
-2
/
+2
2024-02-29
arm: Fix big endian, introduce RSEQ_ASM_U64_PTR
Mathieu Desnoyers
1
-4
/
+15
2024-02-29
arm: Cleanup header codying style
Mathieu Desnoyers
1
-4
/
+4
2024-02-29
aarch64: Introduce RSEQ_ASM_U64_PTR
Mathieu Desnoyers
1
-5
/
+8
2024-02-29
aarch64: Cleanup header coding style
Mathieu Desnoyers
1
-4
/
+4
2024-02-28
s390: Introduce code deduplication macros
Mathieu Desnoyers
1
-86
/
+53
2024-02-28
ppc: Introduce code deduplication macros
Mathieu Desnoyers
1
-106
/
+69
2024-02-28
x86: Introduce code deduplication macros
Mathieu Desnoyers
1
-84
/
+45
2024-02-28
mips: Reorganise code deduplication macros
Mathieu Desnoyers
1
-19
/
+31
2024-02-28
Re-organise public headers
Michael Jeanson
29
-252
/
+441
2024-02-28
Fix supported autotools versions in README.md
Michael Jeanson
1
-2
/
+2
2024-02-27
RSEQ_ASM_DEFINE_TABLE: use parentheses around parameters on all archs
Mathieu Desnoyers
7
-8
/
+8
2024-02-27
Comment s390 macros implementation
Mathieu Desnoyers
1
-19
/
+119
2024-02-27
s390: namespace public header macros under RSEQ_ASM_
Mathieu Desnoyers
2
-63
/
+63
2024-02-27
Comment riscv macros implementation
Mathieu Desnoyers
1
-10
/
+107
2024-02-27
riscv: Add missing "inc" parameter to RSEQ_ASM_OP_R_DEREF_ADDV
Mathieu Desnoyers
2
-2
/
+2
2024-02-27
riscv: namespace public header macros under RSEQ_ASM_
Mathieu Desnoyers
1
-19
/
+19
2024-02-27
mips: Move RSEQ_ASM_DEFINE_ABORT table_label parameter to 4th argument
Mathieu Desnoyers
2
-17
/
+17
2024-02-27
arm: Move RSEQ_ASM_DEFINE_ABORT table_label parameter to 4th argument
Mathieu Desnoyers
2
-17
/
+17
2024-02-27
Comment mips macros implementation
Mathieu Desnoyers
1
-12
/
+101
2024-02-27
Comment ppc macros implementation
Mathieu Desnoyers
1
-25
/
+129
2024-02-27
Comment arm64 macros implementation
Mathieu Desnoyers
1
-10
/
+93
2024-02-27
Comment arm macros implementation
Mathieu Desnoyers
1
-8
/
+93
2024-02-27
Comment x86 asm macros implementation
Mathieu Desnoyers
2
-43
/
+129
2024-02-27
mips: Namespace type helpers under RSEQ_ASM_*
Mathieu Desnoyers
2
-70
/
+70
2024-02-27
ppc: Rename RSEQ_ASM_OP_R_MEMCPY to RSEQ_ASM_OP_R_BYTEWISE_MEMCPY
Mathieu Desnoyers
2
-2
/
+2
2024-02-27
riscv: Rename RSEQ_ASM_OP_R_BAD_MEMCPY to RSEQ_ASM_OP_R_BYTEWISE_MEMCPY
Mathieu Desnoyers
2
-2
/
+2
2024-02-27
arm64: Rename RSEQ_ASM_OP_R_BAD_MEMCPY to RSEQ_ASM_OP_R_BYTEWISE_MEMCPY
Mathieu Desnoyers
2
-2
/
+2
2024-02-27
ppc: Rename RSEQ_ helpers to RSEQ_ASM_
Mathieu Desnoyers
1
-29
/
+29
2024-02-27
Rename RSEQ_TEMPLATE macros
Mathieu Desnoyers
16
-153
/
+153
2024-02-27
x86: Use RSEQ_ASM_ prefix for RSEQ_CPU_ID_OFFSET, RSEQ_CS_OFFSET, RSEQ_MM_CID...
Mathieu Desnoyers
3
-18
/
+18
2024-02-27
x86-32: Remove support for old IDT WinChip and PPRO
Mathieu Desnoyers
1
-26
/
+4
2024-02-27
Fix: seccomp tests require shared libs
Michael Jeanson
2
-1
/
+6
2024-02-27
x86-64: change jnz/jz for jne/je after cmp/test
Mathieu Desnoyers
1
-22
/
+22
2024-02-27
Rename RSEQ_ASM_DEFINE_CMPFAIL to RSEQ_ASM_DEFINE_TEARDOWN
Mathieu Desnoyers
8
-25
/
+25
2024-02-27
Rename branch labels from cmpfail to ne/eq
Mathieu Desnoyers
7
-168
/
+168
2024-02-27
Update rseq critical section identifiers to match pseudo-code
Mathieu Desnoyers
10
-116
/
+88
2024-02-27
Add rseq critical section pseudocode documentation
Mathieu Desnoyers
10
-0
/
+185
2024-02-23
tests: add unregistered and no syscall tests
Michael Jeanson
12
-4
/
+259
2024-02-23
fix: always set the rseq offset and flags
Michael Jeanson
1
-6
/
+6
2024-02-22
Add 'teardown' parameter to RSEQ_ASM_DEFINE_ABORT on all arch
Michael Jeanson
6
-22
/
+25
2024-02-22
Add comments to rseq_init()
Michael Jeanson
1
-0
/
+39
2024-02-22
doc: fix typo in rseq(2) man page
Michael Jeanson
1
-2
/
+1
2024-02-22
Update autotools archive macros
Michael Jeanson
3
-49
/
+102
2024-02-22
Clarify logic of RSEQ_ASM*_CMP* macros
Mathieu Desnoyers
14
-154
/
+154
2024-02-22
Document alignment of rseq_abi for allocated size
Mathieu Desnoyers
1
-0
/
+6
2024-01-10
Fix: do not skip !allowed_cpus for mm_cid
Mathieu Desnoyers
2
-8
/
+28
2024-01-10
Add arm64 headers to list of headers to be installed
Mathias Stearn
1
-0
/
+2
2023-10-25
riscv: Fix __always_inline causes duplicate inline
Mathieu Desnoyers
1
-7
/
+7
2023-06-12
Add missing copyright headers
Michael Jeanson
4
-0
/
+10
2023-05-04
Remove whiteline
Mathieu Desnoyers
1
-1
/
+0
[next]