1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* sysdeps/x86_64/memset.S: Add sfence after movnti.

This commit is contained in:
Ulrich Drepper
2007-11-08 01:07:04 +00:00
parent f2a8406a4f
commit f6ed654cab
8 changed files with 84 additions and 7 deletions

View File

@ -462,7 +462,12 @@ allocate_stack (const struct pthread_attr *attr, struct pthread **pdp,
mem = ARCH_RETRY_MMAP (size);
if (__builtin_expect (mem == MAP_FAILED, 0))
#endif
return errno;
{
if (errno == ENOMEM)
errno = EAGAIN;
return errno;
}
}
/* SIZE is guaranteed to be greater than zero.