lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140527175127.GA2570@moon>
Date:	Tue, 27 May 2014 21:51:27 +0400
From:	Cyrill Gorcunov <gorcunov@...il.com>
To:	Cong Wang <xiyou.wangcong@...il.com>
Cc:	"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
	Al Viro <viro@...iv.linux.org.uk>,
	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Pavel Emelyanov <xemul@...allels.com>
Subject: Re: [linux-next] splice call weird results

On Tue, May 27, 2014 at 10:20:46AM -0700, Cong Wang wrote:
> On Tue, May 27, 2014 at 3:27 AM, Cyrill Gorcunov <gorcunov@...il.com> wrote:
> > On Tue, May 27, 2014 at 01:20:13PM +0300, Kirill A. Shutemov wrote:
> >> Cyrill Gorcunov wrote:
> >> > Hi! While been trying to run criu on linux-next (due to recent Kirill's patch related
> >> > to /proc/pid/clear_refs with THP enabled) I noticed that it fails dumping programs when
> >> > moves data from memory pages into an image file. So I wrote pretty idiotic test and
> >> > run it on current fedora 20 kernel and then on linux-next.
> >> >
> >>
> >> +Al. He reworked splice code in linux-next.
> >
> > Thanks Kirill. Al, it looks like iter_file_splice_write no longer honor @len while
> > building kiocb vector but pushes as much as it can.
> 
> 
> I guess this should fix your problem:
> https://lkml.org/lkml/2014/5/27/353

Thanks, but i doubt, the problem I notice is rather in iter_file_splice_write.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ