Re: [PATCH v2] PM: Use 64-bit timekeeping

2015-01-28 Thread Pavel Machek
On Wed 2015-01-28 10:08:37, Tina Ruchandani wrote: > The freezer try_to_freeze_tasks uses 'struct timeval' for start > and end times, tracking time taken to freeze tasks. 'struct timeval' > on 32-bit systems will have its tv_sec overflow in year 2038 and > beyond. This patches uses 'ktime_t' (which

[PATCH v2] PM: Use 64-bit timekeeping

2015-01-27 Thread Tina Ruchandani
The freezer try_to_freeze_tasks uses 'struct timeval' for start and end times, tracking time taken to freeze tasks. 'struct timeval' on 32-bit systems will have its tv_sec overflow in year 2038 and beyond. This patches uses 'ktime_t' (which has 64 bit values for seconds) for start and end time. Su