[PATCH-updated] access user space addresses/switch process context
Keith Owens
kaos at sgi.com
Wed Apr 16 19:15:32 PDT 2003
On Wed, 16 Apr 2003 20:54:13 +0530,
"Vamsi Krishna S ." <vamsi at in.ibm.com> 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 :(
More information about the kdb
mailing list