y
in the foreground), rather than fork them off and queue up waiting for the
children.
Does anyone know the reason for that? Is it simply a matter of wanting
to lower the impact and resource usage on the system?
C
--
Callum Gibson @ home
http://members.optusnet.com.au/call
Hi all,
I have an application which uses MSG_OOB and it works fine on Solaris and
FreeBSD with PF_INET type sockets. I noticed (through observation, not
documentation) that out of band doesn't seem to be supported by FreeBSD's
PF_LOCAL (PF_UNIX), although it is on Solaris (from 2.6 at least).
Has
ct anything which
}> increments vm_refcnt and allocates shared mem. It's obvious what should
}> happen, just not obvious how to implement it without causing a side
}effect.
}> Not sure that seeing how linux does it would help in this regard.
}I think it is Linux specific. I t
;s obvious what should
happen, just not obvious how to implement it without causing a side effect.
Not sure that seeing how linux does it would help in this regard.
Anyway, all you volunteers step right up...
Callum Gibson [EMAIL PROTECTED]
Global Markets IT, De
e poor sod decided
to search them and try it out. Also to warn against a simple MFC (though
people always test that stuff, don't they? :-)
C
Callum Gibson [EMAIL PROTECTED]
Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620
### The opinions in t
by calling
vmspace_free(), the system ran for about 10 minutes and then hung.
So for the moment I'll just leave it and avoid linux threads (or anything
using rfork) and shared memory unless anyone else has other ideas. I can't
afford the time to work out the vm code any further at the mo
FWIW,
This has been fixed in current, kern/kern_exit.c revision 1.147.
Someone should MFC it.
Callum Gibson [EMAIL PROTECTED]
Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620
### The opinions in this message are mine and not Deutsche's ##
} else {
+ vmspace_free(vm);
}
if (SESS_LEADER(p)) {
This will decrement the vm_refcnt for exiting rfork'd processes and allow
the final exit to do all the appropriate cleanup, including the shmexit.
linux-mozilla would be a pretty heavy thread user. If only linu
lse going
on. I don't get EPERM or EACCES, nor does the operation appear to complete
successfully but leave the shms behind (as you might expect with a bad
reference count) - I get EINVAL. Hmmm
Please don't make me use the kernel debugger... waa
C
Callum Gibson
ren't started at boot (pids <= 148).
Is anyone convinced this is a bug yet?
C
Callum Gibson [EMAIL PROTECTED]
Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620
### The opinions in this message are mine and not Deutsche's ###
To U
still hold references
}to them.
[ snip ]
Callum Gibson [EMAIL PROTECTED]
Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620
### The opinions in this message are mine and not Deutsche's ###
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "
tion of this on questions, hackers or current
nor in the PR database. Has anyone else seen this? It should be easy to
repeat I would have thought as I'm not doing anything unusual.
C
Callum Gibson [EMAIL PROTECTED]
Global Markets IT, Deutsche Bank, Australi
;t have knowledge to hack inside ups to that
degree.
C
Callum Gibson [EMAIL PROTECTED]
Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620
### The opinions in this message are mine and not Deutsche's ###
To Unsubscribe: send mail to [EMAIL PROTEC
om kern/sys_process.c 1.51.2.2
to 1.51.2.1 except that I don't know if other files (apart from sys/ptrace.h)
have been affected.
Ta.
C
Callum Gibson [EMAIL PROTECTED]
Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620
### The opinions in this message a
i0
xl0: Ethernet address: 00:c0:4f:60:ad:0d
regards,
Callum
(c)2002 Callum Gibson [EMAIL PROTECTED]
Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620
### The opinions in this message are mine and not Deutsche's ###
To Unsubscribe: send mail to [
ify a set of signals with sigaction. Sorry about that.
}Nope, you can only install a handler for one signal at a time.
Spotted that just after I sent it but I figured replying to myself twice
in a row was Really Bad (tm). I was right the first time.
C
(c)2002 Callum Gibson
callum writes:
}handlers to be installed for them. Hmm, it's a lot more verbose calling
}sigaction for every signal rather than a single pthread_sigmask call.
}I guess that's why we have for loops.
Doh! You can specify a set of signals with sigaction. Sorry about that.
C
(c)2
r them. Hmm, it's a lot more verbose calling
sigaction for every signal rather than a single pthread_sigmask call.
I guess that's why we have for loops.
C
(c)2002 Callum Gibson [EMAIL PROTECTED]
Global Markets IT, Deutsche Bank, Australia 61 2 9258
ibited on 4.3-RELEASE and 4.4-RELEASE.
Any ideas on what is wrong?
regards,
Callum
(c)2002 Callum Gibson [EMAIL PROTECTED]
Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620
### The opinions in this message are mine and not Deutsche's ###
To Unsubs
19 matches
Mail list logo