aboutsummaryrefslogtreecommitdiffstats
path: root/mm/slub.c
AgeCommit message (Expand)AuthorFilesLines
2015-03-25mm/slub: fix lockups on PREEMPT && !SMP kernelsMark Rutland1-2/+4
2015-02-13mm: slub: add kernel address sanitizer support for slub allocatorAndrey Ryabinin1-2/+29
2015-02-13mm: slub: introduce metadata_access_enable()/metadata_access_disable()Andrey Ryabinin1-0/+25
2015-02-13mm: slub: share object_err functionAndrey Ryabinin1-1/+1
2015-02-13slub: use %*pb[l] to print bitmaps including cpumasks and nodemasksTejun Heo1-12/+8
2015-02-12slub: make dead caches discard free slabs immediatelyVladimir Davydov1-5/+26
2015-02-12slub: fix kmem_cache_shrink return valueVladimir Davydov1-1/+5
2015-02-12slub: never fail to shrink cacheVladimir Davydov1-27/+31
2015-02-12slab: link memcg caches of the same kind into a listVladimir Davydov1-14/+5
2015-02-12slab: embed memcg_cache_params to kmem_cacheVladimir Davydov1-2/+3
2015-02-10mm/slub.c: fix typo in commentKim Phillips1-1/+1
2015-02-10mm/slub: optimize alloc/free fastpath by removing preemption on/offJoonsoo Kim1-12/+23
2014-12-13slub: fix cpuset check in get_any_partialVladimir Davydov1-2/+1
2014-12-13memcg: fix possible use-after-free in memcg_kmem_get_cache()Vladimir Davydov1-5/+9
2014-12-11Merge branch 'for-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/c...Linus Torvalds1-1/+2
2014-12-10slab: improve checking for invalid gfp_flagsAndrew Morton1-1/+4
2014-12-10mm: slub: fix format mismatches in slab_err() callersAndrey Ryabinin1-3/+3
2014-12-10mm: slab/slub: coding style: whitespaces and tabs mixtureLQYMGT1-5/+5
2014-10-27cpuset: simplify cpuset_node_allowed APIVladimir Davydov1-1/+2
2014-10-09mm/slab_common: commonize slab merge logicJoonsoo Kim1-89/+2
2014-10-09slub: fall back to node_to_mem_node() node if allocating on memoryless nodeJoonsoo Kim1-6/+18
2014-10-09slub: disable tracing and failslab for merged slabsChristoph Lameter1-0/+11
2014-08-06slub: remove kmemcg id from create_unique_idVladimir Davydov1-6/+0
2014-08-06slab: fix the alias count (via sysfs) of slab cacheGu Zheng1-1/+1
2014-08-06mm, slub: fix some indenting in cmpxchg_double_slab()Dan Carpenter1-6/+6
2014-08-06slub: avoid duplicate creation on the first objectWei Yang1-8/+11
2014-08-06mm: slub: SLUB_DEBUG=n: use the same alloc/free hooks as for SLUB_DEBUG=yAndrey Ryabinin1-61/+36
2014-08-06mm, slub: mark resiliency_test as init textDavid Rientjes1-1/+1
2014-08-06slub: use new node functionsChristoph Lameter1-49/+29
2014-08-06slab common: add functions for kmem_cache_node accessChristoph Lameter1-5/+0
2014-07-03slub: fix off by one in number of slab testsJoonsoo Kim1-3/+3
2014-06-06slub: search partial list on numa_mem_id(), instead of numa_node_id()Joonsoo Kim1-1/+1
2014-06-04mm: replace __get_cpu_var uses with this_cpu_ptrChristoph Lameter1-3/+3
2014-06-04memcg, slab: merge memcg_{bind,release}_pages to memcg_{un}charge_slabVladimir Davydov1-2/+0
2014-06-04slab: get_online_mems for kmem_cache_{create,destroy,shrink}Vladimir Davydov1-3/+2
2014-06-04mem-hotplug: implement get/put_online_memsVladimir Davydov1-2/+2
2014-06-04mm: get rid of __GFP_KMEMCGVladimir Davydov1-3/+3
2014-06-04sl[au]b: charge slabs to kmemcg explicitlyVladimir Davydov1-7/+17
2014-06-04mm: slub: fix ALLOC_SLOWPATH statDave Hansen1-5/+3
2014-06-04mm, slab: suppress out of memory warning unless debug is enabledDavid Rientjes1-12/+17
2014-06-04mm/slub.c: convert vnsprintf-static to va_formatFabian Frederick1-7/+9
2014-06-04mm/slub.c: convert printk to pr_foo()Fabian Frederick1-72/+57
2014-05-06slub: use sysfs'es release mechanism for kmem_cacheChristoph Lameter1-22/+8
2014-05-06slub: fix memcg_propagate_slab_attrsVladimir Davydov1-4/+7
2014-04-13Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-2/+3
2014-04-07slub: use raw_cpu_inc for incrementing statisticsChristoph Lameter1-1/+5
2014-04-07slub: fix leak of 'name' in sysfs_slab_addDave Jones1-14/+15
2014-04-07slub: rework sysfs layout for memcg cachesVladimir Davydov1-1/+25
2014-04-07slub: adjust memcg caches when creating cache aliasVladimir Davydov1-0/+13
2014-04-07memcg, slab: never try to merge memcg cachesVladimir Davydov1-10/+9
2014-04-07mm, mempolicy: rename slab_node for clarityDavid Rientjes1-1/+1
2014-04-03slub: do not drop slab_mutex for sysfs_slab_addVladimir Davydov1-5/+3
2014-04-03mm: optimize put_mems_allowed() usageMel Gorman1-9/+7
2014-03-27slub: fix high order page allocation problem with __GFP_NOFAILJoonsoo Kim1-2/+3
2014-02-10slub: do not assert not having lock in removing freed partialSteven Rostedt1-12/+20
2014-02-10mm/slub.c: list_lock may not be held in some circumstancesDavid Rientjes1-4/+2
2014-02-02Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-22/+34
2014-01-31mm: slub: work around unneeded lockdep warningDave Hansen1-0/+6
2014-01-30mm/slub.c: fix page->_count corruption (again)Dave Hansen1-2/+17
2014-01-29mm/slub.c: do not VM_BUG_ON_PAGE() for temporary on-stack pagesDave Hansen1-6/+6
2014-01-23mm: dump page when hitting a VM_BUG_ON using VM_BUG_ON_PAGESasha Levin1-6/+6
2014-01-13slub: Fix possible format string bug.Tetsuo Handa1-1/+1
2014-01-13slub: use lockdep_assert_heldPeter Zijlstra1-20/+20
2013-12-29slub: Fix calculation of cpu slabsLi Zefan1-1/+7
2013-11-22Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-9/+36
2013-11-15Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2013-11-13memcg, kmem: rename cache_from_memcg to cache_from_memcg_idxQiang Huang1-1/+1
2013-11-11mm, slub: fix the typo in mm/slub.cZhi Yong Wu1-3/+3
2013-11-11slub: Handle NULL parameter in kmem_cache_flagsChristoph Lameter1-2/+2
2013-10-24slub: proper kmemleak tracking if CONFIG_SLUB_DEBUG disabledRoman Bobniev1-4/+31
2013-10-18mm: Fix some trivial typos in commentsXie XiuQi1-1/+1
2013-09-15Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/pen...Linus Torvalds1-86/+56
2013-09-11mm: replace strict_strtoul() with kstrtoul()Jingoo Han1-4/+4
2013-09-04slub: remove verify_mem_not_deleted()Christoph Lameter1-37/+0
2013-09-04mm/sl[aou]b: Move kmallocXXX functions to common codeChristoph Lameter1-8/+0
2013-08-13mm/slub.c: beautify code for removing redundancy 'break' statement.Chen Gang1-1/+0
2013-08-13slub: Remove unnecessary page NULL checkLibin1-1/+1
2013-08-08Revert "slub: do not put a slab to cpu partial list when cpu_partial is 0"Linus Torvalds1-3/+0
2013-07-17mm/slub: beautify code for 80 column limitation and tab alignmentChen Gang1-36/+56
2013-07-15mm/slub: remove 'per_cpu' which is useless variableChen Gang1-5/+1
2013-07-14kernel: delete __cpuinit usage from all core kernel filesPaul Gortmaker1-2/+2
2013-07-14Merge branch 'slab/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-11/+27
2013-07-14slub: Check for page NULL before doing the node_match checkSteven Rostedt1-1/+1
2013-07-07slub: Make cpu partial slab support configurableJoonsoo Kim1-6/+21
2013-07-07slub: do not put a slab to cpu partial list when cpu_partial is 0Joonsoo Kim1-0/+3
2013-07-07mm/slub: Use node_nr_slabs and node_nr_objs in get_slabinfoWanpeng Li1-2/+2
2013-07-07mm/slub: Drop unnecessary nr_partialsWanpeng Li1-2/+0
2013-05-07Merge branch 'slab/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-181/+40
2013-05-07Merge branch 'slab/next' into slab/for-linusPekka Enberg1-181/+40
2013-04-29mm/slub.c: use register_hotmemory_notifier()Andrew Morton1-3/+6
2013-04-05slub: tid must be retrieved from the percpu area of the current processorChristoph Lameter1-3/+9
2013-04-05slub: Do not dereference NULL pointer in node_matchChristoph Lameter1-1/+1
2013-04-02slub: add 'likely' macro to inc_slabs_node()Joonsoo Kim1-1/+1
2013-04-02slub: correct to calculate num of acquired objects in get_partial_node()Joonsoo Kim1-8/+9
2013-02-28slub: correctly bootstrap boot cachesGlauber Costa1-0/+6
2013-02-25Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2013-02-23mm: rename page struct field helpersMel Gorman1-1/+1
2013-02-01slab: Common Kmalloc cache determinationChristoph Lameter1-103/+5
2013-02-01slab: Common function to create the kmalloc arrayChristoph Lameter1-52/+3
2013-02-01slab: Common definition for the array of kmalloc cachesChristoph Lameter1-7/+0
2013-02-01slab: Common constants for kmalloc boundariesChristoph Lameter1-11/+11
2013-01-21taint: add explicit flag to show whether lock dep is still OK.Rusty Russell1-1/+1
2012-12-18slub: drop mutex before deleting sysfs entryGlauber Costa1-1/+12
2012-12-18memcg: add comments clarifying aspects of cache attribute propagationGlauber Costa1-4/+17
2012-12-18slub: slub-specific propagation changesGlauber Costa1-1/+75
2012-12-18memcg: destroy memcg cachesGlauber Costa1-1/+6
2012-12-18sl[au]b: allocate objects from memcg cacheGlauber Costa1-3/+4
2012-12-18sl[au]b: always get the cache from its page in kmem_cache_free()Glauber Costa1-12/+3
2012-12-18slab/slub: consider a memcg parameter in kmem_create_cacheGlauber Costa1-4/+15
2012-12-18Merge branch 'slab/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-231/+70
2012-12-11slub, hotplug: ignore unrelated node's hot-adding and hot-removingLai Jiangshan1-2/+2
2012-12-11mm/sl[aou]b: Common alignment codeChristoph Lameter1-37/+1
2012-12-11slub: Use statically allocated kmem_cache boot structure for bootstrapChristoph Lameter1-47/+20
2012-12-11mm, sl[au]b: create common functions for boot slab creationChristoph Lameter1-32/+5
2012-12-11slub: Use correct cpu_slab on dead cpuChristoph Lameter1-5/+7
2012-10-31slab: Ignore internal flags in cache creationGlauber Costa1-3/+0
2012-10-31mm/sl[aou]b: Move common kmem_cache_size() to slab.hEzequiel Garcia1-9/+0
2012-10-24slub: Commonize slab_cache field in struct pageGlauber Costa1-12/+12
2012-10-24Merge branch 'slab/procfs' into slab/nextPekka Enberg1-66/+11
2012-10-24sl[au]b: Process slabinfo_show in common codeGlauber Costa1-14/+10
2012-10-24mm/sl[au]b: Move print_slabinfo_header to slab_common.cGlauber Costa1-10/+0
2012-10-24mm/sl[au]b: Move slabinfo processing to slab_common.cGlauber Costa1-46/+5
2012-10-19slub: remove one code path and reduce lock contention in __slab_free()Joonsoo Kim1-20/+14
2012-10-03Merge branch 'slab/common-for-cgroups' into slab/for-linusPekka Enberg1-89/+56
2012-10-03Merge branch 'slab/next' into slab/for-linusPekka Enberg1-24/+39
2012-10-03slub: init_kmem_cache_cpus() and put_cpu_partial() can be staticFengguang Wu1-2/+2
2012-09-25mm, slub: Rename slab_alloc() -> slab_alloc_node() to match SLABEzequiel Garcia1-9/+15
2012-09-19mm, sl[au]b: Taint kernel when we detect a corrupted slabDave Jones1-0/+2
2012-09-17slub: consider pfmemalloc_match() in get_partial_node()Joonsoo Kim1-5/+10
2012-09-10slub: Zero initial memory segment for kmem_cache and kmem_cache_nodeChristoph Lameter1-1/+1
2012-09-05Revert "mm/sl[aou]b: Move sysfs_slab_add to common"Pekka Enberg1-2/+17
2012-09-05mm/sl[aou]b: Move kmem_cache refcounting to common codeChristoph Lameter1-1/+0
2012-09-05mm/sl[aou]b: Shrink __kmem_cache_create() parameter listsChristoph Lameter1-21/+18
2012-09-05mm/sl[aou]b: Move kmem_cache allocations into common codeChristoph Lameter1-17/+7
2012-09-05mm/sl[aou]b: Move sysfs_slab_add to commonChristoph Lameter1-13/+2
2012-09-05mm/sl[aou]b: Do slab aliasing call from common codeChristoph Lameter1-4/+11
2012-09-05mm/sl[aou]b: Move duping of slab name to slab_common.cChristoph Lameter1-19/+2
2012-09-05mm/sl[aou]b: Get rid of __kmem_cache_destroyChristoph Lameter1-5/+5
2012-09-05mm/sl[aou]b: Move freeing of kmem_cache structure to common codeChristoph Lameter1-2/+0
2012-09-05mm/sl[aou]b: Use "kmem_cache" name for slab cache with kmem_cache structChristoph Lameter1-2/+0
2012-09-05mm/sl[aou]b: Extract a common function for kmem_cache_destroyChristoph Lameter1-25/+11
2012-09-05mm/sl[aou]b: Move list_add() to slab_common.cChristoph Lameter1-2/+0
2012-09-05mm/slub: Use kmem_cache for the kmem_cache structureChristoph Lameter1-4/+4
2012-09-05mm/slub: Add debugging to verify correct cache use on kmem_cache_free()Christoph Lameter1-0/+7
2012-08-16slub: reduce failure of this_cpu_cmpxchg in put_cpu_partial() after unfreezingJoonsoo Kim1-0/+1
2012-08-16slub: Take node lock during object free checksChristoph Lameter1-12/+18
2012-08-16slub: use free_page instead of put_page for freeing kmalloc allocationGlauber Costa1-1/+1
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