diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/elision-conf.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/elision-conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/elision-conf.c b/sysdeps/unix/sysv/linux/powerpc/elision-conf.c index 7c98dbd..61eaf89 100644 --- a/sysdeps/unix/sysv/linux/powerpc/elision-conf.c +++ b/sysdeps/unix/sysv/linux/powerpc/elision-conf.c @@ -53,7 +53,7 @@ static inline void __always_inline do_set_elision_enable (int32_t elision_enable) { - /* Enable elision if it's avaliable in hardware. It's not necessary to check + /* Enable elision if it's available in hardware. It's not necessary to check if __libc_enable_secure isn't enabled since elision_enable will be set according to the default, which is disabled. */ if (elision_enable == 1) @@ -126,7 +126,7 @@ __lll_elision_init (void) syscalls which makes the glibc workaround superflours. Worse, glibc transaction abortions leads to a performance issues on recent kernels. - So Lock Elision is just enabled when it has been explict set (either + So Lock Elision is just enabled when it has been explicitly set (either by tunables of by a configure switch) and if kernel aborts HTM transactions on syscalls (PPC_FEATURE2_HTM_NOSC) */ |