Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • panic.c
Find file BlameHistoryPermalink
  • TAMUKI Shoichi's avatar
    panic: keep blinking in spite of long spin timer mode · c7ff0d9c
    TAMUKI Shoichi authored Aug 10, 2010
    
    
    To keep panic_timeout accuracy when running under a hypervisor, the
    current implementation only spins on long time (1 second) calls to mdelay.
     That brings a good effect, but the problem is the keyboard LEDs don't
    blink at all on that situation.
    
    This patch changes to call to panic_blink_enter() between every mdelay and
    keeps blinking in spite of long spin timer mode.
    
    The time to call to mdelay is now 100ms.  Even this change will keep
    panic_timeout accuracy enough when running under a hypervisor.
    
    Signed-off-by: default avatarTAMUKI Shoichi <tamuki@linet.gr.jp>
    Cc: Ben Dooks <ben-linux@fluff.org>
    Cc: Russell King <linux@arm.linux.org.uk>
    Acked-by: default avatarDmitry Torokhov <dtor@mail.ru>
    Cc: Anton Blanchard <anton@samba.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    c7ff0d9c
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7