RE: [PATCH 1/1] evdev: Fix a high CPU utilization bug

2013-06-07 Thread Singh, Satyeshwar
: Fix a high CPU utilization bug On Thu, Jun 06, 2013 at 05:17:37PM +, Singh, Satyeshwar wrote: > The problem was that if we ever switched to another tty while running > Weston, then we would essentially not handle any remaining events and Weston > would enter an infinite loop where it

Re: [PATCH 1/1] evdev: Fix a high CPU utilization bug

2013-06-06 Thread Kristian Høgsberg
On Thu, Jun 06, 2013 at 05:17:37PM +, Singh, Satyeshwar wrote: > The problem was that if we ever switched to another tty while running > Weston, then we would essentially not handle any remaining events and Weston > would enter an infinite loop where it's trying to process an event but it > can

[PATCH 1/1] evdev: Fix a high CPU utilization bug

2013-06-06 Thread Singh, Satyeshwar
The problem was that if we ever switched to another tty while running Weston, then we would essentially not handle any remaining events and Weston would enter an infinite loop where it's trying to process an event but it can't because the processing function evdev_device_data exits before it can re