From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5 2/8] Move common functions in eal.c Date: Thu, 16 Apr 2015 10:24:57 +0200 Message-ID: <4780798.Fhdhc6hoDZ@xps13> References: <1428608301-31033-1-git-send-email-rkerur@gmail.com> <1428608412-31191-1-git-send-email-rkerur@gmail.com> <1428608412-31191-3-git-send-email-rkerur@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Ravi Kerur Return-path: In-Reply-To: <1428608412-31191-3-git-send-email-rkerur-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Ravi, I think this patch is too complex and move too many different things: - sysfs - mem_cfg - proc_type - application_usage Please split them up. I'm not sure the classification in eal_common_runtime.c and eal_common_system.c new file is clear. 2015-04-09 12:40, Ravi Kerur: > + mem_config = (struct rte_mem_config *) mmap(NULL, sizeof(*mem_config), Why this cast is needed?