Re: [PATCH] [POWERPC] Make Book-E debug handling SMP safe

2008-04-15 Thread Kumar Gala
On Apr 14, 2008, at 11:44 PM, Paul Mackerras wrote: Kumar Gala writes: global_dbcr0 needs to be a per cpu set of save areas instead of a single global on all processors. Looks reasonable. At some point you might want to use a per-cpu variable instead of an array in order to reduce cacheli

Re: [PATCH] [POWERPC] Make Book-E debug handling SMP safe

2008-04-14 Thread Paul Mackerras
Kumar Gala writes: > global_dbcr0 needs to be a per cpu set of save areas instead of a single > global on all processors. Looks reasonable. At some point you might want to use a per-cpu variable instead of an array in order to reduce cacheline bouncing. > Also, we switch to using DBCR0_IDM to d