Open MPI logo

PLPA Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all PLPA Users mailing list

From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2005-12-19 12:49:15


I went ahead and committed the change I described below. Now we
validate the len argument, but the probe never sets the affinity.

-Paul

Paul H. Hargrove wrote:
[snip]
>[...] If the
>potential races against an external entity or cpu going offline are a
>big enough concern, we could still make a set() call to validate length,
>but pass a NULL pointer for mask. Then we consider the validation to be
>a success if we get errno==EFAULT rather than errno==EINVAL (which works
>because len is checked first).
>
[snip]

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group                 
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900