From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: [PATCH v2 0/6] eal/linux: cleanup hugepage code Date: Thu, 9 Jul 2015 11:19:20 +0200 Message-ID: <1436433566-328-1-git-send-email-david.marchand@6wind.com> References: <1436259634-7077-1-git-send-email-david.marchand@6wind.com> To: dev@dpdk.org Return-path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id 53D4CC314 for ; Thu, 9 Jul 2015 11:19:42 +0200 (CEST) Received: by widjy10 with SMTP id jy10so239199492wid.1 for ; Thu, 09 Jul 2015 02:19:42 -0700 (PDT) Received: from alcyon.dev.6wind.com (6wind.net2.nerim.net. [213.41.151.210]) by smtp.gmail.com with ESMTPSA id um5sm7774777wjc.1.2015.07.09.02.19.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 02:19:41 -0700 (PDT) In-Reply-To: <1436259634-7077-1-git-send-email-david.marchand@6wind.com> 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. Changes since v1 - fix build on 32 bits system -- 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 | 161 ++++++++++++----------- 1 file changed, 85 insertions(+), 76 deletions(-) -- 1.7.10.4