1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-29 10:17:38 +01:00

Change MS_SYNC to MS_ASYNC

Hopefully this makes the address validation a bit cheaper.
This commit is contained in:
Arun Sharma 2010-02-23 10:35:47 -08:00
parent 752076789f
commit 3468a6b33d
2 changed files with 2 additions and 2 deletions

View file

@ -126,7 +126,7 @@ validate_mem (unw_word_t addr)
return 0;
}
if (msync ((void *) addr, 1, MS_SYNC) == -1)
if (msync ((void *) addr, 1, MS_ASYNC) == -1)
return -1;
victim = lga_victim;

View file

@ -129,7 +129,7 @@ validate_mem (unw_word_t addr)
return 0;
}
if (msync ((void *) addr, 1, MS_SYNC) == -1)
if (msync ((void *) addr, 1, MS_ASYNC) == -1)
return -1;
victim = lga_victim;