Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!henry
From: henry@utzoo.UUCP (Henry Spencer)
Newsgroups: net.lang.c
Subject: Re: ptrace & Re: Mark Williams csd
Message-ID: <4862@utzoo.UUCP>
Date: Thu, 3-Jan-85 15:00:15 EST
Article-I.D.: utzoo.4862
Posted: Thu Jan  3 15:00:15 1985
Date-Received: Thu, 3-Jan-85 15:00:15 EST
References: <344@rna.UUCP>, <14@axiom.UUCP> <4842@utzoo.UUCP>, <318@rlgvax.UUCP>
Organization: U of Toronto Zoology
Lines: 14

> ...  If, on a machine which doesn't support
> virtual memory or partial loading of processes, process A is debugging
> process B, and process A and process B don't both fit into main memory,
> "/proc" and "ptrace" are both going to be horribly inefficient.  I don't
> know how much V8's implementation of reads and writes on a process' address
> space depends on the kernel supporting virtual memory.

Not having had a close look at the innards of V8, I couldn't say.  The
problem you raise is equally applicable to ptrace, though, as you point
out.  If you ignore existing implementations and think about starting
from scratch, then one would appear to be no harder than the other.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry