svn commit: r281442 - head/sys/kern

Antoine Brodin antoine at FreeBSD.org
Thu Apr 23 19:53:21 UTC 2015


On Sat, Apr 11, 2015 at 8:51 PM, Will Andrews <will at freebsd.org> 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


More information about the svn-src-all mailing list