[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] x86/mtrr: Drop workaround for old 32bit CPUs
On Wed, Jul 08, 2020 at 11:52:57AM +0100, Andrew Cooper wrote: > On 08/07/2020 11:48, Roger Pau Monné wrote: > > On Wed, Jul 08, 2020 at 11:14:43AM +0100, Andrew Cooper wrote: > >> /* Check upper bits of base and last are equal and lower bits are 0 > >> for base and 1 for last */ > >> last = base + size - 1; > > FWIW, you could also initialize last at definition time. > > I've got some very different cleanup in mind for that code, seeing as it > can be simplified to a single test expression. Oh, I certainly didn't look at it that much :). Thanks, Roger.
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |