| To: | "Zhang, Sonic" <sonic.zhang@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] kdb on SMP (breakpoint hits multiple cpus simultaneously) |
| From: | "Vamsi Krishna S ." <vamsi@xxxxxxxxxx> |
| Date: | Thu, 3 Apr 2003 12:29:05 +0530 |
| Cc: | Keith Owens <kaos@xxxxxxx>, Hua Qin <qinhua@xxxxxxxxxxxxxxxxxxxxx>, kdb@xxxxxxxxxxx |
| In-reply-to: | <37FBBA5F3A361C41AB7CE44558C3448E350F4A@pdsmsx403.ccr.corp.intel.com>; from sonic.zhang@intel.com on Wed, Apr 02, 2003 at 04:03:49PM +0800 |
| References: | <37FBBA5F3A361C41AB7CE44558C3448E350F4A@pdsmsx403.ccr.corp.intel.com> |
| Reply-to: | vamsi@xxxxxxxxxx |
| Sender: | kdb-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.2.5i |
Hi, Thanks for the clarification. I thought from my quick glance through that currently all hard breakpoints are global, whereas your patches enabled per-cpu breakpoints. On second look, you are right, the current code allows only per-cpu debugreg-breakpoints, global ones are much more generally useful, which your patch enables. I also agree with the name changes and the fact that per-cpu breakpoints may be useful for debugging certain paths (processes) bound to a specific cpu. smphdr* patches are very much needed. Thanks, Vamsi. BTW: Can you think about what happens if two debugreg breakpoints are triggered at about the same time on different cpus? One of them wins the race to enter the kdb, and then the user clears all breakpoints.. will kdb be able still recognise this as one of its breakpoints? I think not, but can you give it a thought? -- Vamsi Krishna S. Linux Technology Center, IBM Software Lab, Bangalore. Ph: +91 80 5044959 Internet: vamsi@xxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | XScale patch for KDB4.0 is ready now., edie |
|---|---|
| Next by Date: | RE: [PATCH] kdb on SMP (breakpoint hits multiple cpus simultaneously), Zhang, Sonic |
| Previous by Thread: | RE: [PATCH] kdb on SMP (breakpoint hits multiple cpus simultaneously), Zhang, Sonic |
| Next by Thread: | RE: [PATCH] kdb on SMP (breakpoint hits multiple cpus simultaneously), Zhang, Sonic |
| Indexes: | [Date] [Thread] [Top] [All Lists] |