From owner-svn-src-all@FreeBSD.ORG Thu Apr 23 19:53:21 2015 Return-Path: Delivered-To: svn-src-all@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 C5F40FC8; Thu, 23 Apr 2015 19:53:21 +0000 (UTC) Received: from mail-wi0-x22c.google.com (mail-wi0-x22c.google.com [IPv6:2a00:1450:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 614AC1BB2; Thu, 23 Apr 2015 19:53:21 +0000 (UTC) Received: by wicmx19 with SMTP id mx19so20089742wic.1; Thu, 23 Apr 2015 12:53:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=QTp3cF1ezHrUVzke+LxSXFn7m7tOqcGvqVw/Sc1F7+I=; b=B+jeq3wb4DAX4lymORgqAGlApd15dR9018F8c7oJIJxBpaq+JXxVhEQyqX8/g6jeAl kgcplnlOwMdBv8QUQzLHIHDWWfhOPEk1U1Y4EvMUzEgFWR9ZvDzVxbLtmTzM7kmWTcR9 548aOrXnbVi4S3vDmiyRuG3LEE1LnyfxQG4NcM4eLuzz2+XGEFrNM6i4TzKqRxfjOOow 9XhCj2gfibM1MdgzEp3YtpP/Eq0zJyBshDHtz+SiFpefsClvM0coHDVjlTOrLW/tdYyg AE2H2H8K+d1wZ5/iWCL2jk/RKOEoIn0NoIgaYr5beMHlrolr42e/xnK6GgLEvhL8MgdM RRKA== MIME-Version: 1.0 X-Received: by 10.194.78.49 with SMTP id y17mr8817222wjw.131.1429818799981; Thu, 23 Apr 2015 12:53:19 -0700 (PDT) Sender: antoine.brodin.freebsd@gmail.com Received: by 10.194.87.100 with HTTP; Thu, 23 Apr 2015 12:53:19 -0700 (PDT) In-Reply-To: <201504111851.t3BIpgRS071392@svn.freebsd.org> References: <201504111851.t3BIpgRS071392@svn.freebsd.org> Date: Thu, 23 Apr 2015 21:53:19 +0200 X-Google-Sender-Auth: KJfD8v9khcaI4m3dGc6QWP5LjMI Message-ID: Subject: Re: svn commit: r281442 - head/sys/kern From: Antoine Brodin To: Will Andrews Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2015 19:53:21 -0000 On Sat, Apr 11, 2015 at 8:51 PM, Will Andrews wrote: > Author: will > Date: Sat Apr 11 18:51:41 2015 > New Revision: 281442 > URL: https://svnweb.freebsd.org/changeset/base/281442 > > Log: > uiomove_object_page(): Avoid instantiating pages in sparse regions on reads. > > Check whether the page being requested is either resident or on swap. If > not, read from the zero_region instead of instantiating an unnecessary page. > > This avoids consuming memory for sparse files on tmpfs, when they are read > by applications that do not use SEEK_HOLE/SEEK_DATA (which is most of them). > > Reviewed by: kib > MFC after: 1 week > Sponsored by: Spectra Logic Hi, We have a daily panic on one of the package builders: https://reviews.freebsd.org/P60 Reverting this commit seems to fix the panic. Cheers, Antoine