This is looking really good. I'm going to start running it on my -current boxes. I think it could be committed after the 5.0 release rolls, as well as MFCd to -stable (which I would be happy to do the work for).
-Matt Matthew Dillon <[EMAIL PROTECTED]> :No, I've tested it extensively, and I haven't been able to :reproduce the problem since I updated my sources. (It was hard to :reproduce beforehand.) I did two more runs with one swap device :and two runs with two swap devices, and it worked even when the :system was thrashing. : :The latest patches are at : : http://www.CSUA.Berkeley.EDU/~das/swapoff.patch4 : :Performance is now much better when there are multiple swap :devices. Instead of effectively having to wait for each hash :chain to become quiescent, swapoff now skips busy objects, then :does a complete rescan if it missed anything. Only a few rescans :are required, even with multiple active swap devices. :A clustering optimization might still be worthwhile, but that can :be done another day. : :(Sorry for the delay in getting back to you. I've been too busy :and sick for the last week to work on this.) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message