Messages in this thread | | | Date | Wed, 9 Dec 2009 09:43:08 +0100 | From | Frederic Weisbecker <> | Subject | Re: [PATCH 2/3] perf_event: allocate children's perf_event_ctxp at the right time |
| |
On Wed, Dec 09, 2009 at 11:29:44AM +0800, Xiao Guangrong wrote: > In current code, children task will allocate memory for > 'child->perf_event_ctxp' if the parent is counted, we can > do it only if the parent allowed children inherit it. > > It can save memory and reduce overhead > > Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Reviewed-by: Frederic Weisbecker <fweisbec@gmail.com>
| |