From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id B1C1F68A9 for ; Fri, 9 May 2014 16:29:20 +0200 (CEST) Received: by mail-wi0-f179.google.com with SMTP id bs8so1422210wib.6 for ; Fri, 09 May 2014 07:29:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=NRTga22ujXMzdXDjIoXpP6n5+LY0qIsQxl5tB50F1DA=; b=FzAkAP/GgYQB+cwfdM74LG92ODSd7rRUddQCGrw6juHb40HLvAd6tplruAuh61PPiE D24eE4a/JLl4lv57wKOarnPyYjzxEkc8Gsd+6hf31Thcz1sLm1fOR6bTAio0XymMwDYY fBe3yDKD4FXUo4REYLSy6ldbzEoH3WQ4ToTXez32yfCqfjSi6gnGn0bOkao+Sff6l9pQ i9EVN6hZECIWiqnuUhPzMqIIbZW8lRScoM/DetMgNQj/Mw9UZxKdsq0+M2W4MWwoP1Nl 4WyJPXVanlkRjRf9WCa3j051Vji1DVh2lbXgSH0i2+gsH6p9QnCITxkmfj0Y80u/IzZr S8Sg== X-Gm-Message-State: ALoCoQnGOdO/Gz0N2l80azEC2WU2e70PMzCYzOFP5U+loMx0FsvEyWTITQ54fuRlJg9HB4/vy81J X-Received: by 10.194.57.225 with SMTP id l1mr2192496wjq.25.1399645767104; Fri, 09 May 2014 07:29:27 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id gt4sm5389571wib.11.2014.05.09.07.29.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 May 2014 07:29:26 -0700 (PDT) From: Thomas Monjalon To: "Sanford, Robert" Date: Fri, 09 May 2014 16:29:22 +0200 Message-ID: <1732920.vAAxgJ8rHH@xps13> Organization: 6WIND User-Agent: KMail/4.13 (Linux/3.14.2-1-ARCH; KDE/4.13.0; x86_64; ; ) In-Reply-To: References: <8858820.pzz9KGdcSJ@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH] malloc: fix rte_free run time in O(n) free blocks X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2014 14:29:21 -0000 2014-05-09 09:24, Sanford, Robert: > Hi Thomas, > > >Some patches like this one are not yet reviewed because efforts were > >focused > >on release 1.6.0r2. This enhancement must be integrated in 1.7.0. > >I know that patchwork service is desired and I hope it will be available > >soon. > > I realized that you guys had been very busy with 1.6.0r2. I just wanted to > make > sure that lower-priority patches didn't fall through the cracks. > > >By the way, looking at librte_malloc, it seems implementation of lists > >could > >be simpler. Don't you think we could improve (in another patch) this > >whole > >code by using BSD macros for lists? > > Yes, I was surprised to find the malloc code not using any kind of list > functions/macros. I am willing to rework the patch. By BSD list macros, I > believe you are referring to QUEUE(3) and sys/queue.h. It that right? Yes I'm referring to QUEUE(3). So I wait for your rework. Thanks -- Thomas