Re: svn commit: r358317 - head/sys/kern

2020-02-26 Thread Ravi Pokala
-Original Message- From: Gleb Smirnoff Date: 2020-02-26, Wednesday at 13:55 To: Ravi Pokala Cc: , , Subject: Re: svn commit: r358317 - head/sys/kern On Tue, Feb 25, 2020 at 12:02:29PM -0800, Ravi Pokala wrote: R> When sendfile_swapin() sweeps through pages in search

Re: svn commit: r358317 - head/sys/kern

2020-02-26 Thread Gleb Smirnoff
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 t

Re: svn commit: r358317 - head/sys/kern

2020-02-25 Thread Ravi Pokala
-Original Message- From: on behalf of Gleb Smirnoff Date: 2020-02-25, Tuesday at 11:11 To: , , Subject: svn commit: r358317 - head/sys/kern Author: glebius Date: Tue Feb 25 19:11:20 2020 New Revision: 358317 URL: https://svnweb.freebsd.org/changeset/base/358317

svn commit: r358317 - head/sys/kern

2020-02-25 Thread Gleb Smirnoff
Author: glebius Date: Tue Feb 25 19:11:20 2020 New Revision: 358317 URL: https://svnweb.freebsd.org/changeset/base/358317 Log: When sendfile_swapin() sweeps through pages in search for a bogus page skip first and last pages. This is a micro optimisation. Modified: head/sys/kern/kern_sendfi