lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 10 Aug 2017 15:04:58 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     zi.yan@...t.com
Cc:     sam@...nborg.org, linux-kernel@...r.kernel.org,
        sparclinux@...r.kernel.org, zi.yan@...rutgers.edu
Subject: Re: [PATCH] mm: add pmd_t initializer __pmd() to work around a GCC
 bug.

From: Zi Yan <zi.yan@...t.com>
Date: Thu,  3 Aug 2017 09:17:21 -0400

> From: Zi Yan <zi.yan@...rutgers.edu>
> 
> THP migration is added but only supports x86_64 at the moment. For all
> other architectures, swp_entry_to_pmd() only returns a zero pmd_t.
> 
> Due to a GCC zero initializer bug #53119, the standard (pmd_t){0}
> initializer is not accepted by all GCC versions. __pmd() is a feasible
> workaround. In addition, sparc32's pmd_t is an array instead of a single
> value, so we need (pmd_t){ {0}, } instead of (pmd_t){0}. Thus,
> a different __pmd() definition is needed in sparc32.
> 
> Signed-off-by: Zi Yan <zi.yan@...rutgers.edu>

Applied.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ