From owner-freebsd-current@freebsd.org Wed Jan 24 14:07:59 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7006EED5DC5 for ; Wed, 24 Jan 2018 14:07:59 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD3D68AAB0; Wed, 24 Jan 2018 14:07:58 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr0-x236.google.com with SMTP id v15so4162365wrb.8; Wed, 24 Jan 2018 06:07:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HYnfIMMTnAxYxpeomDjfos38H41lFJr0kkesqqMe/Ws=; b=b1F6ClaJLKvNjEBfiFYUcxV+mtMNji1a4ysIAMRBJonsoKj2AWAsAezkKMdY7Iq2x9 AqLAWMQ34EUsdkesOV+Ca2DMIx0RCi4gUF+NuC8RuJvZhnDiEptmGlc2cXRkTbQ8y4IL enOuNbfun1sjVI9lZ7eTu9A9MzP2gfRLzD3XhNxzQrU2IG3xQTZim0AQG2HWev+hHxpl PoiDIF+0JZIBAu5ft7F2a6wzWvppWVEbAvHt6axqh7nDGKs1XkRQhRK59Jl4enhRqL7u VvKBUG2YGIHHvI05l3uVQL3CRwwfckHiCN7ibX63iXL8dCwaxWWxMp2GlA4nOG+E84IM hjrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HYnfIMMTnAxYxpeomDjfos38H41lFJr0kkesqqMe/Ws=; b=PAJhpJC4qfba2SfFZY4f48Z1nWnrtJqXzx5F9jp1xHx2fWDcKqHg2LbzpUcoeeEHAX 9wMpfFDD4WpJqwhQL+XmcUaozTGt1XgZxWt0SjV3f+HcVvRWNQu0xKous6YIh0SphEq+ Tcr2LhGS12Ui14V5CUgniLk49h2oDNkorLnu47kad4zqPOoArFGx2bbgtvxGOQ2pppZm lmWiy9QRtDWZCVdDY+e58L1ItoUQMkojUnGIYavpalnSJxWjU8mOkt0AlVWEqs8B8qJw a45lMHwOxCAZzVxu4CpbIrQH5nRCpLpu7xINLjDqdmYvf539XNJM+L/s/bsuw5hGNfXO IhWg== X-Gm-Message-State: AKwxytcigZmOarJep6ejdLS7d9VX9PXO2On/dh9oRivTCSTP9W3hSm98 zZ6ymIOsGKScWDG45vjIJO+0AtuW0V8EPoBL2XQ= X-Google-Smtp-Source: AH8x227gSMUxg+q0ZXcEGeEMWElti5QkpHqKhnAcYXslT3KVTDvQuDjiITm/JMdCMVK/7pR5tSaROZ6BX9Xm6/ugROo= X-Received: by 10.223.163.6 with SMTP id c6mr6247861wrb.234.1516802876943; Wed, 24 Jan 2018 06:07:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.136.187 with HTTP; Wed, 24 Jan 2018 06:07:16 -0800 (PST) In-Reply-To: References: <64218617-98d2-0e6e-5872-e44106e61bf7@selasky.org> <1516569725.42536.99.camel@freebsd.org> <0aceb3ff-4938-1b29-d493-d83ce82cc853@selasky.org> From: Johannes Lundberg Date: Wed, 24 Jan 2018 14:07:16 +0000 Message-ID: Subject: Re: Periodical interrupt storm when playing game with USB keyboard To: Hans Petter Selasky Cc: blubee blubeeme , Adrian Chadd , Ian Lepore , freebsd-current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 14:07:59 -0000 On Wed, Jan 24, 2018 at 12:06 PM, Hans Petter Selasky 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 >