Function report |
Source Code:arch\x86\kernel\cpu\resctrl\core.c |
Create Date:2022-07-28 08:10:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_rdt_alloc_resources
Proto:static __init bool get_rdt_alloc_resources(void)
Type:bool
Parameter:Nothing
837 | bool ret = false |
839 | If Global boolean for rdt_alloc which is true if any* resource allocation is enabled. Then Return true |
842 | If Not boot_cpu_has(Resource Director Technology Allocation ) Then Return false |
845 | If rdt_cpu_has(Cache Allocation Technology L3 ) Then |
847 | If rdt_cpu_has(Code and Data Prioritization L3 ) Then rdt_get_cdp_l3_config() |
849 | ret = true |
851 | If rdt_cpu_has(Cache Allocation Technology L2 ) Then |
854 | If rdt_cpu_has(Code and Data Prioritization L2 ) Then rdt_get_cdp_l2_config() |
856 | ret = true |
859 | If get_mem_config() Then ret = true |
862 | Return ret |
Name | Describe |
---|---|
get_rdt_resources |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |