An error occurred while fetching folder content.
mm/memblock: introduce for_each_memblock_type()
Alexander Kuleshov authored
We already have the for_each_memblock() macro in <linux/memblock.h>
which provides ability to iterate over memblock regions of a known type.
The for_each_memblock() macro allows us to pass the pointer to the
struct memblock_type, instead we need to pass name of the type.

This patch introduces a new macro for_each_memblock_type() which allows
us iterate over memblock regions with the given type when the type is
unknown.
Signed-off-by: default avatarAlexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
8c9c1701
Name Last commit Last update
..
kasan kasan: fix kmemleak false-positive in kasan_module_alloc()
Kconfig mm: make compound_head() robust
Kconfig.debug mm/debug_pagealloc: remove obsolete Kconfig options
Makefile Merge tag 'media/v4.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
backing-dev.c mm, vmstat: allow WQ concurrency to discover memory reclaim doesn't make any progress
balloon_compaction.c mm: page migration trylock newpage at same level as oldpage
bootmem.c x86/mm: Introduce max_possible_pfn
cleancache.c cleancache: remove limit on the number of cleancache enabled filesystems
cma.c mm/cma.c: suppress warning
cma.h mm: cma: mark cma_bitmap_maxno() inline in header
cma_debug.c mm/cma_debug: correct size input to bitmap function
compaction.c mm/compaction: improve comment for compact_memory tunable knob handler
debug-pagealloc.c mm/debug-pagealloc: make debug-pagealloc boottime configurable
debug.c mm: make compound_head() robust
dmapool.c mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd
early_ioremap.c mm/early_ioremap: use offset_in_page macro
fadvise.c writeback: implement and use inode_congested()
failslab.c mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIM
filemap.c mm: allow GFP_{FS,IO} for page_cache_read page cache allocation
frame_vector.c mm: fix docbook comment for get_vaddr_frames()
frontswap.c frontswap: allow multiple backends
gup.c mm: introduce VM_LOCKONFAULT
highmem.c mm/highmem: make kmap cache coloring aware
huge_memory.c mm: loosen MADV_NOHUGEPAGE to enable Qemu postcopy on s390
hugetlb.c mm/hugetlb.c: fix resv map memory leak for placeholder entries
hugetlb_cgroup.c mm: make compound_head() robust
hwpoison-inject.c hwpoison: use page_cgroup_ino for filtering by memcg
init-mm.c atomic: use <linux/atomic.h>
internal.h mm: use 'unsigned int' for page order
interval_tree.c mm: replace vma->sharead.linear with vma->shared
kmemcheck.c mm/slab_common: move kmem_cache definition to internal header
kmemleak-test.c mm/kmemleak-test.c: use pr_fmt for logging
kmemleak.c Revert "gfp: add __GFP_NOACCOUNT"
ksm.c ksm: unstable_tree_search_insert error checking cleanup
list_lru.c memcg: simplify and inline __mem_cgroup_from_kmem
maccess.c mm/maccess.c: actually return -EFAULT from strncpy_from_unsafe
madvise.c mm: madvise allow remove operation for hugetlbfs
memblock.c mm/memblock: introduce for_each_memblock_type()
memcontrol.c memcg: do not allow to disable tcp accounting after limit is set
memory-failure.c mm: make compound_head() robust
memory.c mm: allow GFP_{FS,IO} for page_cache_read page cache allocation
memory_hotplug.c mm/memory_hotplug.c: check for missing sections in test_pages_in_a_zone()
mempolicy.c mm/mempolicy.c: convert the shared_policy lock to a rwlock
mempool.c mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd
memtest.c memtest: remove unused header files
migrate.c mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIM
mincore.c mm/mincore: use offset_in_page macro
mlock.c mm/mlock.c: drop unneeded initialization in munlock_vma_pages_range()
mm_init.c mm: meminit: remove mminit_verify_page_links
mmap.c mm: mmap: add new /proc tunable for mmap_base ASLR
mmu_context.c
mmu_notifier.c
mmzone.c
mprotect.c
mremap.c
msync.c
nobootmem.c
nommu.c
oom_kill.c
page-writeback.c
page_alloc.c
page_counter.c
page_ext.c
page_idle.c
page_io.c
page_isolation.c
page_owner.c
pagewalk.c
percpu-km.c
percpu-vm.c
percpu.c
pgtable-generic.c
process_vm_access.c
quicklist.c
readahead.c
rmap.c
shmem.c
slab.c
slab.h
slab_common.c
slob.c
slub.c
sparse-vmemmap.c
sparse.c
swap.c
swap_cgroup.c
swap_state.c
swapfile.c
truncate.c
userfaultfd.c
util.c
vmacache.c
vmalloc.c
vmpressure.c
vmscan.c
vmstat.c
workingset.c
zbud.c
zpool.c
zsmalloc.c