Hi! > > > That sounds like a non starter. What if the box is busy, what if the > > > daemon or something you touch needs memory and causes paging ? > > > > The daemon runs mlock'd anyway, so there won't be any need for paging > > mlock 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. Well... but you can be careful about the syscalls, right? Anyway, active protection is 'best effort' anyway. There's not enough time to park heads if you drop the machine without tilting it first... and we have been running with no protection for years now... > > stays in memory all the time, it can go ahead and notify the kernel that > > the disk heads should be unloaded. The kernel takes care to insert the > > idle immediate command at the head of the queue. Am I missing something? > > Yes - the fact we may well have bounced off the floor already. Well, shit happens. Even notebook with parked harddrive is not guaranteed to survive the fall. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html