Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3144662imu; Fri, 18 Jan 2019 05:38:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN5yA0CVzLmfflLagROZMmW5l9RGN4TYGw+N3Kd5gIDRMH3Q3Cq/y9F2yEpBAWlNs7np0Vxr X-Received: by 2002:a62:8add:: with SMTP id o90mr19229204pfk.210.1547818697796; Fri, 18 Jan 2019 05:38:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547818697; cv=none; d=google.com; s=arc-20160816; b=ZNxvn5VPTFHc6nCM8IRFnGzkZUJpfuCnCYFto0dhza8X1fBX2MMP0dPyMUufv/5t2+ Y/bLijXivZ19FPBe/8NNNqvjhnqOa7ZUXv38A/sWI+8tChJUWYphS3+qYs5r3Madcict g2FTN+s8BqT9d3SMD86WL2Vbx02QM01NekUjHsN75+aQOUOKrI1QXEIdSUotlaXj2KqT Iqzo8Dl1TSziPmO74nzANQ+AFgQNAGGA5r6aB3QKQbe51EqsHke/9qZbgqi/xs/ooLVG 1/1HiYiaB5KePnEmnga0Ek2A9YrTwO84tW9TH5zXhnvcLxwFhsOBGVG0wm8dPSFAtWAK 4J2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lq/IqQ19vCoxyFTJyD7jgLHanmIgXYLNCjQ21ue7X5o=; b=QlT7ijIYBfo4WtsaBGiu3mw37yFKCWcDZF/2tHel1F69swUKmaKzT4GTkjlslQyFzo H+yVmYDpyo2iAS6kJ5E0d/jSRp0mjUgMUyUvx58oMsc58vC0jA/9eMfmvZqSIhj9f4LR mwWInLUJYknQQcFllmnTxu//QLeJPZMPoBWWylvCYaWhXT1dRUycyxIWG3c/yQIGzf19 SOPKpvEQUtYV5JTa3qibHm8ZDRhSkGTzddegpxD5V6rRPlRL+cibtA/V+EBfCeRTfVLk 2jw+zLUHkhxFylFqlDn2aTvmwzwX1xNPG6qZ7nUOI/w9xGUd37XvhtXSt027VDHdFdIT Ehfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BckBCcwY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si4644067plb.103.2019.01.18.05.37.58; Fri, 18 Jan 2019 05:38:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BckBCcwY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727513AbfARNfj (ORCPT + 99 others); Fri, 18 Jan 2019 08:35:39 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:34971 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727037AbfARNfj (ORCPT ); Fri, 18 Jan 2019 08:35:39 -0500 Received: by mail-qk1-f193.google.com with SMTP id w204so8049898qka.2; Fri, 18 Jan 2019 05:35:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lq/IqQ19vCoxyFTJyD7jgLHanmIgXYLNCjQ21ue7X5o=; b=BckBCcwYbzZX4bCIQzPCghFxc694z/6pdhAgN6B+I5hJwJujt3h5yoPnntcg780Pro fpuk9Dk5FN508uPjlLX+RLcZg+IY7f8QcN/bnChTnUcfl4UznU0Cjs3EFoSdd9zM/YSa AEn4X0ZL5CMJn/C5488qjel/dil+4h/636woYWmAy0AP58GOEv/cOiyo+WWj1NIaH+uF GRRtQj72KC34iyBKe+5mOhGfHyRdR7GsXchvgCYtZ5nBbyL2F+I24V7NKeJlGMb8H7m8 Q1Ja3Aehy4kW6Z5d1KCzVYxvuGD3Vis2IVDor0CCSLkqU7GKN5VVrQkuHBT3OCwFS8Ug pVaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=lq/IqQ19vCoxyFTJyD7jgLHanmIgXYLNCjQ21ue7X5o=; b=kK2UVkBCtrDYhBPzzcEpPYRRKaBSwIjzWuoZp9ok+wBbKxXYpzQV2jw3JlexaFTRz7 Z86qKVYrQq3oGIyAeFEyqdxwz4HsM795MhLaHOyFGu6NZkpW8+d6feQQOIo4r+p+J2Sw 3rjCMI4kNjEY6lptsUULYe2oNQaX+cTk2OJU+dSdXMWO9DU9MeQjxrKa72SiOUk81J+a xDo+sGDqkx8HsfVC4IS6zvAYj1eX/BfcjjsBwpIRjHcNm9UUu/4QvM7ylAccdUgPD98R ctHtbCdbWtE+5oUosH2kIlCKnHOEWnpjrVg9GqxMDvZsCWbcx4W5B5FZHhIOUsBQY+6N iZaA== X-Gm-Message-State: AJcUukdOCLl4LnlIg0Wammmp1Bkj8t+IJ3MLoQkZgLnhZhlNdtOGPsAs xRPPdaQmXXktyoBnvU1Ln/Y= X-Received: by 2002:a37:6f85:: with SMTP id k127mr14708794qkc.240.1547818537913; Fri, 18 Jan 2019 05:35:37 -0800 (PST) Received: from localhost.localdomain ([168.181.49.80]) by smtp.gmail.com with ESMTPSA id w184sm67984658qkw.90.2019.01.18.05.35.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Jan 2019 05:35:37 -0800 (PST) Received: by localhost.localdomain (Postfix, from userid 1000) id 73171180B7A; Fri, 18 Jan 2019 11:35:34 -0200 (-02) Date: Fri, 18 Jan 2019 11:35:34 -0200 From: Marcelo Ricardo Leitner To: Neil Horman Cc: Kent Overstreet , Andrew Morton , linux-kernel@vger.kernel.org, Vlad Yasevich , linux-sctp@vger.kernel.org Subject: Re: [PATCH 6/7] sctp: Convert to genradix Message-ID: <20190118133534.GD666@localhost.localdomain> References: <20181217131929.11727-1-kent.overstreet@gmail.com> <20181217131929.11727-7-kent.overstreet@gmail.com> <20181217125001.8e89ac2565417d55ef7a624e@linux-foundation.org> <20181217210021.GA7144@kmo-pixel> <20190115142926.GQ23855@localhost.localdomain> <20190118131022.GA22165@hmswarspite.think-freely.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190118131022.GA22165@hmswarspite.think-freely.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 18, 2019 at 08:10:22AM -0500, Neil Horman wrote: > On Tue, Jan 15, 2019 at 12:29:26PM -0200, Marcelo Ricardo Leitner wrote: > > On Mon, Dec 17, 2018 at 04:00:21PM -0500, Kent Overstreet wrote: > > > On Mon, Dec 17, 2018 at 12:50:01PM -0800, Andrew Morton wrote: > > > > On Mon, 17 Dec 2018 08:19:28 -0500 Kent Overstreet wrote: > > > > > > > > > @@ -535,9 +470,6 @@ int sctp_send_add_streams(struct sctp_association *asoc, > > > > > goto out; > > > > > } > > > > > > > > > > - stream->incnt = incnt; > > > > > - stream->outcnt = outcnt; > > > > > - > > > > > asoc->strreset_outstanding = !!out + !!in; > > > > > > > > > > > > > I'm seeing a reject here for some reason. Using todays's linux-next, > > > > but there are no changes against net/sctp/stream.c in -next. The > > > > assignment to stream->incnt has disappeared. I did this: > > > > > > > > @@ -535,8 +470,6 @@ int sctp_send_add_streams(struct sctp_as > > > > goto out; > > > > } > > > > > > > > - stream->outcnt = outcnt; > > > > - > > > > asoc->strreset_outstanding = !!out + !!in; > > > > > > > > out: > > > > > > > > > > > > We're at 4.20-rc7 and this series is rather large. I'll merge them all > > > > to see what happens, but I don't think it's 4.21-rc1 material? > > > > > > Yeah, agreed. Thanks! > > > > Ping? Where did this go? > > > As I recall kent reposted his series convirting flex_arrays to radix trees such > that it included sctp's uses. That should be this patchset already. Or you mean another (re)post, v2 or so? If yes then I missed it somehow but I still see the flex_array in v5.0-rc2: net-next]$ git ls-tree v5.0-rc2 -- lib/flex_array.c 100644 blob 2eed22fa507c7cb0756d7ef643f8a3454eb455ec lib/flex_array.c and missing the convertion on sctp stack. Current patch is the only one I could find with sctp being included: https://lore.kernel.org/lkml/20181217210021.GA7144@kmo-pixel/T/#re4f8656af37431a376044399681a8771375a4405 > > I think xin needs to repost the sctp reallocation patch to make use of those > radix trees appropriately still (assuming any additional work still needs to be > done) This came up on another converstation with him and the lack of this convertion is blocking him on at least one fix, on one that the fix using flex_arrays is one and genradix is another. Marcelo > > Neil > > > Marcelo > >