From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: [PATCH 0/6] eal/linux: cleanup hugepage code Date: Tue, 7 Jul 2015 11:00:28 +0200 Message-ID: <1436259634-7077-1-git-send-email-david.marchand@6wind.com> To: dev@dpdk.org Return-path: Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id D8EA6106B for ; Tue, 7 Jul 2015 11:00:46 +0200 (CEST) Received: by wiclp1 with SMTP id lp1so43817972wic.0 for ; Tue, 07 Jul 2015 02:00:46 -0700 (PDT) Received: from alcyon.dev.6wind.com (6wind.net2.nerim.net. [213.41.151.210]) by mx.google.com with ESMTPSA id y19sm32737674wia.15.2015.07.07.02.00.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jul 2015 02:00:45 -0700 (PDT) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Here is a little patchset cleaning eal_hugepage_info.c file and fixing a bug when having more than two hugepage sizes. No functional change to be expected. -- David Marchand David Marchand (6): eal/linux: remove useless check on process type eal/linux: remove useless casts eal/linux: cosmetic change eal/linux: rework while loop eal/linux: indent file eal/linux: avoid out of bound access lib/librte_eal/linuxapp/eal/eal_hugepage_info.c | 156 ++++++++++++----------- 1 file changed, 80 insertions(+), 76 deletions(-) -- 1.7.10.4