[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ltp-list
Subject:    Re: [LTP] [PATCH] mbind01, get_mempolicy01: dont use hardcoded node 0
From:       Jan Stancek <jstancek () redhat ! com>
Date:       2012-05-24 13:02:34
Message-ID: 3260b6d6-ee3a-4c87-a51a-424c96f62514 () zmail17 ! collab ! prod ! int ! phx2 ! redhat ! com
[Download RAW message or body]



----- Original Message -----
> From: "Caspar Zhang" <caspar@casparzhang.com>
> To: "Jan Stancek" <jstancek@redhat.com>
> Cc: ltp-list@lists.sourceforge.net, "Jeffrey Burke" <jburke@redhat.com>
> Sent: Thursday, 24 May, 2012 2:22:28 PM
> Subject: Re: [LTP] [PATCH] mbind01, get_mempolicy01: dont use hardcoded node 0
> 
> On 05/23/2012 07:02 PM, Jan Stancek wrote:
> > 
> > These tests are failing on following setup:
> >   # numactl -H
> >   available: 2 nodes (0-1)
> >   node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
> >   21 22
> >   23 24 25 26 27 28 29 30 31
> >   node 0 size: 0 MB
> >   node 0 free: 0 MB
> >   node 1 cpus:
> >   node 1 size: 12288 MB
> >   node 1 free: 9998 MB
> >   node distances:
> >   node   0   1
> >     0:  10  40
> >     1:  40  10
> > 
> > Avoid hardcoded node 0 by using numa_get_mems_allowed().
> > 
> > Signed-off-by: Jan Stancek <jstancek@redhat.com>
> > ---
> Reviewed-by: Caspar Zhang <caspar@casparzhang.com>
> 
> 

Please hold off from comitting this patch,
I just found it breaks on larger NUMA systems in get_mempolicy.

Regards,
Jan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic