Messages in this thread | | | Date | Mon, 5 Jan 2015 15:07:54 +0100 | From | Peter Zijlstra <> | Subject | Re: [PATCH 1/2] perf: Move task_pt_regs sampling into arch code |
| |
On Sun, Jan 04, 2015 at 10:36:19AM -0800, Andy Lutomirski wrote: > On x86_64, at least, task_pt_regs may be only partially initialized > in many contexts, so x86_64 should not use it without extra care > from interrupt context, let alone NMI context. > > This will allow x86_64 to override the logic and will supply some > scratch space to use to make a cleaner copy of user regs.
Just wondering how bad it would be to fill out the actual pt_regs that was previously partially initialized?
| |