Messages in this thread | | | Date | Fri, 01 May 2015 12:40:30 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH 3/3] context_tracking,x86: remove extraneous irq disable & enable from context tracking on syscall entry |
| |
On 05/01/2015 12:37 PM, Ingo Molnar wrote:
> Also note that this bit in context_tracking_enter(): > > if (state == CONTEXT_USER) { > trace_user_enter(0); > vtime_user_enter(current); > } > > > is related to precise time measurement of user/kernel execution times, > it's not needed by the scheduler at all, it's just exported to > tooling. It's not fundamental to the scheduler.
Any objections to the idea from the other thread to simply keep the time accumulating in buffers in local_clock() units, and only update the task vtime once a second or so?
-- All rights reversed
| |