From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kazunori Asayama Subject: Unexpected warning on non-NUMA host Date: Fri, 09 Jan 2009 21:23:09 +0900 Message-ID: <496741AD.7020006@sm.sony.co.jp> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: linux-numa-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: linux-numa@vger.kernel.org Hi all, When I ran a program which was linked with libnuma (version 2.0.2) but without libnuma function calls on non-NUMA platform, I got an unexpected warning message: > libnuma: Warning: /sys not mounted or no numa system. Assuming one node: No such file or directory I'd like to create single program which works on both of NUMA and non-NUMA platforms, by switching behavior according to the result of numa_available(). So I expect the message above isn't displayed if no NUMA library function except numa_available() is called, even if the program is linked with libnuma. AFAIK, the version 1 didn't show such message until a NUMA function except numa_available() was called. So is the current behavior unexpected? Regards, -- (ASAYAMA Kazunori (asayama@sm.sony.co.jp)) t