On Tue, Dec 14, 2010 at 7:43 AM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > Without _any_ at all of the crappy "rwsem_contended()" or the stupid > constants, we hold it only for reading, _and_ we drop it for any > actual IO. So the semaphore is held only for actual CPU intensive > cases. We're talking a reduction from minutes to milliseconds. It's actually still several seconds for a large enough mlock from page cache. But yes, I agree it'll do fine for now :) -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>