Home
last modified time | relevance | path

Searched refs:highmem (Results 1 – 50 of 50) sorted by relevance

/linux-4.1.27/lib/
Dshow_mem.c15 unsigned long total = 0, reserved = 0, highmem = 0; in show_mem() local
34 highmem += zone->present_pages; in show_mem()
40 printk("%lu pages HighMem/MovableOnly\n", highmem); in show_mem()
/linux-4.1.27/arch/um/kernel/
Dphysmem.c26 unsigned long highmem) in mem_total_pages() argument
33 highmem_pages = highmem >> PAGE_SHIFT; in mem_total_pages()
81 unsigned long len, unsigned long long highmem) in setup_physmem() argument
98 physmem_fd = create_mem_file(len + highmem); in setup_physmem()
143 else if (phys < __pa(end_iomem) + highmem) { in phys_mapping()
Dum_arch.c304 highmem = 0; in linux_main()
314 highmem = physmem_size + iomem_size - max_physmem; in linux_main()
315 physmem_size -= highmem; in linux_main()
324 setup_physmem(uml_physmem, uml_reserved, physmem_size, highmem); in linux_main()
325 mem_total_pages(physmem_size, iomem_size, highmem); in linux_main()
Dmem.c35 unsigned long long highmem; variable
/linux-4.1.27/arch/um/include/shared/
Dmem_user.h53 unsigned long highmem);
56 unsigned long len, unsigned long long highmem);
Das-layout.h52 extern unsigned long long highmem;
/linux-4.1.27/tools/testing/fault-injection/
Dfailcmd.sh51 --ignore-gfp-highmem=value, --min-order=value
93 LONGOPTS=$LONGOPTS,ignore-gfp-wait:,ignore-gfp-highmem:,min-order:
189 --ignore-gfp-highmem)
190 echo $2 > $FAULTATTR/ignore-gfp-highmem
/linux-4.1.27/Documentation/vm/
D00-INDEX11 highmem.txt
12 - Outline of highmem and common issues.
Dhighmem.txt25 High memory (highmem) is used when the size of physical memory approaches or
32 refer to as 'highmem'. There are various architecture dependent constraints on
136 highmem. In such a case, the arithmetic approach will also be used.
Dbalance21 or not). A similar argument applies to highmem and direct mapped pages.
70 need to balance the highmem zone, since intr context does not request
71 highmem pages. kswapd looks at the zone_wake_kswapd field in the zone
/linux-4.1.27/arch/microblaze/mm/
DMakefile8 obj-$(CONFIG_HIGHMEM) += highmem.o
/linux-4.1.27/drivers/xen/
Dballoon.c531 int alloc_xenballooned_pages(int nr_pages, struct page **pages, bool highmem) in alloc_xenballooned_pages() argument
537 page = balloon_retrieve(highmem); in alloc_xenballooned_pages()
538 if (page && (highmem || !PageHighMem(page))) { in alloc_xenballooned_pages()
545 highmem ? GFP_HIGHUSER : GFP_USER); in alloc_xenballooned_pages()
/linux-4.1.27/arch/xtensa/mm/
DMakefile7 obj-$(CONFIG_HIGHMEM) += highmem.o
/linux-4.1.27/arch/tile/mm/
DMakefile9 obj-$(CONFIG_HIGHMEM) += highmem.o
/linux-4.1.27/arch/frv/mm/
DMakefile8 pgalloc.o highmem.o fault.o extable.o cache-page.o tlb-flush.o tlb-miss.o \
/linux-4.1.27/include/xen/
Dballoon.h29 bool highmem);
/linux-4.1.27/arch/metag/mm/
DMakefile16 obj-$(CONFIG_HIGHMEM) += highmem.o
/linux-4.1.27/arch/unicore32/include/asm/
Dmemblock.h24 unsigned int highmem; member
/linux-4.1.27/arch/sparc/mm/
DMakefile19 obj-$(CONFIG_HIGHMEM) += highmem.o
/linux-4.1.27/arch/powerpc/mm/
DMakefile37 obj-$(CONFIG_HIGHMEM) += highmem.o
/linux-4.1.27/arch/mips/mm/
DMakefile17 obj-$(CONFIG_HIGHMEM) += highmem.o
/linux-4.1.27/kernel/power/
Dsnapshot.c1432 unsigned long highmem, in preallocate_highmem_fraction() argument
1435 unsigned long alloc = __fraction(nr_pages, highmem, total); in preallocate_highmem_fraction()
1446 unsigned long highmem, in preallocate_highmem_fraction() argument
1562 unsigned long saveable, size, max_size, count, highmem, pages = 0; in hibernate_preallocate_memory() local
1591 highmem = save_highmem; in hibernate_preallocate_memory()
1596 highmem += zone_page_state(zone, NR_FREE_PAGES); in hibernate_preallocate_memory()
1601 count += highmem; in hibernate_preallocate_memory()
1654 pages_highmem = preallocate_image_highmem(highmem / 2); in hibernate_preallocate_memory()
1681 size = preallocate_highmem_fraction(alloc, highmem, count); in hibernate_preallocate_memory()
/linux-4.1.27/Documentation/fault-injection/
Dfault-injection.txt98 - /sys/kernel/debug/fail_page_alloc/ignore-gfp-highmem:
102 highmem/user allocations.
235 echo 1 > /sys/kernel/debug/$FAILTYPE/ignore-gfp-highmem
/linux-4.1.27/drivers/media/v4l2-core/
Dvideobuf-dma-sg.c110 goto highmem; in videobuf_pages_to_sg()
118 goto highmem; in videobuf_pages_to_sg()
129 highmem: in videobuf_pages_to_sg()
/linux-4.1.27/mm/
DMakefile9 mmu-$(CONFIG_MMU) := gup.o highmem.o memory.o mincore.o \
/linux-4.1.27/drivers/mmc/card/
Dmmc_test.c148 struct page *highmem; member
1332 sg_set_page(&sg, test->highmem, 512, 0); in mmc_test_write_high()
1347 sg_set_page(&sg, test->highmem, 512, 0); in mmc_test_read_high()
1374 sg_set_page(&sg, test->highmem, size, 0); in mmc_test_multi_write_high()
1401 sg_set_page(&sg, test->highmem, size, 0); in mmc_test_multi_read_high()
2871 test->highmem = alloc_pages(GFP_KERNEL | __GFP_HIGHMEM, BUFFER_ORDER);
2875 if (test->buffer && test->highmem) {
2885 __free_pages(test->highmem, BUFFER_ORDER);
/linux-4.1.27/arch/arm/mm/
Dmmu.c1072 int highmem = 0; in sanity_check_meminfo() local
1082 highmem = 1; in sanity_check_meminfo()
1089 if (highmem) { in sanity_check_meminfo()
1106 if (!highmem) { in sanity_check_meminfo()
DMakefile19 obj-$(CONFIG_HIGHMEM) += highmem.o
/linux-4.1.27/arch/unicore32/mm/
Dinit.c124 if (bank->highmem) in find_limits()
/linux-4.1.27/drivers/dma/sh/
Drcar-dmac.c834 bool highmem = false; in rcar_dmac_chan_prep_sg() local
880 highmem = true; in rcar_dmac_chan_prep_sg()
928 desc->hwdescs.use = !highmem && nchunks > 1; in rcar_dmac_chan_prep_sg()
/linux-4.1.27/Documentation/sysctl/
Dvm.txt286 For some specialised workloads on highmem machines it is dangerous for
291 And on large highmem machines this lack of reclaimable lowmem memory
295 which _could_ use highmem from using too much lowmem. This means that
301 highmem or lowmem).
306 If you have a machine which uses highmem or ISA DMA and your
/linux-4.1.27/Documentation/usb/
Ddma.txt77 pass a highmem buffer into a USB driver. That's easy; it's the default
/linux-4.1.27/arch/powerpc/kernel/
Dprom_init.c1015 int highmem) in alloc_down() argument
1020 highmem ? "(high)" : "(low)"); in alloc_down()
1024 if (highmem) { in alloc_down()
/linux-4.1.27/Documentation/filesystems/
Dtmpfs.txt66 machine with highmem) the number of lowmem RAM pages,
DLocking391 highmem, fs/buffer.c, and fs/ntfs/aops.c are providing these. Block devices
Dproc.txt805 16GB PIII, which has highmem enabled. You may not have all of these fields.
874 highmem can be used for, but it is also available for the
/linux-4.1.27/arch/frv/
DKconfig94 bool "Allocate page tables in highmem"
/linux-4.1.27/Documentation/
Dcachetlb.txt208 highmem. It will be called right before all of the kmaps
215 This routing should be implemented in asm/highmem.h
Ddma-buf-sharing.txt276 To support dma_buf objects residing in highmem cpu access is page-based using
Dkernel-parameters.txt1241 highmem=nn[KMG] [KNL,BOOT] forces the highmem zone to have an exact
1243 highmem otherwise. This also works to reduce highmem
/linux-4.1.27/Documentation/power/
Dswsusp.txt154 highmem and preemption. It also has a extensible architecture that
317 A: It should work okay with highmem.
/linux-4.1.27/drivers/block/
DKconfig405 allocated from highmem (only a problem for highmem systems).
/linux-4.1.27/arch/mips/
DKconfig2357 # - The current highmem code will only work properly on physically indexed
2360 # moment we protect the user and offer the highmem option only on machines
2361 # where it's known to be safe. This will not offer highmem on a few systems
2364 # - We use SYS_SUPPORTS_HIGHMEM to offer highmem only for systems where we
2365 # know they might have memory configurations that could make use of highmem
/linux-4.1.27/Documentation/block/
Dbiodoc.txt130 Enable I/O to highmem pages, dma_address being the
131 limit. No highmem default.
204 GFP flags) when allocating bounce buffers, to avoid certain highmem
221 routine on its own to bounce highmem i/o to low memory for specific requests
1140 transfer a virtual mapping is needed. If the driver supports highmem I/O,
/linux-4.1.27/Documentation/frv/
Dmmu-layout.txt87 To access pages in the page cache (which may not be directly accessible if highmem is available),
/linux-4.1.27/drivers/net/ethernet/marvell/
Dskge.c3846 int highmem) in skge_devinit() argument
3860 if (highmem) in skge_devinit()
Dsky2.c4749 int highmem, int wol) in sky2_init_netdev() argument
4796 if (highmem) in sky2_init_netdev()
/linux-4.1.27/arch/arm/
DKconfig1663 bool "Allocate 2nd-level pagetables from highmem"
/linux-4.1.27/arch/x86/
DKconfig1436 bool "Allocate 3rd-level pagetables from highmem"
/linux-4.1.27/
DCREDITS155 D: highmem I/O support