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
  • drivers
  • input
  • evdev.c
Find file BlameHistoryPermalink
  • Dmitry Torokhov's avatar
    Input: evdev - limit amount of data for writes · 6994d8b8
    Dmitry Torokhov authored Aug 15, 2024
    
    
    Limit amount of data that can be written into an evdev instance at
    a given time to 4096 bytes (170 input events) to avoid holding
    evdev->mutex for too long and starving other users.
    
    Reviewed-by: default avatarJeff LaBundy <jeff@labundy.com>
    Reviewed-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
    Link: https://lore.kernel.org/r/Zr5L8TUzkJcB9HcF@google.com
    
    
    Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
    6994d8b8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7