public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -mm -v8 0/3] Lockless memory allocator and list
@ 2010-12-16  6:59 Huang Ying
  2010-12-16  6:59 ` [PATCH -mm -v8 1/3] Add Kconfig option ARCH_HAVE_NMI_SAFE_CMPXCHG Huang Ying
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Huang Ying @ 2010-12-16  6:59 UTC (permalink / raw)
  To: Andrew Morton
  Cc: linux-kernel, Andi Kleen, ying.huang, Peter Zijlstra,
	Linus Torvalds, Ingo Molnar

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-12-17 16:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-16  6:59 [PATCH -mm -v8 0/3] Lockless memory allocator and list Huang Ying
2010-12-16  6:59 ` [PATCH -mm -v8 1/3] Add Kconfig option ARCH_HAVE_NMI_SAFE_CMPXCHG Huang Ying
2010-12-16  6:59 ` [PATCH -mm -v8 2/3] lib, Make gen_pool memory allocator lockless Huang Ying
2010-12-16  6:59 ` [PATCH -mm -v8 3/3] lib, Add lock-less NULL terminated single list Huang Ying
2010-12-16  9:24 ` [PATCH -mm -v8 0/3] Lockless memory allocator and list Peter Zijlstra
2010-12-17  0:20   ` Huang Ying
2010-12-17 12:22     ` Peter Zijlstra
2010-12-17 15:35       ` huang ying
2010-12-17 16:22         ` Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox