fixed numa compile and added numa option to usage printout

Added NUMA=1 to specfile build command line to enable NUMA
options. Added description of --numa option to usage output.

Signed-off-by: Clark Williams <williams@redhat.com>
This commit is contained in:
Clark Williams 2010-01-26 12:05:43 -06:00
parent 1bb1e65265
commit 20ece7f8a1
2 changed files with 4 additions and 2 deletions

View File

@ -20,7 +20,7 @@ of priority-inheritance mutexes.
%setup -qn rt-tests
%build
make
make NUMA=1
%install
rm -rf $RPM_BUILD_ROOT

View File

@ -778,7 +778,9 @@ static void display_help(int error)
"-y POLI --policy=POLI policy of realtime thread (1:FIFO, 2:RR)\n"
" format: --policy=fifo(default) or --policy=rr\n"
"-S --smp Standard SMP testing (equals -a -t -n -m -d0)\n"
" same priority on all threads.\n",
" same priority on all threads.\n"
"-U --numa Standard NUMA testing (similar to SMP option)\n"
" thread data structures allocated from local node\n",
tracers
);
if (error)