Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Feb 2020 21:24:11 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        Jeff Roberson <jeff@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, Jan Beich <jbeich@FreeBSD.org>
Subject:   Re: svn commit: r358363 - head/sys/vm
Message-ID:  <20200229212411.1e6aed2d49d6644937b78452@bidouilliste.com>
In-Reply-To: <202002270237.01R2bRLJ023799@repo.freebsd.org>
References:  <202002270237.01R2bRLJ023799@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

 Hi Jeff,

On Thu, 27 Feb 2020 02:37:27 +0000 (UTC)
Jeff Roberson <jeff@FreeBSD.org> wrote:

> Author: jeff
> Date: Thu Feb 27 02:37:27 2020
> New Revision: 358363
> URL: https://svnweb.freebsd.org/changeset/base/358363
> 
> Log:
>   Add unlocked grab* function variants that use lockless radix code to
>   lookup pages.  These variants will fall back to their locked counterparts
>   if the page is not present.
>   
>   Discussed with:	kib, markj
>   Differential Revision:	https://reviews.freebsd.org/D23449
> 
> Modified:
>   head/sys/vm/vm_page.c
>   head/sys/vm/vm_page.h
> 

 We're (jbeich@ and me) seeing wired memory leak since this commit.
 A simple way to reproduce is to have drm-kmod (either 4.16 or 5.0) and
liba-intel-driver/libva-intel-media-driver and start mpv in a loop :

 while mpv --hwdec=vaapi --start=10.0 --end=10.1 /path/to/file ; do
 done

 Reverting this commit on one of my test machine shows that this is the
culprit.
 If you need anymore info/debug let me know.

 Thanks.

-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200229212411.1e6aed2d49d6644937b78452>