From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=LMKMfzrYRH40su4ROvMUOq4DIrLhsEVBzMjQTrdMoYg=; b=LcG159imCJ2HRT4R1cSeKsDwy29Rvyi5rcvWe6PaaRikm9JvI/ht8EHxKndHoO7GzR xhHZTfFSlQB3wrV9CD3w4XUF7EcYPFzv+cX6W9IMJhjm6SaFtRcb+v1cZHWLtalgDV70 CwK64of+EkbKJGahOW1qJ/B7ZGMzs2UlnyUDqXsV9OI9WSVNPRvQh98xtOFqqEX4hxTW QhEK5tO7FoxdVhsukmXygms7NDf4yDUCkAOrNk2NdS5aEXA1azKf4vN+kjntM5/rCUW3 GNA1IM9JE+AKp8esyEnGchotMMA8yFYknwHHwEEwtcP9zFKibhJHrN7ZPfFLrPajCt6m FEWA== X-Gm-Message-State: ALoCoQlpDNT96mgEeetHpOkwmnQ9jFxDSUaQThPfTvYg3FbVWbXLc2VuifJFtZtdxOV9Kxgp3Z69 X-Received: by 10.194.48.8 with SMTP id h8mr22960425wjn.82.1436433582110; 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) From: David Marchand To: dev@dpdk.org Date: Thu, 9 Jul 2015 11:19:20 +0200 Message-Id: <1436433566-328-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1436259634-7077-1-git-send-email-david.marchand@6wind.com> References: <1436259634-7077-1-git-send-email-david.marchand@6wind.com> Subject: [dpdk-dev] [PATCH v2 0/6] eal/linux: cleanup hugepage code 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: Thu, 09 Jul 2015 09:19:42 -0000 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