Glibc 2.29 发布,新的getcpu()函数
1月底释出的是GNU C Library (glibc)的2.29版本。
自glibc 2.28推出以来的半年里,这个事实上的C库已经有了更多的优化和新增功能。 Glibc 2.29带来了一个新的getcpu()包装函数,它返回当前使用的CPU以及调用线程或进程的NUMA节点。这只是围绕Linux的getcpu()系统调用。
在优化方面,Glibc新近优化了exp,exp2,log,log2,pow,sinf,cosf,sincosf和tanf的通用版本。此版本现在还默认在PowerPC64LE上使用Transactional Lock Elision,当内核支持时,支持Linux上的C-SKY ABIv2,最近32位CPU支持进入Linux 4.20内核和GCC 9.0,以及其他各种更改和改进。另外值得指出的是Glibc 2.29中针对最近发布的CVE的三个安全修复程序。
添加了函数posix_spawn_file_actions_addchdir_np和posix_spawn_file_actions_addfchdir_np,使posix_spawn和posix_spawnp能够在不同的目录中运行新进程。 这些函数是GNU扩展。 函数posix_spawn_file_actions_addchdir_np类似于同名的Solaris函数。
关于Glibc 2.29亮点的更多细节通过libc-announce了解。 Glibc 2.30现已开放供开发。
Linux升级Glibc https://www.linuxidc.com/Linux/2015-04/116472.htm
Linux提示“libc.so.6: version `GLIBC_2.14' not found”系统的glibc版本太低 https://www.linuxidc.com/Linux/2017-01/139806.htm
危险!GHOST(幽灵)漏洞曝光 https://www.linuxidc.com/Linux/2015-01/112496.htm
GNU glibc 爆 gethostbyname 缓冲区溢出漏洞 https://www.linuxidc.com/Linux/2015-01/112486.htm
glibc gethostbyname缓冲区溢出漏洞(CVE-2015-0235) https://www.linuxidc.com/Linux/2015-01/112516.htm
Linux glibc幽灵漏洞测试与修复方法 https://www.linuxidc.com/Linux/2015-01/112562tm
Linux 升级Glibc2.14 遇到问题及解决 https://www.linuxidc.com/Linux/2017-01/139836.htm
CentOS 6.5升级Glibc https://www.linuxidc.com/Linux/2017-03/141674.htm
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- php-cgi(php-fpm) CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- get_cpu()/put_cpu()函数对
- GetSystemTimes函数实验(动态获得CPU占用率和CPU闲置率)
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系
- PHP-CGI进程CPU 100% 与 file_get_contents 函数的关系分析
- PHP-CGI 进程 CPU 100% 与 file_get_contents 函数的关系