This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Review patches of user space kprobe


>>-----Original Message-----
>>From: systemtap-owner@sourceware.org [mailto:systemtap-owner@sourceware.org] On Behalf Of Roland McGrath
>>Sent: 2006年1月6日 18:31
>>To: prasanna@in.ibm.com
>>Cc: Zhang, Yanmin; systemtap@sources.redhat.com; Keshavamurthy, Anil S; Mao, Bibo
>>Subject: Re: Review patches of user space kprobe
>>
>>> I think the dll's share the same vma's.
>>
>>You cannot rely on mapping addresses being the same, they are not always
>>so.  There are always separate vm_area_struct's in separate processes even
>>when they appear to be identical.
I agree with Roland. Although sometimes they appear to be identical, the vma themselves are different. And a vma might be released/reallocated before readpage/readpages are called. It's easy to introduce race condition when storing temp member in uprobe.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]