Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2020 13:55:50 -0800
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        Ravi Pokala <rpokala@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r358317 - head/sys/kern
Message-ID:  <20200226215550.GO5741@FreeBSD.org>
In-Reply-To: <23A820B4-2E13-4E3E-B734-C7950298C286@panasas.com>
References:  <202002251911.01PJBLDP091875@repo.freebsd.org> <23A820B4-2E13-4E3E-B734-C7950298C286@panasas.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 25, 2020 at 12:02:29PM -0800, Ravi Pokala wrote:
R>       When sendfile_swapin() sweeps through pages in search for a bogus page
R>       skip first and last pages.  This is a micro optimisation.
R> 
R> Yes, but *why* skip the first and last pages?

We may have inserted bogus pages in the middle of a request. We never substitute
first or last.

-- 
Gleb Smirnoff



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