From: Mitch D. <md...@po...> - 2000-11-26 01:43:41
|
NIIBE Yutaka wrote: > > Philipp Rumpf wrote: > > I think we have four groups of accesses we might emulate or not: > > 1. kernel accesses to kernel memory > > 2. kernel accesses to user memory > > 3. user accesses to user memory, using "standard" instructions > > 4. user accesses to user memory, using non-standard instructions > > Thanks for the summary. > > My opinion is we only need #1. ... > At least, we should output warning message when handling userspace > unaligned access. I agree. If there was a non-trivial body of userspace code which did unaligned access, I would consider #3 and #4 a necessary but evil kludge. But we don't, and I hope we never do. And I'd like to make sure we never do by not supporting the emulation of userspace unaligned instructions. (Just do a printk and a SEGV). Just my two cents worth. You can collect the other 2 cents here. http://www.geocrawler.com/lists/3/SourceForge/3076/50/4621975/ At the time the response to this was, "it's only for kernel mode". Now it appears it's not, and my original comments still stand. Regards, Mitch. |