/linux/tools/testing/selftests/memory-hotplug/ |
A D | mem-on-off-test.sh | 25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then 30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then 43 for memory in $SYSFS/devices/system/memory/memory*; do 63 grep -q online $SYSFS/devices/system/memory/memory$1/state 68 grep -q offline $SYSFS/devices/system/memory/memory$1/state 73 echo online > $SYSFS/devices/system/memory/memory$1/state 78 echo offline > $SYSFS/devices/system/memory/memory$1/state 83 local memory=$1 97 local memory=$1 111 local memory=$1 [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/fsl/ |
A D | fsl,ddr.yaml | 7 title: Freescale DDR memory controller 27 - fsl,bsc9132-memory-controller 28 - fsl,8540-memory-controller 29 - fsl,8541-memory-controller 30 - fsl,8544-memory-controller 31 - fsl,8548-memory-controller 32 - fsl,8555-memory-controller 33 - fsl,8568-memory-controller 45 - fsl,p1020-memory-controller 71 memory-controller@2000 { [all …]
|
/linux/Documentation/admin-guide/mm/ |
A D | memory-hotplug.rst | 23 downgrading the memory capacity. This dynamic memory resizing, sometimes 69 phase, the memory is visible in memory statistics, such as free and total 142 make use of that memory: the memory block has to be "online". 145 the memory block: the memory block has to be "offlined". 151 memory. 204 memory blocks only. 214 memory blocks; if onlining fails, memory blocks are removed again. 319 however, a memory block might span memory holes. A memory block spanning memory 362 that memory provided by a memory block is managed by 437 memory. [all …]
|
A D | numaperf.rst | 12 A system supports such heterogeneous memory by grouping each memory type 15 are provided as memory only nodes. While memory only nodes do not provide 18 nodes with local memory and a memory only node for each of compute node:: 30 CPUs or separate memory I/O devices that can initiate memory requests. 41 memory targets. 53 A memory initiator may have multiple memory targets in the same access 97 memory activity. 105 slower performing memory cached by a smaller higher performing memory. The 111 The term "far memory" is used to denote the last level memory in the 119 level memory, so the higher numbered cache level corresponds to memory [all …]
|
A D | concepts.rst | 9 systems from MMU-less microcontrollers to supercomputers. The memory 23 the amount of memory that can be installed. The physical memory is not 32 The virtual memory abstracts the details of physical memory from the 37 With virtual memory, each and every memory access uses a virtual 41 memory controller can understand. 69 The address translation requires several memory accesses and memory 106 memory exceeds the maximal addressable size of virtual memory and 146 The `anonymous memory` or `anonymous mappings` represent memory that 163 memory allocated by user space processes etc. 170 reclaimable pages are page cache and anonymous memory. [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
A D | memory.c | 39 kfree(memory->tags); in nvkm_memory_tags_put() 40 memory->tags = NULL; in nvkm_memory_tags_put() 103 memory->func = func; in nvkm_memory_ctor() 110 struct nvkm_memory *memory = container_of(kref, typeof(*memory), kref); in nvkm_memory_del() local 112 if (memory->func->dtor) in nvkm_memory_del() 113 memory = memory->func->dtor(memory); in nvkm_memory_del() 114 kfree(memory); in nvkm_memory_del() 122 if (memory) { in nvkm_memory_unref() 131 if (memory) in nvkm_memory_ref() 133 return memory; in nvkm_memory_ref() [all …]
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-devices-memory | 1 What: /sys/devices/system/memory 9 Users: hotplug memory add/remove tools 12 What: /sys/devices/system/memory/memoryX/removable 20 Users: hotplug memory remove tools 40 memory section directory name. 66 Users: hotplug memory remove tools 77 For online memory blocks, it returns in which zone memory 80 and the memory block cannot be offlined. 82 For offline memory blocks, it returns by which zone memory 87 memory block. [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
A D | mem.c | 31 struct nvkm_memory memory; member 45 return nvkm_mem(memory)->target; in nvkm_mem_target() 49 nvkm_mem_page(struct nvkm_memory *memory) in nvkm_mem_page() argument 75 .memory = &mem->memory, in nvkm_mem_map_dma() 115 .memory = &mem->memory, in nvkm_mem_map_sgl() 170 *pmemory = &mem->memory; in nvkm_mem_new_host() 227 struct nvkm_memory *memory = NULL; in nvkm_mem_new_type() local 232 argv, argc, &memory); in nvkm_mem_new_type() 235 argv, argc, &memory); in nvkm_mem_new_type() 239 nvkm_memory_unref(&memory); in nvkm_mem_new_type() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
A D | nv50.c | 124 struct nvkm_memory *memory = &iobj->base.memory; in nv50_instobj_kmap() local 128 u64 size = nvkm_memory_size(memory); in nv50_instobj_kmap() 145 nvkm_memory_addr(&eobj->base.memory), in nv50_instobj_kmap() 146 nvkm_memory_size(&eobj->base.memory), in nv50_instobj_kmap() 186 memory = nv50_instobj(memory)->ram; in nv50_instobj_map() 210 iobj->base.memory.ptrs = NULL; in nv50_instobj_release() 280 nv50_instobj_size(struct nvkm_memory *memory) in nv50_instobj_size() argument 286 nv50_instobj_addr(struct nvkm_memory *memory) in nv50_instobj_addr() argument 292 nv50_instobj_bar2(struct nvkm_memory *memory) in nv50_instobj_bar2() argument 300 nv50_instobj_release(&iobj->base.memory); in nv50_instobj_bar2() [all …]
|
A D | base.c | 34 struct nvkm_memory *memory = &iobj->memory; in nvkm_instobj_load() local 39 if (!(map = nvkm_kmap(memory))) { in nvkm_instobj_load() 45 nvkm_done(memory); in nvkm_instobj_load() 54 struct nvkm_memory *memory = &iobj->memory; in nvkm_instobj_save() local 63 if (!(map = nvkm_kmap(memory))) { in nvkm_instobj_save() 69 nvkm_done(memory); in nvkm_instobj_save() 97 struct nvkm_memory *memory = NULL; in nvkm_instobj_new() local 108 zero, nvkm_memory_addr(memory), nvkm_memory_size(memory)); in nvkm_instobj_new() 118 nvkm_done(memory); in nvkm_instobj_new() 123 nvkm_memory_unref(&memory); in nvkm_instobj_new() [all …]
|
A D | gk20a.c | 52 struct nvkm_memory memory; member 116 gk20a_instobj_target(struct nvkm_memory *memory) in gk20a_instobj_target() argument 122 gk20a_instobj_page(struct nvkm_memory *memory) in gk20a_instobj_page() argument 128 gk20a_instobj_addr(struct nvkm_memory *memory) in gk20a_instobj_addr() argument 134 gk20a_instobj_size(struct nvkm_memory *memory) in gk20a_instobj_size() argument 191 const u64 size = nvkm_memory_size(memory); in gk20a_instobj_acquire_iommu() 286 .memory = &node->memory, in gk20a_instobj_map() 295 gk20a_instobj_dtor_dma(struct nvkm_memory *memory) in gk20a_instobj_dtor_dma() argument 395 node->base.memory.ptrs = &gk20a_instobj_ptrs; in gk20a_instobj_ctor_dma() 442 node->base.memory.ptrs = &gk20a_instobj_ptrs; in gk20a_instobj_ctor_iommu() [all …]
|
A D | nv04.c | 48 struct nv04_instobj *iobj = nv04_instobj(memory); in nv04_instobj_wr32() 68 nv04_instobj_release(struct nvkm_memory *memory) in nv04_instobj_release() argument 73 nv04_instobj_acquire(struct nvkm_memory *memory) in nv04_instobj_acquire() argument 81 nv04_instobj_size(struct nvkm_memory *memory) in nv04_instobj_size() argument 83 return nv04_instobj(memory)->node->length; in nv04_instobj_size() 87 nv04_instobj_addr(struct nvkm_memory *memory) in nv04_instobj_addr() argument 89 return nv04_instobj(memory)->node->offset; in nv04_instobj_addr() 93 nv04_instobj_target(struct nvkm_memory *memory) in nv04_instobj_target() argument 99 nv04_instobj_dtor(struct nvkm_memory *memory) in nv04_instobj_dtor() argument 129 *pmemory = &iobj->base.memory; in nv04_instobj_new() [all …]
|
/linux/Documentation/admin-guide/cgroup-v1/ |
A D | memory.rst | 27 uses of the memory controller. The memory controller can be used to 67 memory.usage_in_bytes show current usage for memory 71 memory.limit_in_bytes set/show limit of memory usage 75 memory.max_usage_in_bytes show max memory usage recorded 83 memory.pressure_level set memory pressure notifications 236 memsw means memory+swap. Usage of memory+swap is limited by 397 # mount -t cgroup none /sys/fs/cgroup/memory -o memory 406 # echo 4M > /sys/fs/cgroup/memory/0/memory.limit_in_bytes 421 # cat /sys/fs/cgroup/memory/0/memory.limit_in_bytes 426 # cat /sys/fs/cgroup/memory/0/memory.usage_in_bytes [all …]
|
/linux/Documentation/vm/ |
A D | memory-model.rst | 19 memory models it supports, what the default memory model is and 38 memory. 48 memory to the page allocator. 67 as hot-plug and hot-remove of the physical memory, alternative memory 69 the memory map for larger systems. 100 all the memory sections. 103 initialize the memory sections and the memory maps. 137 allocate memory map on the persistent memory device. 158 subject to its memory ranges being exposed through the sysfs memory 172 events related to device-memory, typically GPU memory. See [all …]
|
A D | hmm.rst | 8 memory like GPU on board memory) into regular kernel path, with the cornerstone 36 driver and regular application memory (private anonymous, shared memory, or 62 various memory copies. 79 buses only allow basic memory access from device to main memory; even cache 87 memory and cannot perform atomic operations on it. Thus device memory cannot 102 access any memory but we must also permit any memory to be migrated to device 130 memory for the device memory and second to perform migration. Policy decisions 327 system memory and device private memory. 444 back from device memory to regular memory cannot fail because it would 446 get more experience in how device memory is used and its impact on memory [all …]
|
A D | numa.rst | 14 or more CPUs, local memory, and/or IO buses. For brevity and to 34 cell containing the target memory. For example, access to memory by CPUs 41 memory bandwidth. However, to achieve scalable memory bandwidth, system and 43 [cache misses] to be to "local" memory--memory on the same cell, if any--or 44 to the closest cell with memory. 52 CPUs, memory and/or IO buses. And, again, memory accesses to memory on 72 For each node with memory, Linux constructs an independent memory management 112 allocation behavior using Linux NUMA memory policy. [see 127 does contain memory overflows. 132 a subsystem allocates per CPU memory resources, for example. [all …]
|
/linux/arch/arm64/boot/dts/ti/ |
A D | k3-j721e-som-p0.dtsi | 11 memory@80000000 { 12 device_type = "memory"; 18 reserved_memory: reserved-memory { 35 mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 { 101 c66_1_dma_memory_region: c66-dma-memory@a6000000 { 107 c66_0_memory_region: c66-memory@a6100000 { 119 c66_1_memory_region: c66-memory@a7100000 { 131 c71_0_memory_region: c71-memory@a8100000 { 321 memory-region = <&c66_0_dma_memory_region>, 327 memory-region = <&c66_1_dma_memory_region>, [all …]
|
/linux/Documentation/core-api/ |
A D | memory-hotplug.rst | 17 to allocate from the new memory. 24 allocate pages from the new memory. 28 longer possible from the memory but some of the memory to be offlined 30 subsystem from the indicated memory block. 34 the memory block that we attempted to offline. 37 Generated after offlining memory is complete. 63 - start_pfn is start_pfn of online/offline memory. 89 When adding/removing memory that uses memory block devices (i.e. ordinary RAM), 94 space once memory has been fully added. And when removing memory, we 100 memory faster than expected: [all …]
|
/linux/drivers/staging/octeon/ |
A D | ethernet-mem.c | 49 char *memory; in cvm_oct_free_hw_skbuff() local 52 memory = cvmx_fpa_alloc(pool); in cvm_oct_free_hw_skbuff() 53 if (memory) { in cvm_oct_free_hw_skbuff() 59 } while (memory); in cvm_oct_free_hw_skbuff() 79 char *memory; in cvm_oct_fill_hw_memory() local 94 memory = kmalloc(size + 256, GFP_ATOMIC); in cvm_oct_fill_hw_memory() 95 if (unlikely(!memory)) { in cvm_oct_fill_hw_memory() 101 *((char **)fpa - 1) = memory; in cvm_oct_fill_hw_memory() 116 char *memory; in cvm_oct_free_hw_memory() local 124 memory = *((char **)fpa - 1); in cvm_oct_free_hw_memory() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | dev-mem2mem.rst | 9 A V4L2 memory-to-memory device can compress, decompress, transform, or 10 otherwise convert video data from one format into another format, in memory. 11 Such memory-to-memory devices set the ``V4L2_CAP_VIDEO_M2M`` or 12 ``V4L2_CAP_VIDEO_M2M_MPLANE`` capability. Examples of memory-to-memory 16 A memory-to-memory video node acts just like a normal video node, but it 17 supports both output (sending frames from memory to the hardware) 19 memory) stream I/O. An application will have to setup the stream I/O for 23 Memory-to-memory devices function as a shared resource: you can 32 One of the most common memory-to-memory device is the codec. Codecs 35 See :ref:`codec-controls`. More details on how to use codec memory-to-memory
|
/linux/Documentation/powerpc/ |
A D | firmware-assisted-dump.rst | 50 low memory regions (boot memory) from source to destination area. 54 The term 'boot memory' means size of the low memory chunk 56 booted with restricted memory. By default, the boot memory 68 - After the low memory (boot memory) area has been saved, the 78 boot memory size effectively booting with restricted memory 90 memory back to general use, except the memory required for 134 memory is held. 151 kernel memory and most of the user space memory except the user pages 156 Low memory Top of memory 185 Low memory Top of memory [all …]
|
/linux/Documentation/admin-guide/mm/damon/ |
A D | reclaim.rst | 8 be used for proactive and lightweight reclamation under light memory pressure. 15 On general memory over-committed systems, proactively reclaiming cold pages 22 memory to host, and the host reallocates the reported memory to other guests. 23 As a result, the memory of the systems are fully utilized. However, the 36 out memory regions that didn't accessed longer time first. System 94 Limit of size of memory for the reclamation in bytes. 124 Free memory rate (per thousand) for the high watermark. 133 Free memory rate (per thousand) for the middle watermark. 142 Free memory rate (per thousand) for the low watermark. 188 Start of target memory region in physical address. [all …]
|
/linux/drivers/dax/ |
A D | Kconfig | 7 tristate "DAX: direct access to differentiated memory" 18 latency...) memory via an mmap(2) capable character 20 platform memory resource that is differentiated from the 21 baseline memory pool. Mappings of a /dev/daxX.Y device impose 25 tristate "PMEM DAX: direct access to persistent memory" 29 Support raw access to persistent memory. Note that this 30 driver consumes memory ranges allocated and exported by the 42 memory. For example, a high bandwidth memory pool. The 44 memory from typical usage by default. This driver creates 57 tristate "KMEM DAX: volatile-use of persistent memory" [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
A D | ram.c | 31 struct nvkm_memory memory; member 41 struct nvkm_vram *vram = nvkm_vram(memory); in nvkm_vram_map() 43 .memory = &vram->memory, in nvkm_vram_map() 52 nvkm_vram_size(struct nvkm_memory *memory) in nvkm_vram_size() argument 58 nvkm_vram_addr(struct nvkm_memory *memory) in nvkm_vram_addr() argument 60 struct nvkm_vram *vram = nvkm_vram(memory); in nvkm_vram_addr() 67 nvkm_vram_page(struct nvkm_memory *memory) in nvkm_vram_page() argument 69 return nvkm_vram(memory)->page; in nvkm_vram_page() 73 nvkm_vram_target(struct nvkm_memory *memory) in nvkm_vram_target() argument 79 nvkm_vram_dtor(struct nvkm_memory *memory) in nvkm_vram_dtor() argument [all …]
|
/linux/drivers/memory/tegra/ |
A D | .built-in.a.cmd | 1 …memory/tegra/built-in.a := echo >/dev/null; rm -f drivers/memory/tegra/built-in.a; /usr/bin/ccache…
|