Skip to content

Commit fe2a9b0

Browse files
Merge pull request #1313 from jasonrandrews/spelling
review glibc with LSE Learning Path
2 parents 3ec9dd2 + ae42325 commit fe2a9b0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

content/learning-paths/servers-and-cloud-computing/glibc-with-lse/build_glibc_with_lse.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ LSE introduces additional atomic instructions and operations, such as Load-Acqui
1616

1717
When glibc is compiled with LSE support, it can take advantage of these enhanced atomic operations provided by the LSE extension. This can potentially improve the performance of multi-threaded applications that heavily rely on atomic operations and synchronization primitives.
1818

19+
{{% notice Note %}}
20+
Your version of the GNU C Library may already have support for LSE. Before you build a new version check if LSE is already included by running:
21+
22+
```console
23+
objdump -d /lib/aarch64-linux-gnu/libc.so.6 | grep -i 'cas\|casp\|swp\|ldadd\|stadd\|ldclr\|stclr\|ldeor\|steor\|ldset\|stset\|ldsmax\|stsmax\|ldsmin\|stsmin\|ldumax\|stumin' | wc -l
24+
```
25+
26+
If a non-zero number is printed your GNU C Library already has LSE.
27+
28+
{{% /notice %}}
29+
1930
## Before you begin
2031

2132
Launch an [Arm based instance](/learning-paths/servers-and-cloud-computing/csp/) running Ubuntu version 20.04.

0 commit comments

Comments
 (0)