diff options
| author | Andrea Arcangeli <[email protected]> | 2015-09-22 14:59:00 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-09-22 15:09:53 -0700 |
| commit | 1f5fee2cf232f9fac05b65f21107d2cf3c32092c (patch) | |
| tree | 128e8442c6a20e983b9c7939b2e91c55e03f6df5 /scripts/stackusage | |
| parent | 56ed8f169e225dce1f9e40f6eee2e2dabe7d06fc (diff) | |
userfaultfd: selftest: avoid my_bcmp false positives with powerpc
Keep a non-zero placeholder after the count, for the my_bcmp comparison
of the page against the zeropage. The lockless increment between 255 to
256 against a lockless my_bcmp could otherwise return false positives on
ppc32le.
Signed-off-by: Andrea Arcangeli <[email protected]>
Tested-by: Michael Ellerman <[email protected]>
Cc: Dr. David Alan Gilbert <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Thierry Reding <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions