/linux-6.3-rc2/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-6.3-rc2/Documentation/devicetree/bindings/memory-controllers/fsl/ |
A D | fsl,ddr.yaml | 7 title: Freescale DDR memory controller 27 - fsl,bsc9132-memory-controller 28 - fsl,mpc8536-memory-controller 29 - fsl,mpc8540-memory-controller 30 - fsl,mpc8541-memory-controller 39 - fsl,p1020-memory-controller 40 - fsl,p1021-memory-controller 41 - fsl,p2020-memory-controller 42 - fsl,qoriq-memory-controller 65 memory-controller@2000 { [all …]
|
/linux-6.3-rc2/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 …]
|
A D | firmware.c | 120 struct nvkm_firmware *fw = nvkm_firmware_mem(memory); in nvkm_firmware_mem_map() 122 .memory = &fw->mem.memory, in nvkm_firmware_mem_map() 134 nvkm_firmware_mem_size(struct nvkm_memory *memory) in nvkm_firmware_mem_size() argument 140 nvkm_firmware_mem_addr(struct nvkm_memory *memory) in nvkm_firmware_mem_addr() argument 142 return nvkm_firmware_mem(memory)->phys; in nvkm_firmware_mem_addr() 146 nvkm_firmware_mem_page(struct nvkm_memory *memory) in nvkm_firmware_mem_page() argument 152 nvkm_firmware_mem_target(struct nvkm_memory *memory) in nvkm_firmware_mem_target() argument 154 if (nvkm_firmware_mem(memory)->device->func->tegra) in nvkm_firmware_mem_target() 161 nvkm_firmware_mem_dtor(struct nvkm_memory *memory) in nvkm_firmware_mem_dtor() argument 179 struct nvkm_memory *memory = &fw->mem.memory; in nvkm_firmware_dtor() local [all …]
|
/linux-6.3-rc2/Documentation/admin-guide/mm/ |
A D | memory-hotplug.rst | 21 downgrading the memory capacity. This dynamic memory resizing, sometimes 67 phase, the memory is visible in memory statistics, such as free and total 140 make use of that memory: the memory block has to be "online". 143 the memory block: the memory block has to be "offlined". 149 memory. 202 memory blocks only. 212 memory blocks; if onlining fails, memory blocks are removed again. 317 however, a memory block might span memory holes. A memory block spanning memory 360 that memory provided by a memory block is managed by 435 memory. [all …]
|
A D | numaperf.rst | 13 A system supports such heterogeneous memory by grouping each memory type 16 are provided as memory only nodes. While memory only nodes do not provide 19 nodes with local memory and a memory only node for each of compute node:: 31 CPUs or separate memory I/O devices that can initiate memory requests. 42 memory targets. 54 A memory initiator may have multiple memory targets in the same access 97 memory activity. 104 slower performing memory cached by a smaller higher performing memory. The 110 The term "far memory" is used to denote the last level memory in the 118 level memory, so the higher numbered cache level corresponds to memory [all …]
|
A D | concepts.rst | 5 The memory management in Linux is a complex system that evolved over the 21 the amount of memory that can be installed. The physical memory is not 30 The virtual memory abstracts the details of physical memory from the 35 With virtual memory, each and every memory access uses a virtual 39 memory controller can understand. 67 The address translation requires several memory accesses and memory 103 memory exceeds the maximal addressable size of virtual memory and 143 The `anonymous memory` or `anonymous mappings` represent memory that 160 memory allocated by user space processes etc. 167 reclaimable pages are page cache and anonymous memory. [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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 300 nv50_instobj_release(&iobj->base.memory); in nv50_instobj_bar2() 359 *pmemory = &iobj->base.memory; in nv50_instobj_wrap() [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() 109 struct nvkm_memory *memory = NULL; in nvkm_instobj_new() local 120 zero, nvkm_memory_addr(memory), nvkm_memory_size(memory)); in nvkm_instobj_new() 130 nvkm_done(memory); in nvkm_instobj_new() 135 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-6.3-rc2/Documentation/admin-guide/cgroup-v1/ |
A D | memory.rst | 27 uses of the memory controller. The memory controller can be used to 69 memory.usage_in_bytes show current usage for memory 73 memory.limit_in_bytes set/show limit of memory usage 77 memory.max_usage_in_bytes show max memory usage recorded 86 memory.pressure_level set memory pressure notifications 242 memsw means memory+swap. Usage of memory+swap is limited by 400 # mount -t cgroup none /sys/fs/cgroup/memory -o memory 409 # echo 4M > /sys/fs/cgroup/memory/0/memory.limit_in_bytes 413 # cat /sys/fs/cgroup/memory/0/memory.limit_in_bytes 430 # cat /sys/fs/cgroup/memory/0/memory.usage_in_bytes [all …]
|
/linux-6.3-rc2/Documentation/mm/ |
A D | memory-model.rst | 17 memory models it supports, what the default memory model is and 36 memory. 46 memory to the page allocator. 65 as hot-plug and hot-remove of the physical memory, alternative memory 67 the memory map for larger systems. 98 all the memory sections. 101 initialize the memory sections and the memory maps. 135 allocate memory map on the persistent memory device. 156 subject to its memory ranges being exposed through the sysfs memory 170 events related to device-memory, typically GPU memory. See [all …]
|
A D | hmm.rst | 6 memory like GPU on board memory) into regular kernel path, with the cornerstone 34 driver and regular application memory (private anonymous, shared memory, or 60 various memory copies. 77 buses only allow basic memory access from device to main memory; even cache 85 memory and cannot perform atomic operations on it. Thus device memory cannot 100 access any memory but we must also permit any memory to be migrated to device 128 memory for the device memory and second to perform migration. Policy decisions 325 system memory and device private memory. 442 back from device memory to regular memory cannot fail because it would 444 get more experience in how device memory is used and its impact on memory [all …]
|
A D | numa.rst | 12 or more CPUs, local memory, and/or IO buses. For brevity and to 32 cell containing the target memory. For example, access to memory by CPUs 39 memory bandwidth. However, to achieve scalable memory bandwidth, system and 41 [cache misses] to be to "local" memory--memory on the same cell, if any--or 42 to the closest cell with memory. 50 CPUs, memory and/or IO buses. And, again, memory accesses to memory on 70 For each node with memory, Linux constructs an independent memory management 110 allocation behavior using Linux NUMA memory policy. [see 125 does contain memory overflows. 130 a subsystem allocates per CPU memory resources, for example. [all …]
|
/linux-6.3-rc2/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 { 296 memory-region = <&c66_0_dma_memory_region>, 302 memory-region = <&c66_1_dma_memory_region>, [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
A D | ram.c | 32 struct nvkm_memory memory; member 41 return nvkm_instobj_wrap(nvkm_vram(memory)->ram->fb->subdev.device, memory, pmemory); in nvkm_vram_kmap() 48 struct nvkm_vram *vram = nvkm_vram(memory); in nvkm_vram_map() 50 .memory = &vram->memory, in nvkm_vram_map() 59 nvkm_vram_size(struct nvkm_memory *memory) in nvkm_vram_size() argument 65 nvkm_vram_addr(struct nvkm_memory *memory) in nvkm_vram_addr() argument 67 struct nvkm_vram *vram = nvkm_vram(memory); in nvkm_vram_addr() 74 nvkm_vram_page(struct nvkm_memory *memory) in nvkm_vram_page() argument 76 return nvkm_vram(memory)->page; in nvkm_vram_page() 86 nvkm_vram_dtor(struct nvkm_memory *memory) in nvkm_vram_dtor() argument [all …]
|
/linux-6.3-rc2/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-6.3-rc2/Documentation/translations/zh_CN/mm/ |
A D | frontswap.rst | 13 Frontswap为交换页提供了一个 “transcendent memory” 的接口。在一些环境中,由 20 储器被认为是一个同步并发安全的面向页面的“伪RAM设备”,符合transcendent memory 27 交换页。一个 “store” 将把该页复制到transcendent memory,并与该页的类型和偏移 28 量相关联。一个 “load” 将把该页,如果找到的话,从transcendent memory复制到内核 29 内存,但不会从transcendent memory中删除该页。一个 “invalidate_page” 将从 30 transcendent memory中删除该页,一个 “invalidate_area” 将删除所有与交换类型 35 经成功的保存到了transcendent memory中,并且避免了磁盘写入,如果后来再读回数据, 36 也避免了磁盘读取。如果存储返回失败,transcendent memory已经拒绝了该数据,且该页 39 请注意,如果一个页面被存储,而该页面已经存在于transcendent memory中(一个 “重复” 66 读取和写入交换页到 “transcendent memory”,从而大大增加了许多这样的工作负载的性 [all …]
|
/linux-6.3-rc2/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-6.3-rc2/Documentation/devicetree/bindings/memory-controllers/ |
A D | nvidia,tegra210-emc.yaml | 15 sent from the memory controller. 26 - description: external memory clock 36 memory-region: 39 phandle to a reserved memory region describing the table of EMC 42 nvidia,memory-controller: 45 phandle of the memory controller node 52 - nvidia,memory-controller 61 reserved-memory { 72 external-memory-controller@7001b000 { 80 memory-region = <&emc_table>; [all …]
|