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:
@ -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.
|
||||
|
Reference in New Issue
Block a user