linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/6] add kmalloc_align()
@ 2012-03-20 10:21 Lai Jiangshan
  2012-03-20 10:21 ` [RFC PATCH 1/6] kenrel.h: add ALIGN_OF_LAST_BIT() Lai Jiangshan
                   ` (5 more replies)
  0 siblings, 6 replies; 28+ messages in thread
From: Lai Jiangshan @ 2012-03-20 10:21 UTC (permalink / raw)
  To: Christoph Lameter, Pekka Enberg, Matt Mackall, Tejun Heo,
	Andrew Morton
  Cc: linux-kernel, linux-mm, Lai Jiangshan

Add add kmalloc_align() for alignment requirement.
Almost no behavior changed nor overhead added.

Lai Jiangshan (6):
  kenrel.h: add ALIGN_OF_LAST_BIT()
  slub: add kmalloc_align()
  slab: add kmalloc_align()
  don't couple the header size with the alignment
  slob: add kmalloc_align()
  workqueue: use kmalloc_align() instead of hacking

 include/linux/kernel.h   |    2 ++
 include/linux/slab_def.h |    6 ++++++
 include/linux/slob_def.h |   14 +++++++++++++-
 include/linux/slub_def.h |    6 ++++++
 init/Kconfig             |    1 -
 kernel/workqueue.c       |   23 ++++++++-------------------------------------
 mm/slab.c                |    8 ++++----
 mm/slob.c                |   38 +++++++++++++++++++++-----------------
 mm/slub.c                |    2 +-
 9 files changed, 58 insertions(+), 41 deletions(-)

-- 
1.7.4.4

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2012-03-26  2:00 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-20 10:21 [RFC PATCH 0/6] add kmalloc_align() Lai Jiangshan
2012-03-20 10:21 ` [RFC PATCH 1/6] kenrel.h: add ALIGN_OF_LAST_BIT() Lai Jiangshan
2012-03-20 11:32   ` Michal Nazarewicz
2012-03-20 14:03     ` Alexey Dobriyan
2012-03-20 14:08       ` Christoph Lameter
2012-03-20 14:20     ` Peter Seebach
2012-03-20 10:21 ` [RFC PATCH 2/6] slub: add kmalloc_align() Lai Jiangshan
2012-03-20 14:14   ` Christoph Lameter
2012-03-20 14:21     ` Christoph Lameter
2012-03-20 10:21 ` [RFC PATCH 3/6] slab: " Lai Jiangshan
2012-03-20 10:21 ` [RFC PATCH 4/6] slob: don't couple the header size with the alignment Lai Jiangshan
2012-03-20 10:21 ` [RFC PATCH 5/6] slob: add kmalloc_align() Lai Jiangshan
2012-03-20 10:21 ` [RFC PATCH 6/6] workqueue: use kmalloc_align() instead of hacking Lai Jiangshan
2012-03-20 15:15   ` Christoph Lameter
2012-03-20 15:46   ` Tejun Heo
2012-03-21  3:02     ` Lai Jiangshan
2012-03-21  5:14       ` Tejun Heo
2012-03-21 14:12         ` Patch workqueue: create new slab cache " Christoph Lameter
2012-03-21 14:49           ` Eric Dumazet
2012-03-21 15:03             ` Christoph Lameter
2012-03-21 16:04               ` Eric Dumazet
2012-03-21 17:54                 ` Christoph Lameter
2012-03-21 18:05                   ` Eric Dumazet
2012-03-21 18:20                     ` Christoph Lameter
2012-03-21 16:09           ` Tejun Heo
2012-03-21 17:56             ` Christoph Lameter
2012-03-21 13:45       ` [RFC PATCH 6/6] workqueue: use kmalloc_align() " Christoph Lameter
2012-03-26  2:00         ` Lai Jiangshan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).