> > That sounds like a non starter. What if the box is busy, what if themlock does not guarantee anything of that form. A syscall by an mlocked process which causes a memory allocation can cause paging of another process on the system. It depends a lot on hardware but you can certainly get user space delays in seconds as an extreme worst case. Yes - the fact we may well have bounced off the floor already. Thats fine - nothing says a user space daemon isn't a good starting point. No doesn't work like that. The command currently being processed on IDE can take up to 60 seconds to complete. Idle immediate (on the devices it works for - it hangs some) is very special in that it can be used in some cases to interrupt a running command sequence. It requires a significant amount of work in the driver layer to then clean up and requeue the partial command and to know if it is possible to do so. I think we have three things here 1. A general queue freeze scheme from user space 2. A general implementation of a queue freeze that stops further command issuing while the queue is blocked 3. The ability for devices to provide a function to be called when a queue freeze is done (ie idle immediate and the like) The fine details of how you abort an ATA command don't actually matter for an initial implementation and can be written once the core stuff is right. I have the specs, and I don't understand it or even if it is valid to do so. Some research (as in trying it and seeing) may be needed. The scsi midlayer is the main manager of queues so that seems sane - and if you've got the basic queue freeze logic right then one assumes it will work for scsi too. --
| Arnd Bergmann | SCHED_IDLE documentation |
| david | Re: limits on raid |
| Jan Engelhardt | Re: [PATCH] CodingStyle: multiple updates |
| Ingo Molnar | Re: Rescheduling interrupts |
git: | |
| Russ Brown | git-svn: Branching clarifications |
| Sam Song | Fwd: [OT] Re: Git via a proxy server? |
| Junio C Hamano | Re: More precise tag following |
| Pierre Habouzit | Re: People unaware of the importance of "git gc"? |
| Michael | Virtual interface |
| Stijn | Re: libiconv problem |
| Stefan Beke | mail dovecot: pipe() failed: Too many open files |
| Amaury De Ganseman | "ping: sendto: No buffer space available" when using bittorrent or another p2p |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Darren Senn | Re: Elm |
| Seung-Chul Woo | Is it possible to mount GNU HURD file system as DOS in SLS? |
| David Willmore | Re: Intel, the Pentium and Linux |
