The patch titled slab-consolidate-code-to-free-slabs-from-freelist fix has been removed from the -mm tree. Its filename is slab-consolidate-code-to-free-slabs-from-freelist-fix.patch This patch was dropped because it was folded into slab-consolidate-code-to-free-slabs-from-freelist.patch ------------------------------------------------------ Subject: slab-consolidate-code-to-free-slabs-from-freelist fix From: Andrew Morton <akpm@xxxxxxxx> mm/slab.c: In function 'cpuup_callback': mm/slab.c:1248: warning: implicit declaration of function 'drain_freelist' mm/slab.c: At top level: mm/slab.c:2286: error: conflicting types for 'drain_freelist' mm/slab.c:1248: error: previous implicit declaration of 'drain_freelist' was here Also, consolidate those forward decls a bit. And don't declare drain_freelist() to return `int long'. Cc: Christoph Lameter <clameter@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- mm/slab.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff -puN mm/slab.c~slab-consolidate-code-to-free-slabs-from-freelist-fix mm/slab.c --- a/mm/slab.c~slab-consolidate-code-to-free-slabs-from-freelist-fix +++ a/mm/slab.c @@ -309,6 +309,13 @@ struct kmem_list3 __initdata initkmem_li #define SIZE_AC 1 #define SIZE_L3 (1 + MAX_NUMNODES) +static int drain_freelist(struct kmem_cache *cache, + struct kmem_list3 *l3, int tofree); +static void free_block(struct kmem_cache *cachep, void **objpp, int len, + int node); +static void enable_cpucache(struct kmem_cache *cachep); +static void cache_reap(void *unused); + /* * This function must be completely optimized away if a constant is passed to * it. Mostly the same as what is in linux/slab.h except it returns an index. @@ -700,11 +707,6 @@ int slab_is_available(void) static DEFINE_PER_CPU(struct work_struct, reap_work); -static void free_block(struct kmem_cache *cachep, void **objpp, int len, - int node); -static void enable_cpucache(struct kmem_cache *cachep); -static void cache_reap(void *unused); - static inline struct array_cache *cpu_cache_get(struct kmem_cache *cachep) { return cachep->array[smp_processor_id()]; @@ -2250,8 +2252,8 @@ static void drain_cpu_caches(struct kmem * * Returns the actual number of slabs released. */ -static int long drain_freelist(struct kmem_cache *cache, - struct kmem_list3 *l3, int tofree) +static int drain_freelist(struct kmem_cache *cache, + struct kmem_list3 *l3, int tofree) { struct list_head *p; int nr_freed; @@ -2285,7 +2287,6 @@ out: return nr_freed; } - static int __cache_shrink(struct kmem_cache *cachep) { int ret = 0, i = 0; _ Patches currently in -mm which might be from akpm@xxxxxxxx are origin.patch msrc-use-register_hotcpu_notifier.patch zoned-vm-counters-create-vmstatc-h-from-page_allocc-h.patch zoned-vm-counters-basic-zvc-zoned-vm-counter-implementation.patch zoned-vm-counters-convert-nr_mapped-to-per-zone-counter.patch zoned-vm-counters-remove-nr_file_mapped-from-scan-control-structure.patch zoned-vm-counters-conversion-of-nr_slab-to-per-zone-counter.patch zoned-vm-counters-conversion-of-nr_pagetables-to-per-zone-counter.patch zoned-vm-counters-conversion-of-nr_dirty-to-per-zone-counter.patch zoned-vm-counters-conversion-of-nr_writeback-to-per-zone-counter.patch zoned-vm-counters-conversion-of-nr_unstable-to-per-zone-counter.patch zoned-vm-counters-conversion-of-nr_bounce-to-per-zone-counter.patch zoned-vm-counters-remove-read_page_state.patch slab-consolidate-code-to-free-slabs-from-freelist.patch slab-consolidate-code-to-free-slabs-from-freelist-fix.patch acx1xx-wireless-driver.patch tiacx-pci-build-fix.patch tiacx-ia64-fix.patch add-smp_setup_processor_id.patch deprecate-smbfs-in-favour-of-cifs.patch cond_resched-fix.patch rtc-class-driver-for-samsung-s3c-series-soc-tidy.patch reiserfs-on-demand-bitmap-loading-fix.patch per-task-delay-accounting-proc-export-of-aggregated-block-i-o-delays-warning-fix.patch delay-accounting-taskstats-interface-send-tgid-once-fixes.patch sched-clean-up-fallout-of-recent-changes-fix.patch sched-clean-up-fallout-of-recent-changes-fix-fix-fix.patch swap_prefetch-vs-zoned-counters.patch mark-address_space_operations-const-vs-ecryptfs-mmap-operations.patch ecryptfs-alpha-build-fix.patch ecryptfs-more-elegant-aes-key-size-manipulation-tidy.patch ecryptfs-get_sb_dev-fix.patch namespaces-add-nsproxy-dont-include-compileh.patch namespaces-utsname-switch-to-using-uts-namespaces-alpha-fix.patch namespaces-utsname-use-init_utsname-when-appropriate-cifs-update.patch namespaces-utsname-implement-utsname-namespaces-export.patch namespaces-utsname-implement-utsname-namespaces-dont-include-compileh.patch namespaces-utsname-sysctl-hack-cleanup-2-fix.patch ipc-namespace-core-fix.patch task-watchers-task-watchers-tidy.patch task-watchers-add-support-for-per-task-watchers-warning-fix.patch readahead-sysctl-parameters-fix.patch make-copy_from_user_inatomic-not-zero-the-tail-on-i386-vs-reiser4.patch reiser4-hardirq-include-fix.patch reiser4-run-truncate_inode_pages-in-reiser4_delete_inode.patch reiser4-get_sb_dev-fix.patch reiser4-vs-zoned-allocator.patch hpt3xx-rework-rate-filtering-tidy.patch lockdep-add-disable-enable_irq_lockdep-api.patch lockdep-irqtrace-subsystem-x86_64-support.patch genirq-convert-the-i386-architecture-to-irq-chips-fix-2.patch genirq-msi-simplify-msi-enable-and-disable-fix.patch genirq-i386-irq-remove-the-msi-assumption-that-irq-==-vector-fix-tidies.patch srcu-rcu-variant-permitting-read-side-blocking-fixes.patch srcu-add-srcu-operations-to-rcutorture-fix.patch srcu-2-add-srcu-operations-to-rcutorture-fix.patch make-more-file_operation-structs-static-fix.patch nr_blockdev_pages-in_interrupt-warning.patch device-suspend-debug.patch revert-tty-buffering-comment-out-debug-code.patch slab-leaks3-default-y.patch x86-kmap_atomic-debugging.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html