/linux/Documentation/block/ |
H A D | pr.rst | 26 Only the initiator that owns the reservation can write to the 30 Only the initiator that owns the reservation can access the 44 All initiators with a registered key are considered reservation 46 Please reference the SPC spec on the meaning of a reservation 51 All initiators with a registered key are considered reservation 53 Please reference the SPC spec on the meaning of a reservation 63 This ioctl command registers a new reservation if the new_key argument 64 is non-null. If no existing reservation exists old_key must be zero, 65 if an existing reservation should be replaced old_key must contain 66 the old reservation key. [all …]
|
/linux/Documentation/mm/ |
H A D | hugetlbfs_reserv.rst | 65 These are stored in the bottom bits of the reservation map pointer. 76 reservation must be restored when the huge page is freed. More 86 semantics of the reservation map is significantly different for the two types 89 - For private mappings, the reservation map hangs off the VMA structure. 92 - For shared mappings, the reservation map hangs off the inode. Specifically, 95 contains a reservation map. As a result, the reservation map is allocated 122 in which reservations are represented in the reservation map. 124 - For shared mappings, an entry in the reservation map indicates a reservation 126 consumed, the reservation map is not modified. 127 - For private mappings, the lack of an entry in the reservation map indicates [all …]
|
H A D | transhuge.rst | 27 - it doesn't require memory reservation and in turn it uses hugepages 28 whenever possible (the only possible reservation here is kernelcore=
|
/linux/drivers/xen/ |
H A D | mem-reservation.c | 88 struct xen_memory_reservation reservation = { in xenmem_reservation_increase() local 95 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_increase() 96 reservation.nr_extents = count; in xenmem_reservation_increase() 97 return HYPERVISOR_memory_op(XENMEM_populate_physmap, &reservation); in xenmem_reservation_increase() 104 struct xen_memory_reservation reservation = { in xenmem_reservation_decrease() local 111 set_xen_guest_handle(reservation.extent_start, frames); in xenmem_reservation_decrease() 112 reservation.nr_extents = count; in xenmem_reservation_decrease() 113 return HYPERVISOR_memory_op(XENMEM_decrease_reservation, &reservation); in xenmem_reservation_decrease()
|
H A D | Makefile | 4 obj-y += mem-reservation.o
|
/linux/Documentation/arch/arm64/ |
H A D | kdump.rst | 2 crashkernel memory reservation on arm64 21 large chunk of memomy can be found. The low memory reservation needs to 61 the reservation in high memory succeeds, a default size reservation in 79 attempted from the high memory region. If the reservation succeeds, the 80 low memory reservation will be done subsequently. 82 If reservation from the high memory failed, the kernel falls back to 84 If it succeeds, no further reservation for low memory is needed. 89 reservation will be done automatically. 92 reservation is omitted intentionally.
|
/linux/Documentation/admin-guide/cgroup-v1/ |
H A D | hugetlb.rst | 27 ….failcnt # show the number of allocation failure due to HugeTLB reservation limit 95 group and enforces the controller limit at reservation time and at the fault of 96 HugeTLB memory for which no reservation exists. Since reservation limits are 97 enforced at reservation time (on mmap or shget), reservation limits never causes 99 MAP_NORESERVE allocations, the reservation limit behaves the same as the fault 104 reservation limits are enforced at reservation time (on mmap or shget), and 116 For shared HugeTLB memory, both HugeTLB reservation and page faults are charged 122 caused the reservation or fault has exited. 131 - the reservation charges remain on the offline HugeTLB cgroup.
|
/linux/Documentation/filesystems/xfs/ |
H A D | xfs-delayed-logging-design.rst | 58 reservation they take. These are known as "one shot" and "permanent" 63 The type and size of reservation must be matched to the modification taking 70 tp = xfs_trans_alloc(<reservation>) 78 resources joined to it are released, along with the remaining unused reservation 84 tp = xfs_trans_alloc(<reservation>) 160 A transaction reservation provides a guarantee that there is physical log space 162 modifications to objects and items. As such, the reservation needs to be large 177 This "worst case" calculation provides us with the static "unit reservation" 183 For one-shot transactions, a single unit space reservation is all that is 185 also have a "log count" that affects the size of the reservation that is to be [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-fs-xfs | 24 represents the total log reservation of all currently 34 represents the total log reservation of all currently
|
/linux/fs/bcachefs/ |
H A D | io_misc.c | 66 struct bkey_i_reservation *reservation; in bch2_extent_fallocate() local 68 bch2_bkey_buf_realloc(&new, c, sizeof(*reservation) / sizeof(u64)); in bch2_extent_fallocate() 69 reservation = bkey_reservation_init(new.k); in bch2_extent_fallocate() 70 reservation->k.p = iter->pos; in bch2_extent_fallocate() 71 bch2_key_resize(&reservation->k, sectors); in bch2_extent_fallocate() 72 reservation->v.nr_replicas = opts.data_replicas; in bch2_extent_fallocate()
|
/linux/tools/testing/selftests/mm/ |
H A D | charge_reserved_hugetlb.sh | 133 echo Waiting for hugetlb memory reservation to reach size $size. 429 echo Memory charged to reservation=$reserved_difference 458 echo Memory charged to reservation=$reserved_difference 473 echo Test more than reservation case.
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-devices-system-xen_memory | 47 memory reservation to. 62 reservation.
|
/linux/arch/x86/xen/ |
H A D | setup.c | 201 struct xen_memory_reservation reservation = { in xen_free_mfn() local 207 set_xen_guest_handle(reservation.extent_start, &mfn); in xen_free_mfn() 208 reservation.nr_extents = 1; in xen_free_mfn() 210 return HYPERVISOR_memory_op(XENMEM_decrease_reservation, &reservation); in xen_free_mfn()
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | TODO | 13 . This can be handled by the dma-buf fence/reservation stuff when it
|
/linux/drivers/nvdimm/ |
H A D | Kconfig | 113 reservation of persistent memory rather than limited / 114 precious DRAM. However, that reservation needs to persist for
|
/linux/Documentation/mm/damon/ |
H A D | maintainer-profile.rst | 93 reservation is needed. 100 Schedules and available reservation time slots are available at the Google `doc
|
/linux/Documentation/locking/ |
H A D | ww-mutex-design.rst | 29 to be locked, the caller would be assigned a unique reservation id/ticket, 31 associated with a execbuf, the one with the lowest reservation ticket (i.e. 32 the oldest task) wins, and the one with the higher reservation id (i.e. the 36 In the RDBMS literature, a reservation ticket is associated with a transaction. 64 trying to acquire locks doesn't grab a new reservation id, but keeps the one it
|
/linux/arch/powerpc/boot/dts/ |
H A D | microwatt.dts | 78 reservation-granule-size = <64>;
|
/linux/Documentation/bpf/ |
H A D | ringbuf.rst | 76 - if there is no more space left in ring buffer, reservation fails, no 153 reservation, in NMI context, ``bpf_ringbuf_reserve()`` might fail to get 154 a lock, in which case reservation will fail even if ring buffer is not full.
|
/linux/drivers/dax/ |
H A D | Kconfig | 42 driver to override the reservation and add them to kernel
|
/linux/Documentation/arch/powerpc/ |
H A D | firmware-assisted-dump.rst | 14 - Fadump uses the same firmware interfaces and memory reservation model 147 Contiguous Memory Allocator (CMA) for memory reservation if CMA is 148 configured for kernel. With CMA reservation this memory will be
|
/linux/rust/kernel/ |
H A D | rbtree.rs | 1190 pub fn insert(self, value: V, reservation: RBTreeNodeReservation<K, V>) -> &'a mut V { in insert() 1191 self.raw.insert(reservation.into_node(self.key, value)) in insert()
|
/linux/Documentation/filesystems/iomap/ |
H A D | design.rst | 193 ``->iomap_end`` function must delete the reservation. 221 If a write fails and the mapping is a space reservation, the 222 reservation must be deleted.
|
/linux/Documentation/gpu/ |
H A D | drm-vm-bind-locking.rst | 48 * ``dma_resv``: A struct dma_resv (a.k.a reservation object) that is used 242 can't share their reservation object with a single gpu_vm. Instead 243 they need to have a reservation object of their own. The external 247 the gpu_vm's reservation object is locked, it is safe to traverse the
|
/linux/Documentation/target/ |
H A D | tcm_mod_builder.rst | 24 SPC-3 persistent reservation are automatically generated in $TCM_NEW_MOD/$TCM_NEW_MOD_fabric.c
|