| /linux/drivers/md/ |
| H A D | dm-path-selector.c | 32 struct ps_internal *psi; in __find_path_selector_type() local 34 list_for_each_entry(psi, &_path_selectors, list) { in __find_path_selector_type() 35 if (!strcmp(name, psi->pst.name)) in __find_path_selector_type() 36 return psi; in __find_path_selector_type() 44 struct ps_internal *psi; in get_path_selector() local 47 psi = __find_path_selector_type(name); in get_path_selector() 48 if (psi && !try_module_get(psi->pst.module)) in get_path_selector() 49 psi = NULL; in get_path_selector() 52 return psi; in get_path_selector() 57 struct ps_internal *psi; in dm_get_path_selector() local [all …]
|
| /linux/fs/pstore/ |
| H A D | platform.c | 267 record->psi = psinfo; in pstore_record_init() 450 ret = record->psi->write(record); in pstore_write_user_compat() 466 int pstore_register(struct pstore_info *psi) in pstore_register() argument 470 if (backend && strcmp(backend, psi->name)) { in pstore_register() 472 backend, psi->name); in pstore_register() 477 if (!psi->flags) { in pstore_register() 479 psi->name); in pstore_register() 484 if (!psi->read || !psi->write) { in pstore_register() 486 psi->name); in pstore_register() 490 new_backend = kstrdup(psi->name, GFP_KERNEL); in pstore_register() [all …]
|
| H A D | zone.c | 632 static int psz_pstore_open(struct pstore_info *psi) in psz_pstore_open() argument 634 struct psz_context *cxt = psi->data; in psz_pstore_open() 701 struct psz_context *cxt = record->psi->data; in psz_pstore_erase() 723 struct psz_context *cxt = record->psi->data; in psz_write_kmsg_hdr() 874 struct psz_context *cxt = record->psi->data; in psz_pstore_write() 1025 cxt = record->psi->data; in psz_ftrace_read() 1061 struct psz_context *cxt = record->psi->data; in psz_pstore_read()
|
| /linux/tools/accounting/ |
| H A D | delaytop.c | 161 static struct psi_stats psi; variable 515 memset(&psi, 0, sizeof(psi)); in read_psi_stats() 523 &psi.cpu_some_avg10, &psi.cpu_some_avg60, in read_psi_stats() 524 &psi.cpu_some_avg300, &psi.cpu_some_total); in read_psi_stats() 531 &psi.cpu_full_avg10, &psi.cpu_full_avg60, in read_psi_stats() 532 &psi.cpu_full_avg300, &psi.cpu_full_total); in read_psi_stats() 551 &psi.memory_some_avg10, &psi.memory_some_avg60, in read_psi_stats() 552 &psi.memory_some_avg300, &psi.memory_some_total); in read_psi_stats() 559 &psi.memory_full_avg10, &psi.memory_full_avg60, in read_psi_stats() 560 &psi.memory_full_avg300, &psi.memory_full_total); in read_psi_stats() [all …]
|
| /linux/Documentation/translations/zh_CN/accounting/ |
| H A D | psi.rst | 3 :Original: Documentation/accounting/psi.rst 22 psi特性能够识别和量化资源竞争导致的业务中断,及其对复杂负载乃至整个系统在 28 psi能够实时的提供相关信息,因此系统可基于psi实现动态的负载管理。如实施 31 psi帮助用户实现硬件资源利用率的最大化。同时无需牺牲业务负载健康度,也无需 68 触发器注册方法:用户打开代表特定资源的psi接口文件,写入门限、时间窗口的值。 78 触发器可针对多个psi度量值设置,同一个psi度量值可设置多个触发器。每个触发器需要 79 单独的文件描述符用于轮询,以区分于其他触发器。所以即使对于同一个psi接口文件, 83 状态后,监控psi增长的频率为每监控窗口刷新10次。 87 psi接口提供的均值即可。 151 对于CONFIG_CGROUP=y及挂载了cgroup2文件系统的系统,能够获取cgroups内任务的psi。 [all …]
|
| H A D | index.rst | 19 psi
|
| /linux/drivers/firmware/efi/ |
| H A D | efi-pstore.c | 54 static int efi_pstore_open(struct pstore_info *psi) in efi_pstore_open() argument 62 psi->data = kzalloc(record_size, GFP_KERNEL); in efi_pstore_open() 63 if (!psi->data) in efi_pstore_open() 69 static int efi_pstore_close(struct pstore_info *psi) in efi_pstore_close() argument 72 kfree(psi->data); in efi_pstore_close() 159 efi_char16_t *varname = record->psi->data; in efi_pstore_read() 227 record->size, record->psi->buf, in efi_pstore_write()
|
| /linux/Documentation/accounting/ |
| H A D | psi.rst | 18 The psi feature identifies and quantifies the disruptions caused by 26 As psi aggregates this information in realtime, systems can be managed 77 To register a trigger user has to open psi interface file under 90 Triggers can be set on more than one psi metric and more than one trigger 91 for the same psi metric can be specified. However for each trigger a separate 94 when opening the same psi interface file. Write operations to a file descriptor 95 with an already existing psi trigger will fail with EBUSY. 98 psi metric and deactivates upon exit from the stall state. While system is 99 in the stall state psi signal growth is monitored at a rate of 10 times per 105 after which monitors are most likely not needed and psi averages can be used [all …]
|
| H A D | index.rst | 12 psi
|
| /linux/include/linux/ |
| H A D | pstore.h | 73 struct pstore_info *psi; member 195 int (*open)(struct pstore_info *psi); 196 int (*close)(struct pstore_info *psi);
|
| H A D | psi.h | 37 return cgroup_ino(cgrp) == 1 ? &psi_system : cgrp->psi; in cgroup_psi()
|
| H A D | cgroup-defs.h | 621 struct psi_group *psi; member
|
| /linux/kernel/sched/ |
| H A D | psi.c | 1117 cgroup->psi = kzalloc_obj(struct psi_group); in psi_cgroup_alloc() 1118 if (!cgroup->psi) in psi_cgroup_alloc() 1121 cgroup->psi->pcpu = alloc_percpu(struct psi_group_cpu); in psi_cgroup_alloc() 1122 if (!cgroup->psi->pcpu) { in psi_cgroup_alloc() 1123 kfree(cgroup->psi); in psi_cgroup_alloc() 1126 group_init(cgroup->psi); in psi_cgroup_alloc() 1127 cgroup->psi->parent = cgroup_psi(cgroup_parent(cgroup)); in psi_cgroup_alloc() 1136 cancel_delayed_work_sync(&cgroup->psi->avgs_work); in psi_cgroup_free() 1137 free_percpu(cgroup->psi->pcpu); in psi_cgroup_free() 1139 WARN_ONCE(cgroup->psi->rtpoll_states, "psi: trigger leak\n"); in psi_cgroup_free() [all …]
|
| /linux/kernel/cgroup/ |
| H A D | cgroup.c | 3915 struct psi_group *psi = cgroup_psi(cgrp); in cgroup_io_pressure_show() local 3917 return psi_show(seq, psi, PSI_IO); in cgroup_io_pressure_show() 3922 struct psi_group *psi = cgroup_psi(cgrp); in cgroup_memory_pressure_show() local 3924 return psi_show(seq, psi, PSI_MEM); in cgroup_memory_pressure_show() 3929 struct psi_group *psi = cgroup_psi(cgrp); in cgroup_cpu_pressure_show() local 3931 return psi_show(seq, psi, PSI_CPU); in cgroup_cpu_pressure_show() 3940 struct psi_group *psi; in pressure_write() local 3954 if (ctx->psi.trigger) { in pressure_write() 3959 psi = cgroup_psi(cgrp); in pressure_write() 3960 new = psi_trigger_create(psi, buf, res, of->file, of); in pressure_write() [all …]
|
| /linux/drivers/acpi/apei/ |
| H A D | erst.c | 1016 static int erst_open_pstore(struct pstore_info *psi); 1017 static int erst_close_pstore(struct pstore_info *psi); 1054 static int erst_open_pstore(struct pstore_info *psi) in erst_open_pstore() argument 1062 static int erst_close_pstore(struct pstore_info *psi) in erst_close_pstore() argument
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_64_mmu_radix.c | 319 int psi; in kvmppc_radix_tlbie_page() local 335 psi = shift_to_mmu_psize(pshift); in kvmppc_radix_tlbie_page() 338 rb = addr | (mmu_get_ap(psi) << PPC_BITLSHIFT(58)); in kvmppc_radix_tlbie_page() 345 psize_to_rpti_pgsize(psi), in kvmppc_radix_tlbie_page()
|
| /linux/arch/powerpc/kernel/ |
| H A D | nvram_64.c | 370 static int nvram_pstore_open(struct pstore_info *psi) in nvram_pstore_open() argument
|
| /linux/Documentation/driver-api/usb/ |
| H A D | writing_usb_driver.rst | 326 https://lmu.web.psi.ch/docu/manuals/software_manuals/linux_sl/usb_linux_programming_guide.pdf
|
| /linux/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 1087 :ref:`Documentation/accounting/psi.rst <psi>` for details. 1219 :ref:`Documentation/accounting/psi.rst <psi>` for details. 1915 :ref:`Documentation/accounting/psi.rst <psi>` for details. 2175 :ref:`Documentation/accounting/psi.rst <psi>` for details.
|
| H A D | kernel-parameters.txt | 5538 psi= [KNL] Enable or disable pressure stall information
|
| /linux/init/ |
| H A D | Kconfig | 736 For more details see Documentation/accounting/psi.rst. 746 per default but can be enabled through passing psi=1 on the
|
| /linux/ |
| H A D | MAINTAINERS | 21334 F: include/linux/psi* 21335 F: kernel/sched/psi.c
|