Glibc 2.29 Released With getcpu() On Linux, New Optimizations

Written by Michael Larabel in GNU on 31 January 2019 at 03:41 PM EST. 46 Comments
Ending out January is the version 2.29 release of the GNU C Library (glibc).

In the half-year since glibc 2.28 debuted there has been more optimizations and new additions to this de facto C library. Glibc 2.29 brings with it a new getcpu() wrapper function that returns the CPU currently in use as well as its NUMA node of the calling thread or process. This is just wrapping around Linux's getcpu() system call.

On the optimization front, Glibc has newly optimized generic versions of exp, exp2, log, log2, pow, sinf, cosf, sincosf and tanf. This release also now uses Transactional Lock Elision by default on PowerPC64LE when supported by the kernel, support for the C-SKY ABIv2 on Linux following that 32-bit CPU support recently making it into the Linux 4.20 kernel and GCC 9.0, and various other changes and improvements. Also worth pointing out are three security fixes in Glibc 2.29 for recently published CVEs.

More details on the Glibc 2.29 highlights via libc-announce. Glibc 2.30 is now open for development.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week