Re: [PATCH]utrace: IA64 RSE bug

2007-08-14 Thread Roland McGrath
> > If the gist of your patch here seems right to ia64 folks, then I'd > > suggest you do a patch adding ia64_sync_krbs to the upstream kernel. > > That would be the necessary prelude to doing the arch_ptrace_stop plan, > > which I can help ia64 folks with later. > Ok, this is the patch against 2.6

Re: [PATCH]utrace: IA64 RSE bug

2007-08-08 Thread Shaohua Li
On Thu, 2007-08-09 at 07:10 +0800, Stephane Eranian wrote: > Well, looks like we need to resurect TIF_NOTIFY_RESUME now > that we do have some actual need for it. This implies that > I need to rework my perfmon new code base to take this into > account. I don't want to use pfm_needs_checking. So ma

Re: [PATCH]utrace: IA64 RSE bug

2007-08-08 Thread Stephane Eranian
Hi, Well, looks like we need to resurect TIF_NOTIFY_RESUME now that we do have some actual need for it. This implies that I need to rework my perfmon new code base to take this into account. I don't want to use pfm_needs_checking. So maybe it is okay to use a higher order TIF bit for perfmon on I

Re: [PATCH]utrace: IA64 RSE bug

2007-08-07 Thread Shaohua Li
On Tue, 2007-08-07 at 15:13 +0800, Roland McGrath wrote: > That looks reasonable to me, not being expert on the ia64 details. > I rolled that into utrace-regset-ia64.patch in the 2.6.22 backport > version. > > > patch is against latest utrace source (2.6.22 base + utrace patches) > > The latest

Re: [PATCH]utrace: IA64 RSE bug

2007-08-07 Thread Stephane Eranian
Hello, On Tue, Aug 07, 2007 at 12:13:16AM -0700, Roland McGrath wrote: > That looks reasonable to me, not being expert on the ia64 details. > I rolled that into utrace-regset-ia64.patch in the 2.6.22 backport version. > > > patch is against latest utrace source (2.6.22 base + utrace patches) >

Re: [PATCH]utrace: IA64 RSE bug

2007-08-07 Thread Roland McGrath
That looks reasonable to me, not being expert on the ia64 details. I rolled that into utrace-regset-ia64.patch in the 2.6.22 backport version. > patch is against latest utrace source (2.6.22 base + utrace patches) The latest utrace source is based on 2.6.23-rc2, and your patch does not apply th

[PATCH]utrace: IA64 RSE bug

2007-08-06 Thread Shaohua Li
In ptrace case, user space RSE might be newer than kernel RSE. To avoid stale RSE is used when return to userspace, this patch synchronize user space RSE to kernel RSE. Also, as TIF_ALLWORK_MASK bits are limited, TIF_NOTIFY_RESUME is overrided. patch is against latest utrace source (2.6.22 base +