From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1RziI0-0005Aa-6T for ltp-list@lists.sourceforge.net; Tue, 21 Feb 2012 05:29:24 +0000 Received: from mail-pw0-f47.google.com ([209.85.160.47]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1RziHz-0006NH-5e for ltp-list@lists.sourceforge.net; Tue, 21 Feb 2012 05:29:24 +0000 Received: by pbcum15 with SMTP id um15so7032975pbc.34 for ; Mon, 20 Feb 2012 21:29:17 -0800 (PST) Message-ID: <4F432B83.2010409@casparzhang.com> Date: Tue, 21 Feb 2012 13:28:35 +0800 From: Caspar Zhang MIME-Version: 1.0 References: <1329735301-17676-1-git-send-email-caspar@casparzhang.com> In-Reply-To: <1329735301-17676-1-git-send-email-caspar@casparzhang.com> Subject: Re: [LTP] [PATCH 1/2] mm/lib: change count_numa() behavior List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: LTP List On 02/20/2012 06:55 PM, Caspar Zhang wrote: > > this patch fixes two problems. > > 1) avoid using functions from numactl package, so compilation would pass > w/ and w/o numactl development package installed. > > 2) count_numa() functions now has a parameter, which stores the array of > each nodes on the system. This is because some systems doesn't have > continuous nodes or the node sequence does not start from zero, when we > want to test specific node, we should make sure the node does exist. > Thus, an array for node numbers is necessary. Follow-up patches will > update count_numa() with new parameters accordingly. > > Signed-off-by: Caspar Zhang > --- > testcases/kernel/mem/include/mem.h | 2 +- > testcases/kernel/mem/lib/mem.c | 12 +++++------- > 2 files changed, 6 insertions(+), 8 deletions(-) > FYI. the patch series has been tested on several systems and confirmed to be working. Thanks for reviewing. Committed. Thanks, Caspar ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list