History

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu: (46 commits) powerpc64: convert to dynamic percpu allocator sparc64: use embedding percpu first chunk allocator percpu: kill lpage first chunk allocator x86,percpu: use embedding for 64bit NUMA and page for 32bit NUMA percpu: update embedding first chunk allocator to handle sparse units percpu: use group information to allocate vmap areas sparsely vmalloc: implement pcpu_get_vm_areas() vmalloc: separate out insert_vmalloc_vm() percpu: add chunk->base_addr percpu: add pcpu_unit_offsets[] percpu: introduce pcpu_alloc_info and pcpu_group_info percpu: move pcpu_lpage_build_unit_map() and pcpul_lpage_dump_cfg() upward percpu: add @align to pcpu_fc_alloc_fn_t percpu: make @dyn_size mandatory for pcpu_setup_first_chunk() percpu: drop @static_size from first chunk allocators percpu: generalize first chunk allocator selection percpu: build first chunk allocators selectively percpu: rename 4k first chunk allocator to page percpu: improve boot messages percpu: fix pcpu_reclaim() locking ... Fix trivial conflict as by Tejun Heo in kernel/sched.c

Linus Torvalds committed 17 years ago

Commit ada3fa12 parents 2f82af0 5579fd780 files · +1910 −1228Browse files

Showing the changes to kernel/module.c (1 of 80 files). Show all

Unified · Split

kernel/module.c+3−3
@@ -369,7 +369,7 @@ EXPORT_SYMBOL_GPL(find_module); · 368 unmodified lines
369369
370370 #ifdef CONFIG_SMP
371371
372−#ifdef CONFIG_HAVE_DYNAMIC_PER_CPU_AREA
372+#ifndef CONFIG_HAVE_LEGACY_PER_CPU_AREA
373373
374374 static void *percpu_modalloc(unsigned long size, unsigned long align,
375375 const char *name)
@@ -394,7 +394,7 @@ static void percpu_modfree(void *freeme) · 18 unmodified lines
394394 free_percpu(freeme);
395395 }
396396
397−#else /* ... !CONFIG_HAVE_DYNAMIC_PER_CPU_AREA */
397+#else /* ... CONFIG_HAVE_LEGACY_PER_CPU_AREA */
398398
399399 /* Number of blocks used and allocated. */
400400 static unsigned int pcpu_num_used, pcpu_num_allocated;
@@ -540,7 +540,7 @@ static int percpu_modinit(void) · 139 unmodified lines
540540 }
541541 __initcall(percpu_modinit);
542542
543−#endif /* CONFIG_HAVE_DYNAMIC_PER_CPU_AREA */
543+#endif /* CONFIG_HAVE_LEGACY_PER_CPU_AREA */
544544
545545 static unsigned int find_pcpusec(Elf_Ehdr *hdr,
546546 Elf_Shdr *sechdrs,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t