mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-15 20:58:13 +01:00
Change MS_SYNC to MS_ASYNC
Hopefully this makes the address validation a bit cheaper.
This commit is contained in:
parent
752076789f
commit
3468a6b33d
2 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ validate_mem (unw_word_t addr)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (msync ((void *) addr, 1, MS_SYNC) == -1)
|
if (msync ((void *) addr, 1, MS_ASYNC) == -1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
victim = lga_victim;
|
victim = lga_victim;
|
||||||
|
|
|
@ -129,7 +129,7 @@ validate_mem (unw_word_t addr)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (msync ((void *) addr, 1, MS_SYNC) == -1)
|
if (msync ((void *) addr, 1, MS_ASYNC) == -1)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
victim = lga_victim;
|
victim = lga_victim;
|
||||||
|
|
Loading…
Reference in a new issue