[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191121012533.3h6akm4oczswj7zr@gondor.apana.org.au>
Date: Thu, 21 Nov 2019 09:25:33 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Will Deacon <will@...nel.org>
Cc: linux@...linux.org.uk, torvalds@...ux-foundation.org,
catalin.marinas@....com, vincent.whitchurch@...s.com,
axboe@...nel.dk, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, rabinv@...s.com,
Richard.Earnshaw@....com
Subject: Re: [PATCH v2] buffer: Fix I/O error due to ARM read-after-read
hazard
On Wed, Nov 20, 2019 at 07:18:40PM +0000, Will Deacon wrote:
>
> > The Alpha barrier matters for pointers, how could it make a
> > difference for individual bits?
>
> I guess you could use the result of test_bit to index into an array or
> something?
Can Alpha Assembly even do this without using a branch?
Cheers,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists