[LTP] [PATCH] numa_helper: don't break is_numa() with TCONF

Cyril Hrubis chrubis@suse.cz
Mon Feb 22 14:25:22 CET 2016


Hi!
> > And the same for is_numa(), it calls tst_brkm(TBROK | TERRNO, ...) in
> > case that get_allowed_nodes_arr() returned non-zero.
> 
> If get_allowed_nodes_arr() returned non-zero because of get_mempolicy,
> that means get_mempolicy is implemented but failed. I think that
> justifies TBROK.

Now I'm confused. You said that the syscall can exit -1 and ENOSYS. In
that case the filter_nodemask_mem() returns -2 which is propagated from
get_allowed_nodes_arr() to is_numa() where the test ends with TBROK
rather than with TCONF. Or did I miss something?

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the Ltp mailing list