aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
AgeCommit message (Expand)AuthorFilesLines
2012-09-17slub: consider pfmemalloc_match() in get_partial_node()Joonsoo Kim1-5/+10
2012-07-31mm: slub: optimise the SLUB fast path to avoid pfmemalloc checksChristoph Lameter1-4/+3
2012-07-31mm: sl[au]b: add knowledge of PFMEMALLOC reserve pagesMel Gorman1-2/+27
2012-07-10mm, slub: ensure irqs are enabled for kmemcheckDavid Rientjes1-7/+6
2012-07-09mm, sl[aou]b: Move kmem_cache_create mutex handling to common codeChristoph Lameter1-15/+13
2012-07-09mm, sl[aou]b: Use a common mutex definitionChristoph Lameter1-29/+25
2012-07-09mm, sl[aou]b: Common definition for boot state of the slab allocatorsChristoph Lameter1-16/+5
2012-07-09mm, sl[aou]b: Extract common code for kmem_cache_create()Christoph Lameter1-10/+1
2012-07-09slub: remove invalid reference to list iterator variableJulia Lawall1-1/+1
2012-06-20slub: refactoring unfreeze_partials()Joonsoo Kim1-34/+14
2012-06-20slub: use __cmpxchg_double_slab() at interrupt disabled placeJoonsoo Kim1-3/+9
2012-06-20slab/mempolicy: always use local policy from interrupt contextAndi Kleen1-1/+1
2012-06-14mm, sl[aou]b: Extract common fields from struct kmem_cacheChristoph Lameter1-40/+40
2012-06-04Merge branch 'slub/cleanups' into slab/nextPekka Enberg1-81/+92
2012-06-01Merge branch 'slab/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-10/+13
2012-06-01slub: pass page to node_match() instead of kmem_cache_cpu structureChristoph Lameter1-4/+6
2012-06-01slub: Use page variable instead of c->page.Christoph Lameter1-7/+10
2012-06-01slub: Separate out kmem_cache_cpu processing from deactivate_slabChristoph Lameter1-12/+12
2012-06-01slub: Get rid of the node fieldChristoph Lameter1-19/+16
2012-06-01slub: new_slab_objects() can also get objects from partial listChristoph Lameter1-7/+9
2012-06-01slub: Simplify control flow in __slab_alloc()Christoph Lameter1-8/+6
2012-06-01slub: Acquire_slab() avoid loopChristoph Lameter1-13/+15
2012-06-01slub: Add frozen check in __slab_allocChristoph Lameter1-0/+6
2012-06-01slub: Use freelist instead of "object" in __slab_allocChristoph Lameter1-18/+20
2012-05-18slub: use __SetPageSlab function to set PG_slab flagJoonsoo Kim1-1/+1
2012-05-18slub: fix a memory leak in get_partial_node()Joonsoo Kim1-3/+6
2012-05-17slub: missing test for partial pages flush work in flush_all()majianpeng1-1/+1
2012-05-16slub: remove unused argument of init_kmem_cache_node()Joonsoo Kim1-4/+4
2012-05-16slub: fix a possible memory leakJoonsoo Kim1-1/+1
2012-05-08slub: fix incorrect return type of get_any_partial()Joonsoo Kim1-1/+1
2012-03-28Merge branch 'akpm' (Andrew's patch-bomb)Linus Torvalds1-1/+9
2012-03-28slub: only IPI CPUs that have per cpu obj to flushGilad Ben-Yossef1-1/+9
2012-03-28Merge branch 'slab/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+21
2012-03-21cpuset: mm: reduce large amounts of memory barrier related damage v3Mel Gorman1-15/+25
2012-02-18slub: per cpu partial statistics changeAlex Shi1-3/+9
2012-02-10slub: include include for prefetchChristoph Lameter1-0/+1
2012-02-06slub: Do not hold slub_lock when calling sysfs_slab_add()Christoph Lameter1-1/+2
2012-01-24slub: prefetch next freelist pointer in slab_alloc()Eric Dumazet1-1/+9
2012-01-12mm,x86,um: move CMPXCHG_DOUBLE config optionHeiko Carstens1-3/+6
2012-01-12mm,slub,x86: decouple size of struct page from CONFIG_CMPXCHG_LOCALHeiko Carstens1-3/+3
2012-01-11Merge branch 'slab/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-29/+48
2012-01-11Merge branch 'slab/urgent' into slab/for-linusPekka Enberg1-1/+3
2012-01-10slub: min order when debug_guardpage_minorder > 0Stanislaw Gruszka1-0/+3
2012-01-10slub: disallow changing cpu_partial from userspace for debug cachesDavid Rientjes1-0/+2
2012-01-09Merge branch 'for-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/pe...Linus Torvalds1-3/+3
2012-01-04x86: Fix and improve cmpxchg_double{,_local}()Jan Beulich1-2/+2
2011-12-22percpu: Remove irqsafe_cpu_xxx variantsChristoph Lameter1-3/+3
2011-12-13slub: add missed accountingShaohua Li1-2/+5
2011-12-13slub: Extract get_freelist from __slab_allocChristoph Lameter1-25/+32
2011-12-13slub: Switch per cpu partial page support off for debuggingChristoph Lameter1-1/+3
2011-12-13slub: fix a possible memleak in __slab_alloc()Eric Dumazet1-0/+5
2011-11-27slub: add missed accountingShaohua Li1-2/+5
2011-11-27Merge branch 'slab/urgent' into slab/nextPekka Enberg1-16/+26
2011-11-24slub: avoid potential NULL dereference or corruptionEric Dumazet1-10/+11
2011-11-24slub: use irqsafe_cpu_cmpxchg for put_cpu_partialChristoph Lameter1-1/+1
2011-11-16slub: add taint flag outputting to debug pathsDave Jones1-1/+1
2011-11-15slub: move discard_slab out of node lockShaohua Li1-4/+12
2011-11-15slub: use correct parameter to add a page to partial list tailShaohua Li1-1/+2
2011-10-31lib/string.c: introduce memchr_inv()Akinobu Mita1-45/+2
2011-10-26Merge branches 'slab/next' and 'slub/partial' into slab/for-linusPekka Enberg1-166/+392
2011-09-27slub: Discard slab page when node partial > minimum partial numberAlex Shi1-1/+1
2011-09-27slub: correct comments error for per cpu partialAlex Shi1-1/+1
2011-09-27mm: restrict access to slab files under procfs and sysfsVasiliy Kulikov1-3/+4
2011-09-19Merge branch 'slab/urgent' into slab/nextPekka Enberg1-10/+12
2011-09-13slub: Code optimization in get_partial_node()Alex,Shi1-4/+2
2011-08-27slub: explicitly document position of inserting slab to partial listShaohua Li1-6/+6
2011-08-27slub: add slab with one free object to partial list tailShaohua Li1-1/+1
2011-08-19slub: per cpu cache for partial pagesChristoph Lameter1-47/+292
2011-08-19slub: return object pointer from get_partial() / new_slab().Christoph Lameter1-60/+73
2011-08-19slub: pass kmem_cache_cpu pointer to get_partial()Christoph Lameter1-15/+15
2011-08-19slub: Prepare inuse field in new_slab()Christoph Lameter1-3/+2
2011-08-19slub: Remove useless statements in __slab_allocChristoph Lameter1-4/+0
2011-08-19slub: free slabs without holding locksChristoph Lameter1-13/+13
2011-08-09slub: Fix partial count comparison confusionChristoph Lameter1-1/+1
2011-08-09slub: fix check_bytes() for slub debuggingAkinobu Mita1-1/+1
2011-08-09slub: Fix full list corruption if debugging is onChristoph Lameter1-2/+4
2011-07-31slub: use print_hex_dumpSebastian Andrzej Siewior1-35/+9
2011-07-30Merge branch 'slub/lockless' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-252/+512
2011-07-25Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2011-07-25slub: When allocating a new slab also prep the first objectChristoph Lameter1-0/+3
2011-07-22Merge branch 'slab-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+103
2011-07-21treewide: fix potentially dangerous trailing ';' in #defined values/expressionsPhil Carmody1-1/+1
2011-07-18slub: disable interrupts in cmpxchg_double_slab when falling back to pagelockChristoph Lameter1-4/+45
2011-07-07SLUB: Fix missing <linux/stacktrace.h> includePekka Enberg1-0/+1
2011-07-07slub: reduce overhead of slub_debugMarcin Slusarz1-2/+34
2011-07-07slub: Add method to verify memory is not freedBen Greear1-0/+36
2011-07-07slub: Enable backtrace for create/delete pointsBen Greear1-0/+32
2011-07-02slub: Not necessary to check for empty slab on load_freelistChristoph Lameter1-3/+2
2011-07-02slub: fast release on full slabChristoph Lameter1-2/+19
2011-07-02slub: Add statistics for the case that the current slab does not match the nodeChristoph Lameter1-0/+3
2011-07-02slub: Get rid of the another_slab labelChristoph Lameter1-6/+5
2011-07-02slub: Avoid disabling interrupts in free slowpathChristoph Lameter1-11/+5
2011-07-02slub: Disable interrupts in free_debug processingChristoph Lameter1-4/+10
2011-07-02slub: Invert locking and avoid slab lockChristoph Lameter1-77/+52
2011-07-02slub: Rework allocator fastpathsChristoph Lameter1-129/+280
2011-07-02slub: Pass kmem_cache struct to lock and freeze slabChristoph Lameter1-7/+8
2011-07-02slub: explicit list_lock takingChristoph Lameter1-40/+49
2011-07-02slub: Add cmpxchg_double_slab()Christoph Lameter1-5/+60
2011-07-02slub: Move page->frozen handling near where the page->freelist handling occursChristoph Lameter1-2/+6
2011-07-02slub: Do not use frozen page flag but a bit in the page countersChristoph Lameter1-6/+6
2011-07-02slub: Push irq disable into allocate_slab()Christoph Lameter1-10/+13
2011-06-03slub: always align cpu_slab to honor cmpxchg_double requirementChris Metcalf1-8/+4
2011-05-25slub: remove no-longer used 'unlock_out' labelLinus Torvalds1-1/+0
2011-05-25slub: Fix double bit unlock in debug modeChristoph Lameter1-1/+2
2011-05-23Merge branch 'slab/next' into for-linusPekka Enberg1-100/+65
2011-05-21slub: Remove node check in slab_freeChristoph Lameter1-1/+3
2011-05-17slub: avoid label inside conditionalDavid Rientjes1-3/+3
2011-05-17slub: Make CONFIG_DEBUG_PAGE_ALLOC work with new fastpathChristoph Lameter1-1/+13
2011-05-17slub: Avoid warning for !CONFIG_SLUB_DEBUGChristoph Lameter1-1/+1
2011-05-07slub: Remove CONFIG_CMPXCHG_LOCAL ifdefferyChristoph Lameter1-56/+0
2011-05-04slub: Fix the lockless code on 32-bit platforms with no 64-bit cmpxchgThomas Gleixner1-2/+2
2011-04-17slub: Move debug handlign in __slab_freeChristoph Lameter1-9/+2
2011-04-17slub: Move node determination out of hotpathChristoph Lameter1-4/+5
2011-04-17slub: Eliminate repeated use of c->page through a new page variableChristoph Lameter1-19/+22
2011-04-17slub: get_map() function to establish map of free objects in a slabChristoph Lameter1-12/+22
2011-04-17slub: Use NUMA_NO_NODE in get_partialChristoph Lameter1-1/+1
2011-04-12slub: Fix a typo in config nameLi Zefan1-1/+1
2011-03-31Fix common misspellingsLucas De Marchi1-4/+4
2011-03-24SLUB: Write to per cpu data when allocating itChristoph Lameter1-1/+1
2011-03-24slub: Fix debugobjects with lockless fastpathThomas Gleixner1-2/+2
2011-03-22slub: Add statistics for this_cmpxchg_double failuresChristoph Lameter1-1/+2
2011-03-22slub: Add missing irq restore for the OOM pathChristoph Lameter1-0/+3
2011-03-20Merge branch 'slub/lockless' into for-linusPekka Enberg1-13/+221
2011-03-20slub: Dont define useless label in the !CONFIG_CMPXCHG_LOCAL caseChristoph Lameter1-1/+3
2011-03-11Merge branch 'slab/rcu' into slab/nextPekka Enberg1-22/+55
2011-03-11slub,rcu: don't assume the size of struct rcu_headLai Jiangshan1-5/+25
2011-03-11slub: automatically reserve bytes at the end of slabLai Jiangshan1-17/+30
2011-03-11Lockless (and preemptless) fastpaths for slubChristoph Lameter1-2/+203
2011-03-11slub: Get rid of slab_free_hook_irq()Christoph Lameter1-12/+17
2011-02-27slub: fix ksize() build errorMariusz Kozlowski1-24/+24
2011-02-23slub: fix kmemcheck calls to match ksize() hintsEric Dumazet1-23/+26
2011-01-23mm: Remove support for kmem_cache_name()Christoph Lameter1-6/+0
2011-01-15Merge branch 'slub/hotplug' into slab/urgentPekka Enberg1-2/+2
2011-01-13mm: convert sprintf_symbol to %pSJoe Perches1-7/+4
2011-01-11slub: Avoid use of slub_lock in show_slab_objects()Christoph Lameter1-2/+2
2011-01-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-7/+23
2011-01-07kernel: kmem_ptr_validate considered harmfulNick Piggin1-40/+0
2010-12-04slub: Fix a crash during slabinfo -vTero Roponen1-2/+2
2010-12-04slub: Fix a crash during slabinfo -vTero Roponen1-2/+2
2010-11-14slub: Fix slub_lock down/up imbalancePavel Emelyanov1-1/+2
2010-11-06slub: Fix slub_lock down/up imbalancePavel Emelyanov1-1/+2
2010-11-06slub tracing: move trace calls out of always inlined functions to reduce kern...Richard Kennedy1-7/+23
2010-10-06SLUB: Fix memory hotplug with !NUMAPekka Enberg1-1/+1
2010-10-06slub: Move functions to reduce #ifdefsChristoph Lameter1-156/+141
2010-10-06slub: Enable sysfs support for !CONFIG_SLUB_DEBUGChristoph Lameter1-5/+35
2010-10-06SLUB: Optimize slab_free() debug checkPekka Enberg1-2/+2
2010-10-02slub: Move NUMA-related functions under CONFIG_NUMANamhyung Kim1-2/+4
2010-10-02slub: Add lock release annotationNamhyung Kim1-0/+2
2010-10-02slub: Fix signedness warningsNamhyung Kim1-4/+3
2010-10-02slub: extract common code to remove objects from partial list without lockingChristoph Lameter1-8/+11
2010-10-02SLUB: Pass active and inactive redzone flags instead of boolean to debug func...Christoph Lameter1-19/+14
2010-10-02slub: reduce differences between SMP and NUMAChristoph Lameter1-38/+1
2010-10-02Revert "Slub: UP bandaid"Pekka Enberg1-16/+0
2010-10-02SLUB: Fix merged slab cache namesPekka Enberg1-1/+20
2010-10-02Slub: UP bandaidChristoph Lameter1-0/+16
2010-10-02slub: fix SLUB_RESILIENCY_TEST for dynamic kmalloc cachesDavid Rientjes1-6/+8
2010-10-02slub: Fix up missing kmalloc_cache -> kmem_cache_node case for memoryhotplugChristoph Lameter1-2/+2
2010-10-02slub: Add dummy functions for the !SLUB_DEBUG caseChristoph Lameter1-0/+12
2010-10-02slub: Move gfpflag masking out of the hotpathChristoph Lameter1-2/+3
2010-10-02slub: Extract hooks for memory checkers from hotpathsChristoph Lameter1-11/+38
2010-10-02slub: Dynamically size kmalloc cache allocationsChristoph Lameter1-53/+138
2010-10-02slub: Remove static kmem_cache_cpu array for bootChristoph Lameter1-13/+4
2010-10-02slub: Remove dynamic dma slab allocationChristoph Lameter1-111/+39
2010-10-02slub: Force no inlining of debug functionsChristoph Lameter1-3/+3
2010-08-06Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-43/+43
2010-08-04Merge branches 'slab/fixes', 'slob/fixes', 'slub/cleanups' and 'slub/fixes' i...Pekka Enberg1-43/+43
2010-08-03slub: Allow removal of slab caches during bootChristoph Lameter1-9/+15
2010-08-03Revert "slub: Allow removal of slab caches during boot"Pekka Enberg1-7/+0
2010-07-29slub numa: Fix rare allocation from unexpected nodeChristoph Lameter1-1/+1
2010-07-16slub: Use kmem_cache flags to detect if slab is in debugging mode.Christoph Lameter1-21/+12
2010-07-16slub: Allow removal of slab caches during bootChristoph Lameter1-0/+7
2010-07-16slub: Check kasprintf results in kmem_cache_init()Christoph Lameter1-3/+6
2010-07-16SLUB: Constants need ULChristoph Lameter1-2/+2
2010-07-16slub: Use a constant for a unspecified node.Christoph Lameter1-7/+7
2010-06-09Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/fre...Ingo Molnar1-1/+0
2010-06-09tracing: Remove kmemtrace ftrace pluginLi Zefan1-1/+0
2010-05-30Merge branch 'slub/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-22/+11
2010-05-25cpuset,mm: fix no node to alloc memory when changing cpuset's memsMiao Xie1-1/+5
2010-05-24slub: move kmem_cache_node into it's own cachelineAlexander Duyck1-22/+11
2010-05-22Merge branches 'slab/align', 'slab/cleanups', 'slab/fixes', 'slab/memhotadd' ...Pekka Enberg1-20/+26
2010-05-22slub: Use alloc_pages_exact_node() for page allocationMinchan Kim1-1/+1
2010-05-22slub: __kmalloc_node_track_caller should trace kmalloc_large_node caseXiaotian Feng1-2/+9
2010-05-22slub: Potential stack overflowEric Dumazet1-9/+16
2010-05-19mm: Move ARCH_SLAB_MINALIGN and ARCH_KMALLOC_MINALIGN to <linux/slub_def.h>David Woodhouse1-8/+0
2010-05-05slub: Fix bad boundary check in init_kmem_cache_nodes()Zhang, Yanmin1-1/+1
2010-04-09slub: Fix kmem_ptr_validate() for non-kernel pointersPekka Enberg1-0/+3
2010-03-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2010-03-08Merge branch 'for-next' into for-linusJiri Kosina1-1/+1
2010-03-07Driver core: Constify struct sysfs_ops in struct kobj_typeEmese Revfy1-1/+1
2010-03-07kobject: Constify struct kset_uevent_opsEmese Revfy1-1/+1
2010-03-04SLUB: Fix per-cpu merge conflictStephen Rothwell1-1/+1
2010-03-04Merge branches 'slab/cleanups', 'slab/failslab', 'slab/fixes' and 'slub/percp...Pekka Enberg1-233/+104
2010-02-26failslab: add ability to filter slab cachesDmitry Monakhov1-2/+27
2010-02-05Fix misspelling of "should" and "shouldn't" in comments.Adam Buchbinder1-1/+1
2010-01-22dma kmalloc handling fixesChristoph Lameter1-2/+3
2010-01-22slub: remove impossible conditionDavid Rientjes1-1/+1
2009-12-20SLUB: Make slub statistics use this_cpu_incChristoph Lameter1-23/+20
2009-12-20SLUB: this_cpu: Remove slub kmem_cache fieldsChristoph Lameter1-59/+17
2009-12-20SLUB: Get rid of dynamic DMA kmalloc cache allocationChristoph Lameter1-14/+10
2009-12-20SLUB: Use this_cpu operations in slubChristoph Lameter1-154/+48