From owner-freebsd-arch@FreeBSD.ORG Wed May 6 16:59:55 2015 Return-Path: Delivered-To: arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E6A8F8B4; Wed, 6 May 2015 16:59:55 +0000 (UTC) Received: from pp2.rice.edu (proofpoint2.mail.rice.edu [128.42.201.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 955391FF0; Wed, 6 May 2015 16:59:55 +0000 (UTC) Received: from pps.filterd (pp2.rice.edu [127.0.0.1]) by pp2.rice.edu (8.14.5/8.14.5) with SMTP id t46GtoU9031070; Wed, 6 May 2015 11:59:53 -0500 Received: from mh3.mail.rice.edu (mh3.mail.rice.edu [128.42.199.10]) by pp2.rice.edu with ESMTP id 1u75yagdr1-1; Wed, 06 May 2015 11:59:53 -0500 X-Virus-Scanned: by amavis-2.7.0 at mh3.mail.rice.edu, auth channel Received: from 108-254-203-201.lightspeed.hstntx.sbcglobal.net (108-254-203-201.lightspeed.hstntx.sbcglobal.net [108.254.203.201]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) (Authenticated sender: alc) by mh3.mail.rice.edu (Postfix) with ESMTPSA id 82A26403F6; Wed, 6 May 2015 11:59:52 -0500 (CDT) Message-ID: <554A4887.9080308@rice.edu> Date: Wed, 06 May 2015 11:59:51 -0500 From: Alan Cox User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Gleb Smirnoff , kib@FreeBSD.org, alc@FreeBSD.org CC: arch@FreeBSD.org Subject: Re: more strict KPI for vm_pager_get_pages() References: <20150430142408.GS546@nginx.com> <20150506114549.GS34544@FreeBSD.org> In-Reply-To: <20150506114549.GS34544@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 kscore.is_bulkscore=2.43328298512036e-05 kscore.compositescore=0 circleOfTrustscore=0 compositescore=0.714301145562988 suspectscore=3 recipient_domain_to_sender_totalscore=0 phishscore=0 bulkscore=0 kscore.is_spamscore=0 rbsscore=0.714301145562988 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=0 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.714301145562988 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1505060201 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2015 16:59:56 -0000 On 05/06/2015 06:45, Gleb Smirnoff wrote: > Hi! > > I'm splitting the patch into a serie. This is step 1: > > Pagers are responsible to update the array of pages in > case if they replace pages in an object. All array entries > must be valid, if pager returns VM_PAGER_OK. > > Note: the only pager that replaces pages is sg_pager, and > it does that correctly. > No, look again, e.g., device_pager.