Home
last modified time | relevance | path

Searched refs:charged (Results 1 – 24 of 24) sorted by relevance

/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh428 echo Memory charged to hugtlb=$hugetlb_difference
429 echo Memory charged to reservation=$reserved_difference
457 echo Memory charged to hugtlb=$hugetlb_difference
458 echo Memory charged to reservation=$reserved_difference
512 echo Memory charged to hugtlb1=$hugetlb_difference1
513 echo Memory charged to reservation1=$reserved_difference1
514 echo Memory charged to hugtlb2=$hugetlb_difference2
515 echo Memory charged to reservation2=$reserved_difference2
558 echo Memory charged to hugtlb1=$hugetlb_difference1
559 echo Memory charged to reservation1=$reserved_difference1
[all …]
H A Dhugetlb_reparenting_test.sh194 echo Assert memory charged correctly for parent use.
199 echo Assert memory charged correctly for child use.
222 echo Assert memory charged correctly for child only use.
/linux/Documentation/admin-guide/cgroup-v1/
H A Dhugetlb.rst32 …_stat # show the numa information of the hugetlb memory charged to this cgroup
116 For shared HugeTLB memory, both HugeTLB reservation and page faults are charged
128 charged to it, the behavior is as follows:
130 - The fault charges are charged to the parent HugeTLB cgroup (reparented),
134 reservations charged to it, that cgroup persists as a zombie until all HugeTLB
136 the memory controller whose cgroups also persist as zombie until all charged
H A Dmemcg_test.rst29 occurs. swap_cgroup is used only when a charged page is swapped-out.
34 a page/swp_entry may be charged (usage += PAGE_SIZE) at
53 Memcg pages are charged in two steps:
58 At try_charge(), there are no flags to say "this page is charged".
79 charged already.
99 Page Cache is charged at
124 It's charged when...
H A Drdma.rst64 a process from previously charged cgroup which is migrated to new cgroup,
/linux/mm/
H A Dmremap.c71 unsigned long charged; /* If VM_ACCOUNT, # pages to account. */ member
978 unsigned long charged; in vrm_calc_charge() local
988 charged = vrm->new_len >> PAGE_SHIFT; in vrm_calc_charge()
990 charged = vrm->delta >> PAGE_SHIFT; in vrm_calc_charge()
994 if (security_vm_enough_memory_mm(current->mm, charged)) in vrm_calc_charge()
997 vrm->charged = charged; in vrm_calc_charge()
1010 vm_unacct_memory(vrm->charged); in vrm_uncharge()
1011 vrm->charged = 0; in vrm_uncharge()
H A Dmprotect.c703 unsigned long charged = 0; in mprotect_fixup() local
746 charged = nrpages; in mprotect_fixup()
747 if (security_vm_enough_memory_mm(mm, charged)) in mprotect_fixup()
794 vm_unacct_memory(charged); in mprotect_fixup()
H A Dvma.c26 unsigned long charged; member
2422 map->charged = map->pglen; in __mmap_setup()
2423 map->charged -= vms->nr_accounted; in __mmap_setup()
2424 if (map->charged) { in __mmap_setup()
2425 error = security_vm_enough_memory_mm(map->mm, map->charged); in __mmap_setup()
2767 if (map.charged) in __mmap_region()
2768 vm_unacct_memory(map.charged); in __mmap_region()
3254 unsigned long charged = vma_pages(vma); in insert_vm_struct() local
3261 security_vm_enough_memory_mm(mm, charged)) in insert_vm_struct()
3283 vm_unacct_memory(charged); in insert_vm_struct()
/linux/Documentation/power/
H A Dcharger-manager.rst32 While the battery is being charged and the system is in suspend-to-RAM,
111 For each battery charged independently from other batteries (if a series of
112 batteries are charged by a single charger, they are counted as one independent
131 poll this battery if and only if the battery is being charged.
136 charged. If the voltage drop is over fullbatt_vchkdrop_uV, Charger
145 charged and the battery voltage is equal to or greater than
/linux/Documentation/admin-guide/sysctl/
H A Duser.rst24 The creation of per user per user namespace objects are charged to
28 The creation of objects is also charged to all of the users
/linux/Documentation/ABI/testing/
H A Dsysfs-class-power-twl403019 be taken that battery is not over-charged.
H A Drtc-cdev42 replaced or charged to be able to clear the status.
/linux/net/core/
H A Dsock.c1032 bool charged; in sock_reserve_memory() local
1044 charged = mem_cgroup_sk_charge(sk, pages, in sock_reserve_memory()
1046 if (!charged) in sock_reserve_memory()
3288 bool memcg_enabled = false, charged = false; in __sk_mem_raise_allocated() local
3299 charged = mem_cgroup_sk_charge(sk, amt, gfp_memcg_charge()); in __sk_mem_raise_allocated()
3300 if (!charged) in __sk_mem_raise_allocated()
3376 if (memcg_enabled && !charged) in __sk_mem_raise_allocated()
3388 if (charged) in __sk_mem_raise_allocated()
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-flash.rst187 charged before strobing. LED flashes often require a cooldown period
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-uti260b.dts54 charged-gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
/linux/Documentation/admin-guide/mm/
H A Dtranshuge.rst536 allocated and charged to handle a page fault.
568 is incremented if a shmem huge page cannot be charged and instead
630 allocated and charged to handle a page fault.
678 is incremented if a shmem huge page cannot be charged and instead
H A Dpagemap.rst101 memory cgroup each page is charged to, indexed by PFN. Only available when
/linux/arch/x86/kvm/svm/
H A Dsev.c2067 bool charged = false; in sev_vm_move_enc_context_from() local
2095 charged = true; in sev_vm_move_enc_context_from()
2131 if (charged) in sev_vm_move_enc_context_from()
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst233 memory controller. It is only charged to a cgroup when it is
1964 A memory area is charged to the cgroup which instantiated it and stays
1965 charged to the cgroup until the area is released. Migrating a process
1970 To which cgroup the area will be charged is in-deterministic; however,
2278 normally, however they are "charged" to the originating group. If the
2934 A miscellaneous scalar resource is charged to the cgroup in which it is used
2935 first, and stays charged to that cgroup until that resource is freed. Migrating
/linux/Documentation/process/
H A D4.Coding.rst410 generally charged with the task of fixing any code within the kernel tree
/linux/Documentation/mm/
H A Dunevictable-lru.rst115 (2) On the other hand, if too many of the pages charged to the control group
/linux/Documentation/networking/
H A Dtimestamping.rst262 charged to the socket's receive budget (SO_RCVBUF) and delivers
/linux/Documentation/admin-guide/laptops/
H A Dthinkpad-acpi.rst991 - make sure the battery is fully charged
/linux/Documentation/RCU/Design/Requirements/
H A DRequirements.rst2844 might be charged back to the originating call_rcu() instance, though