https://bugzilla.kernel.org/show_bug.cgi?id=215419

--- Comment #6 from Paul Menzel (pmenzel+bugzilla.kernel....@molgen.mpg.de) ---
I also traced Linux 5.10.46, and interestingly the 100 ms then also started to
show up.

Trace of `acpi_bus_scan()` with maximum depth of 7(?):

```
    0.778182 |   1)   swapper-1    |               |  acpi_bus_scan() {
    0.778184 |   1)   swapper-1    |               |    acpi_bus_check_add() {
[…]
    0.778541 |   1)   swapper-1    | ! 357.324 us  |    } /* acpi_bus_check_add
*/          
    0.778542 |   1)   swapper-1    |               |    acpi_walk_namespace() {
[…]
    0.869146 |   1)   swapper-1    | * 90601.57 us |    } /*
acpi_walk_namespace */  
    0.869146 |   1)   swapper-1    |               |    acpi_bus_attach() {
[…]
    0.949104 |   1)   swapper-1    |               |           
acpi_bus_attach() {
    0.949104 |   1)   swapper-1    |   3.343 us    |             
acpi_bus_get_ejd();
    0.949108 |   1)   swapper-1    | @ 107439.9 us |             
acpi_bus_get_status();
    1.056551 |   1)   swapper-1    |   4.586 us    |             
acpi_scan_match_handler();
    1.056556 |   1)   swapper-1    |   3.143 us    |             
device_attach();
    1.056559 |   1)   swapper-1    | ! 123.417 us  |             
acpi_create_platform_device();
    1.056683 |   1)   swapper-1    | @ 107577.3 us |            } /*
acpi_bus_attach */
[…]
    1.064413 |   1)   swapper-1    | @ 195263.3 us |    } /* acpi_bus_attach */
    1.064413 |   1)   swapper-1    | @ 286227.2 us |  } /* acpi_bus_scan */
```

Trace of `acpi_bus_scan()` with maximum depth of 2:

```
    0.777785 |   1)   swapper-1    |               |  acpi_bus_scan() {
    0.777787 |   1)   swapper-1    |               |    acpi_bus_check_add() {
    0.777788 |   1)   swapper-1    |   1.790 us    |      acpi_get_data_full();
    0.777790 |   1)   swapper-1    |   0.316 us    |      acpi_get_type();
    0.777791 |   1)   swapper-1    | ! 171.688 us  |     
acpi_add_single_object();
    0.777963 |   1)   swapper-1    |   6.276 us    |      acpi_has_method();
    0.777970 |   1)   swapper-1    |   5.594 us    |      acpi_has_method();
    0.777976 |   1)   swapper-1    |   5.654 us    |      acpi_bay_match();
    0.777982 |   1)   swapper-1    |   5.784 us    |     
acpi_scan_match_handler();
    0.777988 |   1)   swapper-1    |   6.351 us    |     
acpi_device_dep_initialize();
    0.777994 |   1)   swapper-1    | ! 207.142 us  |    } /* acpi_bus_check_add
*/
    0.777995 |   1)   swapper-1    |               |    acpi_walk_namespace() {
    0.777995 |   1)   swapper-1    |   1.299 us    |     
acpi_ut_acquire_read_lock();
    0.777997 |   1)   swapper-1    |   0.632 us    |     
acpi_ut_acquire_mutex();
    0.777998 |   1)   swapper-1    |   0.295 us    |     
acpi_ns_validate_handle();
    0.777998 |   1)   swapper-1    | * 47792.60 us |     
acpi_ns_walk_namespace();
    0.825799 |   1)   swapper-1    |   1.048 us    |     
acpi_ut_release_mutex();
    0.825800 |   1)   swapper-1    |   1.373 us    |     
acpi_ut_release_read_lock();
    0.825801 |   1)   swapper-1    | * 47803.62 us |    } /*
acpi_walk_namespace */
    0.825802 |   1)   swapper-1    |               |    acpi_bus_attach() {
    0.825802 |   1)   swapper-1    |   6.501 us    |      acpi_bus_get_ejd();
    0.825809 |   1)   swapper-1    |   8.632 us    |     
acpi_bus_get_status();
    0.825818 |   1)   swapper-1    |   3.143 us    |     
acpi_scan_match_handler();
    0.825821 |   1)   swapper-1    |   1.634 us    |      device_attach();
    0.825823 |   1)   swapper-1    | + 44.135 us   |      acpi_bus_attach();
    0.825868 |   1)   swapper-1    | + 50.461 us   |      acpi_bus_attach();
    0.825919 |   1)   swapper-1    | + 27.354 us   |      acpi_bus_attach();
    0.825947 |   1)   swapper-1    | + 36.491 us   |      acpi_bus_attach();
    0.825983 |   1)   swapper-1    | @ 201902.8 us |      acpi_bus_attach();
    1.027891 |   1)   swapper-1    | + 29.303 us   |      acpi_bus_attach();
    1.027920 |   1)   swapper-1    | @ 202117.8 us |    } /* acpi_bus_attach */
    1.027921 |   1)   swapper-1    | @ 250133.4 us |  } /* acpi_bus_scan */
```

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to