From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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; bh=+OjbmfQihA+HlAhSeWgutxQD5b3c6/aVHUKraD22JSM=; b=GZVDPvv4lCYbNMU9i5JSk+HUr2vZxPQI7TVAu7FJyR0lVFgOQa8L3VdMeJwD7cZ+mI EUH8tKqD4MzIg+fFsx2fe8SWCbxI0fPdYTGvCLPVWn+tb4FVHuYo2Mu6mNSK8cG7urcs 5KF6ouQiDNY3HQqfVvyrVzwDRKUClnODAs0xhR7AscjERSb6un2ArZzifXvOuXlivwxT LZp9reTzPy2kQAx+f8G0CPf9gpGQfGIY/DKcL5LZC0NEaiS+vHvlXsJhF3X6IO6L+30T AcNkbeOe2SquWex4PpCVrcMJZ5fnH6uH4RA5HWcesvFFlESDy5zICa/UPeDjxa8mXDwu C16Q== X-Gm-Message-State: ALoCoQnj13p6zLq8SpBVIavNZ1ExTMxWn1FO89EZdv+NPKwxpq1uDgGgWYiOLfK/76xeWcCGZiVG X-Received: by 10.180.86.129 with SMTP id p1mr98852866wiz.71.1436259646661; 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) From: David Marchand To: dev@dpdk.org Date: Tue, 7 Jul 2015 11:00:28 +0200 Message-Id: <1436259634-7077-1-git-send-email-david.marchand@6wind.com> X-Mailer: git-send-email 1.7.10.4 Subject: [dpdk-dev] [PATCH 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: Tue, 07 Jul 2015 09:00:47 -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. -- 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