On Wed, Feb 21, 2007 at 10:09:00AM +0000, Andrew Doran wrote:=20 Funny, I was talking w/ Jason and Matt about this yesterday at Lunch. There are two problems. Vax has both of them, and m68k has at least one of= =20 them. One problem is that some systems, like vax, are modal. There's a=20 difference running something in interrupt handling context and not. Matt=20 noted that the vax has separate interrupt stacks. So interrupt code is=20 more than just code running quickly (low latency) at high priority. The other problem, which I know mac68k has too, is that you have to make=20 the hardware shut up as part of the interrupt handling. Otherwise once you= =20 exit the interrupt, you'll just reenter it. So you have to have interrupts= =20 remain disabled until this interupt handling thread completes. That's not= =20 what is in my mind as a result of this discussion so far. =20 =20 =20 ike ur So how would this work on other architectures? ts: ain is, I think a good model would be something like how the z8530tty driver works but dusted off. There is a hard interrupt handler that reads the chip. On receive, it stuffs characters into a ring buffer and then triggers a soft interrupt. Transmit, it stuffs characters into the chip. Either way, the hard interrupt handler is small and just does pseudodma. A= =20 software interrupt handling routine then comes along and does the heavy=20 lifting. I really like the idea of the latter routine being a thread & using=20 mutexes. The former, though, I think should remain a fast little routine. Take care, Bill
| David Newall | Re: Slow DOWN, please!!! |
| Renato S. Yamane | Error -71 on device descriptor read/all |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Shawn O. Pearce | libgit2 - a true git library |
| Martin Langhoff | Re: pack operation is thrashing my server |
| Aubrey Li | git proxy issue |
| Pierre Habouzit | git send-email improvements |
| Elad Efrat | Integrating securelevel and kauth(9) |
| Hubert Feyrer | Compressed vnd handling tested successfully |
| Matt Thomas | Interrupt, interrupt threads, continuations, and kernel lwps |
| Michael | Re: yamt-km branch |
| Richard Stallman | Real men don't attack straw men |
| Will Maier | cron doesn't run commands in /etc/crontab? |
| askthelist | Packets Per Second Limit? |
| Harald Dunkel | Packet Filter: how to keep device names on hardware failure? |
| Question on swap as ramdisk partition | 2 hours ago | Linux kernel |
| Netfilter kernel module | 12 hours ago | Linux kernel |
| serial driver xmit problem | 15 hours ago | Linux kernel |
| Why Windows is better than Linux | 15 hours ago | Linux general |
| How can I see my kernel messages in vt12? | 22 hours ago | Linux kernel |
| Grub | 1 day ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 2 days ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 2 days ago | Linux general |
