oldbuf = request->buf;
if (!_xbt_replay_is_active() && oldbuf && request->size!=0){
if((smpi_privatize_global_variables)
- && ((char*)request->buf >= start_data_exe)
- && ((char*)request->buf < start_data_exe + size_data_exe )
- ){
- XBT_WARN("Privatization : We are sending from a zone inside global memory. Switch data segment ");
- switch_data_segment(smpi_process_index());
- }
-
-
+ && ((char*)request->buf >= start_data_exe)
+ && ((char*)request->buf < start_data_exe + size_data_exe )){
+ XBT_DEBUG("Privatization : We are sending from a zone inside global memory. Switch data segment ");
+ switch_data_segment(smpi_process_index());
+ }
buf = xbt_malloc(request->size);
memcpy(buf,oldbuf,request->size);
}
&& ((char*)buff >= start_data_exe)
&& ((char*)buff < start_data_exe + size_data_exe )
){
- XBT_WARN("Privatization : We are copying from a zone inside global memory... Saving data to temp buffer !");
+ XBT_DEBUG("Privatization : We are copying from a zone inside global memory... Saving data to temp buffer !");
switch_data_segment(((smpi_process_data_t)SIMIX_process_get_data(comm->comm.src_proc))->index);
tmpbuff = (void*)xbt_malloc(buff_size);
memcpy(tmpbuff, buff, buff_size);
&& ((char*)comm->comm.dst_buff >= start_data_exe)
&& ((char*)comm->comm.dst_buff < start_data_exe + size_data_exe )
){
- XBT_WARN("Privatization : We are copying to a zone inside global memory - Switch data segment");
+ XBT_DEBUG("Privatization : We are copying to a zone inside global memory - Switch data segment");
switch_data_segment(((smpi_process_data_t)SIMIX_process_get_data(comm->comm.dst_proc))->index);
}