From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qa0-f53.google.com (mail-qa0-f53.google.com [209.85.216.53]) by kanga.kvack.org (Postfix) with ESMTP id 112CF6B0062 for ; Tue, 22 Apr 2014 16:33:18 -0400 (EDT) Received: by mail-qa0-f53.google.com with SMTP id w8so5484445qac.40 for ; Tue, 22 Apr 2014 13:33:17 -0700 (PDT) Received: from mx1.redhat.com (mx1.redhat.com. [209.132.183.28]) by mx.google.com with ESMTP id gq5si17490455qab.233.2014.04.22.13.33.17 for ; Tue, 22 Apr 2014 13:33:17 -0700 (PDT) Date: Tue, 22 Apr 2014 16:32:44 -0400 From: Dave Jones Subject: Re: 3.15rc2 hanging processes on exit. Message-ID: <20140422203244.GA30757@redhat.com> References: <20140422180308.GA19038@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Hugh Dickins Cc: Linus Torvalds , Linux Kernel , linux-mm On Tue, Apr 22, 2014 at 01:17:33PM -0700, Hugh Dickins wrote: > Your patch looks to me correct and to the point; but I agree that > we haven't made a relevant change there recently, so I suppose it > comes from a trinity improvement rather than a new bug in 3.15. > > (Dave, do you have time to confirm that by running new trinity on 3.14?) I can give it a shot. I think perhaps a bigger reason why this might be only just turning up, is that I now have an upper bound on the number of entries in an iovec at 256 entries. So now there's more chance that we'll generate an iovec that a syscall can actually use instead of us running out of memory trying to satisfy every entry and constructing a broken iovec struct if we hit ENOMEM Dave -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932173AbaDVUdd (ORCPT ); Tue, 22 Apr 2014 16:33:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12027 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757638AbaDVUcz (ORCPT ); Tue, 22 Apr 2014 16:32:55 -0400 Date: Tue, 22 Apr 2014 16:32:44 -0400 From: Dave Jones To: Hugh Dickins Cc: Linus Torvalds , Linux Kernel , linux-mm Subject: Re: 3.15rc2 hanging processes on exit. Message-ID: <20140422203244.GA30757@redhat.com> Mail-Followup-To: Dave Jones , Hugh Dickins , Linus Torvalds , Linux Kernel , linux-mm References: <20140422180308.GA19038@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 22, 2014 at 01:17:33PM -0700, Hugh Dickins wrote: > Your patch looks to me correct and to the point; but I agree that > we haven't made a relevant change there recently, so I suppose it > comes from a trinity improvement rather than a new bug in 3.15. > > (Dave, do you have time to confirm that by running new trinity on 3.14?) I can give it a shot. I think perhaps a bigger reason why this might be only just turning up, is that I now have an upper bound on the number of entries in an iovec at 256 entries. So now there's more chance that we'll generate an iovec that a syscall can actually use instead of us running out of memory trying to satisfy every entry and constructing a broken iovec struct if we hit ENOMEM Dave