Re: perfmon2 context: thread_struct vs. task_struct?

From: Stephane Eranian <>
Date: 2006-03-23 16:41:50

On Wed, Mar 22, 2006 at 06:37:36PM -0800, Andrew Morton wrote:
> > Would it make sense  to move the pointer to the perfmon2
> > context into the task_struct?
> I'd say so, yes.  Especialy if the struct is the same on all architectures,
> is referred to from non-arch-specific code and is absent if
Yes the structure is the same for all architectures. It looks like
task_struct already has #ifdefs in it. So I could do:

struct task_struct {
	struct pfm_context *pfm_context;

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Mar 23 16:46:58 2006

This archive was generated by hypermail 2.1.8 : 2006-03-23 16:47:08 EST