Re: mach_host_self() doesn't acquire new port name?!

2001-05-08 Thread Marcus Brinkmann
On Tue, May 08, 2001 at 04:18:31PM -0700, Thomas Bushnell, BSG wrote: > Marcus Brinkmann <[EMAIL PROTECTED]> writes: > > > With my better understanding, I would say it this way: If I call > > mach_host_self() 2^16 and a couple times, and then call > > mach_port_deallocate on the port name returne

Re: mach_host_self() doesn't acquire new port name?!

2001-05-08 Thread Thomas Bushnell, BSG
Marcus Brinkmann <[EMAIL PROTECTED]> writes: > With my better understanding, I would say it this way: If I call > mach_host_self() 2^16 and a couple times, and then call > mach_port_deallocate on the port name returned by these calls 2^16 > times, then the urefs will drop to zero and the port nam

superflouus instruction gnumach/ipc/ipc_object.c

2001-05-08 Thread Marcus Brinkmann
Hi, I think I found this confusing instruction to be unnecessary: mach:/ipc/ipc_object.c (ipc_object_alloc.c), line 250: - *namep = (mach_port_t)object; kr = ipc_entry_alloc(space, namep, &entry); (With "-", I mean that this line can be removed). First, I find it confusing b

Re: mach_host_self() doesn't acquire new port name?!

2001-05-08 Thread Marcus Brinkmann
On Tue, May 08, 2001 at 11:48:44AM -0700, Thomas Bushnell, BSG wrote: > Marcus Brinkmann <[EMAIL PROTECTED]> writes: > > > BTW, what about the count of user refs in the port name entry of the tasks > > port name space? We don't set any policy here, so I suspect that here a > > task will simply g

Re: mach_host_self() doesn't acquire new port name?!

2001-05-08 Thread Thomas Bushnell, BSG
Marcus Brinkmann <[EMAIL PROTECTED]> writes: > BTW, what about the count of user refs in the port name entry of the tasks > port name space? We don't set any policy here, so I suspect that here a > task will simply get a failure on overrunning the user references. There are two ref counts to ke

Re: WHATIS: Mach Ports

2001-05-08 Thread Marcus Brinkmann
On Tue, May 08, 2001 at 04:57:57PM +0300, Ognyan Kulev wrote: > > Hm, this doesn't look like `What Is' but `Mach Internals Guide'. What about > starting mach-internals-guide.texi (or something like this) in CVS gnumach? Well, I am currently preparing some code examples with comments and heavily

Re: WHATIS: Mach Ports

2001-05-08 Thread Ognyan Kulev
On Mon, May 07, 2001 at 09:52:13PM +0200, Marcus Brinkmann wrote: > Hi, > > I wrote this for inclusion in the What Is area of the web page. It is only > a first draft, and not complete yet, but after the horrible confusion > yesterday, it would be nice if someone could skim over it. Any comment

Re: mach_host_self() doesn't acquire new port name?!

2001-05-08 Thread Marcus Brinkmann
On Mon, May 07, 2001 at 11:19:08PM -0700, Thomas Bushnell, BSG wrote: > Marcus Brinkmann <[EMAIL PROTECTED]> writes: > > > Overflowing the ip_srights reference count in the port structure. > > Right. So since mach_host_self sets OVERFLOW, the result of maxing > out the user refs is harmless. (

Re: [PATCH] System V Shared memory interface

2001-05-08 Thread Neal H Walfield
> At some point in the not too distant past I went over the shm interfaces in > contemplation of a Hurd implementation. I don't really recall anything > specific about it, but my vague recollection is that I concluded there was > just one new interface or quirk of functionality that would be requ

Re: [PATCH] tmpfs: now working

2001-05-08 Thread Neal H Walfield
> That has always been my plan. I just went for getting tmpfs working as > fully as possible with semantics as close as possible to right and testing > it, before considering touching the default pager code. My current hacking is with the default pager and understanding Mach internals. What are

[DOC-FIX] libdiskfs: initialization functions

2001-05-08 Thread Neal H Walfield
> Please separate this into: typo fixes; substantial text additions; and > miscellaneous rewordings. I will apply the first with cursory review, the > second with appropriate review for correctness, and the third I will > probably ignore. Here is the second part: 2001-05-07 Neal H Walfield <[

Re: symlinks and translators

2001-05-08 Thread Neal H Walfield
On Fri, Mar 30, 2001 at 04:15:35PM +0200, Niels M?ller wrote: > [EMAIL PROTECTED] (Ognyan Kulev) writes: > > > cd /root > > settrans /linux /dev/sda5 > > ln -s /linux/home/ogi/deb . > > cd deb > > cd .. (cwd = /root) > > cd deb > > ls .. (listing of /linux/home/ogi ???) > > The last command is h

Re: memory leak in dir-lookup found

2001-05-08 Thread Neal H Walfield
On Sat, Apr 21, 2001 at 11:00:55AM +0200, Neal H Walfield wrote: > On Sun, Apr 15, 2001 at 06:45:12PM -0400, Roland McGrath wrote: > > > I disagree, if we set *USER to NULL on failure, we get the same effect. > > > > Ok. > > Here are the necessary changes, enjoy. As you have already approved th