kdb
[Top] [All Lists]

Re: [PATCH-updated] access user space addresses/switch process context

To: Keith Owens <kaos@xxxxxxx>
Subject: Re: [PATCH-updated] access user space addresses/switch process context
From: "Vamsi Krishna S ." <vamsi@xxxxxxxxxx>
Date: Thu, 17 Apr 2003 11:11:02 +0530
Cc: kdb <kdb@xxxxxxxxxxx>
In-reply-to: <5225.1050545732@kao2.melbourne.sgi.com>; from kaos@sgi.com on Thu, Apr 17, 2003 at 12:15:32PM +1000
References: <20030416205413.A25851@in.ibm.com> <5225.1050545732@kao2.melbourne.sgi.com>
Reply-to: vamsi@xxxxxxxxxx
Sender: kdb-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
On Thu, Apr 17, 2003 at 12:15:32PM +1000, Keith Owens wrote:
> On Wed, 16 Apr 2003 20:54:13 +0530, 
> "Vamsi Krishna S ." <vamsi@xxxxxxxxxx> wrote:
> >Here is the updated patch. Changes from the previous version:
> >- implement kdb_follow_page in mm/memory.c itself to be able to
> >  use follow_page() directly.
> >- support for writing into ("mm") user space addresses
> >- export kdb_get[put]userarea_size so that kdb modules will
> >  be able to use kdb_get[put]word.
> >- implement this for ia64 along with i386.
> 
> On ia64, PAGE_OFFSET is 0xe000000000000000, testing against that
> excludes I/O space (0xc) and modules/vmalloc (0xa).  The correct test
> for user regions on ia64 is
> 
>       if (address >> 61 <= 4)
> 
> Applied to my tree with that correction.  To be released as kdb v4.2
> next week, after we finish moving offices :(
> 
> 
I wasn't quite cetain about that test's correctness on ia64. Thanks
very much for correcting it.

Regards,
Vamsi.
-- 
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>