RE: [PATCH] infiniband, ipath: convert old cpumask api into new one

2011-05-31 Thread Mike Marciniszyn
> Subject: [PATCH] infiniband, ipath: convert old cpumask api into new > one > > Adapt new api. we plan to remove old one later. Almost change are > trivial. but there is one real fix. following code is unsafe. > > int ncpus = num_online_cpus() >

[PATCH] infiniband, ipath: convert old cpumask api into new one

2011-05-18 Thread KOSAKI Motohiro
Adapt new api. we plan to remove old one later. Almost change are trivial. but there is one real fix. following code is unsafe. int ncpus = num_online_cpus() for (i = 0; i < ncpus; i++) { .. } because 1) we don't guarantee last bit of online cpus is equal t