Lockless memory allocator and list
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
v8 from the cover letter
- Rebased on mmotm 2010-12-02
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Add Kconfig option ARCH_HAVE_NMI_SAFE_CMPXCHGarch/ arch/ arch/ +10 more | +15 | 0 replies | |
| 2/3 | lib, Make gen_pool memory allocator locklessinclude/ include/ lib/ +1 more | +241 | 0 replies | |
| 3/3 | lib, Add lock-less NULL terminated single listinclude/ lib/ lib/ +1 more | +199 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Mike Frysinger | Paul Mundt | Hans-Christian Egtvedt | Benjamin Herrenschmidt | Chris Metcalf | Andi Kleen |
|---|---|---|---|---|---|---|
| 1/3 | A-b | A-b | A-b | A-b | A-b | |
| 2/3 | R-b | |||||
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.
Cover letter [PATCH -mm -v8 0/3] Lockless memory allocator and list
This patchset adds a lockless memory allocator and a lock-less list.
v8:
- Rebased on mmotm 2010-12-02
v7:
- Revise ARCH_HAVE_NMI_SAFE_CMPXCHG definition for some architectures according to architecture maitainers' comments.
- Remove spin_trylock_irqsave based fallback for lockless memory allocator, because it does not work for !CONFIG_SMP and is not likely to be used.
- Make lockless memory allocator and list does not depend on ARCH_HAVE_NMI_SAFE_CMPXCHG. Instead, require the user to depend on it when needed. And BUG_ON(in_nmi()) is added in necessary place to prevent silent race.
v6:
- Revise ARCH_HAVE_NMI_SAFE_CMPXCHG definition for some architectures according to architecture maitainers' comments.
v5:
- Add ARCH_HAVE_NMI_SAFE_CMPXCHG
- Add spin_trylock_irqsave based fallback in lockless memory allocator if ARCH_HAVE_NMI_SAFE_CMPXCHG=n
- Make lockless list depends on ARCH_HAVE_NMI_SAFE_CMPXCHG
v4:
- Split from APEI patchset
- Update patch description and comments according to ML comments
v3:
- Rework lockless memory allocator and list according to ML comments
[PATCH -mm -v8 1/3] Add Kconfig option ARCH_HAVE_NMI_SAFE_CMPXCHG [PATCH -mm -v8 2/3] lib, Make gen_pool memory allocator lockless [PATCH -mm -v8 3/3] lib, Add lock-less NULL terminated single list