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

2013-05-07 Thread Konstantin Belousov
On Tue, May 07, 2013 at 01:04:35AM -0600, Scott Long wrote: > > On May 6, 2013, at 2:05 PM, Konstantin Belousov wrote: > > > On Mon, May 06, 2013 at 08:16:11PM +0200, Pawel Jakub Dawidek wrote: > >> On Sun, Apr 28, 2013 at 07:12:09PM +, Konstantin Belousov wrote: > >>> Author: kib > >>> Date

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

2013-05-07 Thread Scott Long
On May 6, 2013, at 2:05 PM, Konstantin Belousov wrote: > On Mon, May 06, 2013 at 08:16:11PM +0200, Pawel Jakub Dawidek wrote: >> On Sun, Apr 28, 2013 at 07:12:09PM +, Konstantin Belousov wrote: >>> Author: kib >>> Date: Sun Apr 28 19:12:09 2013 >>> New Revision: 250027 >>> URL: http://svnweb

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

2013-05-06 Thread Pawel Jakub Dawidek
On Mon, May 06, 2013 at 11:05:30PM +0300, Konstantin Belousov wrote: > On Mon, May 06, 2013 at 08:16:11PM +0200, Pawel Jakub Dawidek wrote: > > On Sun, Apr 28, 2013 at 07:12:09PM +, Konstantin Belousov wrote: > > > Author: kib > > > Date: Sun Apr 28 19:12:09 2013 > > > New Revision: 250027 > >

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

2013-05-06 Thread Konstantin Belousov
On Mon, May 06, 2013 at 08:16:11PM +0200, Pawel Jakub Dawidek wrote: > On Sun, Apr 28, 2013 at 07:12:09PM +, Konstantin Belousov wrote: > > Author: kib > > Date: Sun Apr 28 19:12:09 2013 > > New Revision: 250027 > > URL: http://svnweb.freebsd.org/changeset/base/250027 > > > > Log: > > Elimin

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

2013-05-06 Thread Pawel Jakub Dawidek
On Sun, Apr 28, 2013 at 07:12:09PM +, Konstantin Belousov wrote: > Author: kib > Date: Sun Apr 28 19:12:09 2013 > New Revision: 250027 > URL: http://svnweb.freebsd.org/changeset/base/250027 > > Log: > Eliminate the layering violation in the kern_sendfile(). When quering > the file size, u

svn commit: r250027 - head/sys/kern

2013-04-28 Thread Konstantin Belousov
Author: kib Date: Sun Apr 28 19:12:09 2013 New Revision: 250027 URL: http://svnweb.freebsd.org/changeset/base/250027 Log: Eliminate the layering violation in the kern_sendfile(). When quering the file size, use VOP_GETATTR() instead of accessing vnode vm_object un_pager.vnp.vnp_size. T