Date: Sun, 18 Nov 2007 07:39:57 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 129200 for review Message-ID: <200711180739.lAI7dvNW094140@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=129200 Change 129200 by kmacy@kmacy:storage:toestack on 2007/11/18 07:39:14 add missed lock around vm_page_unhold Affected files ... .. //depot/projects/toestack/sys/vm/vm_fault.c#5 edit Differences ... ==== //depot/projects/toestack/sys/vm/vm_fault.c#5 (text+ko) ==== @@ -1408,11 +1408,12 @@ goto error; } goto retry; - + + vm_page_lock_queues(); for (pages = mp, va = start; va < pageslen; va += PAGE_SIZE, pages++) if (*pages) vm_page_unhold(*pages); - + vm_page_unlock_queues(); return (EFAULT); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711180739.lAI7dvNW094140>