All of lore.kernel.org
 help / color / mirror / Atom feed
* Unexpected warning on non-NUMA host
@ 2009-01-09 12:23 Kazunori Asayama
  2009-01-09 15:15 ` Cliff Wickman
  0 siblings, 1 reply; 4+ messages in thread
From: Kazunori Asayama @ 2009-01-09 12:23 UTC (permalink / raw)
  To: linux-numa

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-14 14:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-09 12:23 Unexpected warning on non-NUMA host Kazunori Asayama
2009-01-09 15:15 ` Cliff Wickman
2009-01-13  1:57   ` Kazunori Asayama
2009-01-14 14:23     ` Cliff Wickman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.