Re: Periodical interrupt storm when playing game with USB keyboard

From: Johannes Lundberg <johalun0_at_gmail.com>
Date: Wed, 24 Jan 2018 14:07:16 +0000
On Wed, Jan 24, 2018 at 12:06 PM, Hans Petter Selasky <hps_at_selasky.org>
wrote:

> Hi,
>
> Can you test and review:
>
> https://reviews.freebsd.org/D14027
>
>
It seems better. Not as many lock_delays and lag but there still is some
lag when holding down a key for too long.

  kernel`z_feed_linear_S16LE                                       11
  kernel`uma_zfree_arg                                             11
  i915kms.ko`gen8_ppgtt_clear_pte_range                            11
  kernel`bzero                                                     12
  kernel`sopoll                                                    13
  kernel`sopoll_generic                                            13
  kernel`atomic_add_int                                            13
  kernel`trash_ctor                                                14
  kernel`0xffffffff80f4b548                                        15
  kernel`callout_reset_sbt_on                                      16
  kernel`trash_dtor                                                16
  kernel`spinlock_enter                                            16
  kernel`copyout                                                   16
  ichsmb.ko`ichsmb_device_intr                                     16
  kernel`__mtx_lock_spin_flags                                     17
  kernel`softclock_call_cc                                         18
  kernel`selfdfree                                                 20
  kernel`uma_dbg_alloc                                             20
  kernel`uma_dbg_free                                              20
  kernel`uma_zalloc_arg                                            21
  i915kms.ko`gen8_ppgtt_insert_pte_entries                         21
  kernel`copyin                                                    22
  kernel`amd64_syscall                                             22
  kernel`witness_warn                                              23
*  kernel`ukbd_interrupt                                            24*
  kernel`fget_unlocked                                             24
  kernel`ukbd_timeout                                              25
  kernel`__mtx_assert                                              28
  kernel`usbd_in_polling_mode                                      30
  kernel`_isitmyx                                                  33
  kernel`witness_lock                                              47
  kernel`kern_select                                               54
  kernel`bcopy                                                     78
  kernel`__mtx_unlock_flags                                        79
  kernel`witness_checkorder                                        91
  kernel`memcpy                                                   100
  kernel`__mtx_lock_flags                                         136
  kernel`witness_unlock                                           160
  i915kms.ko`fw_domains_get                                       184
  kernel`spinlock_exit                                           1904
  kernel`cpu_idle                                                3564
*  kernel`lock_delay                                              3634*
  kernel`acpi_cpu_idle                                          29591


--HPS
>
Received on Wed Jan 24 2018 - 13:07:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC