Date: Tue, 18 Dec 2001 14:34:49 -0500 (EST) From: Andrew Gallatin <gallatin@cs.duke.edu> To: John Baldwin <jhb@FreeBSD.org> Cc: alpha@FreeBSD.org Subject: Re: mdproc flags in KSE Message-ID: <15391.39513.362355.537968@grasshopper.cs.duke.edu> In-Reply-To: <XFMail.011218110248.jhb@FreeBSD.org> References: <15391.37056.22312.225550@grasshopper.cs.duke.edu> <XFMail.011218110248.jhb@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin writes: <...> > > > sure about the other ones. What is the HAE and in what contexts is it > > used? > > > > Its used by programs, like the X server, which grovel around in PCI > > memory space... Hmm.. In a quick browse through the code, I don't see > > where its actually used anymore.. > > My question is more this: would it be a process property or a thread property? > So, if a process turns on HAE access, does a few things, and later on turns it > off, it becomes a process property (or even worse, a userland thread property > which becomes a pain to handle in KSE). Whereas, if this is something done > entirely in a kernel context and the flag is just used to handle things > properly while switching and faulting while in kernel context, it can be a > thread property. We need to ask Doug about this.. <...> > > Its used only by OSFF/ECOFF binaries. It is setup each time osf1_sigaction() > > is called & used at sigreturn time to point to that process's > > sigtramp code. Tru64 does'nt just keep it in a standard place like we > > do. > > So it gets regenerated on the fly and should probably be per-thread? Well, > except that do we want multiple threads sending signals down to the userland > scheduler? Ugh. I'll leave it per-thread for now. OSF1/ECOFF is a foreign ABI, somewhat like linux/elf. I doubt that OSF1/ECOFF programs will ever know about or use more than one thread per process (or KSE, or whatever the KSE name for a schedulable entity is). Does that help at all?? Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15391.39513.362355.537968>