[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <46823b75d3c54a89a7192d8e1011e212@AcuMS.aculab.com>
Date: Sat, 14 Nov 2020 15:53:29 +0000
From: David Laight <David.Laight@...LAB.COM>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"x86@...nel.org" <x86@...nel.org>,
'Linus Torvalds' <torvalds@...ux-foundation.org>
Subject: load_unaligned_zeropad() on x86-64
The change e419b4cc585680940bc42f8ca8a071d6023fb1bb added
asm code for load_unaligned_zeropad().
However it doesn't look right for 64bit.
It masks the address with ~3 not ~7 so the second
access could still cross a page boundary and fault.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists