Re: [PATCH v2 00/10] Rework READ_ONCE() to improve codegen

Will Deacon
2020-01-23T17:16:47Z

On Thu, Jan 23, 2020 at 05:07:40PM +0000, David Laight wrote:
> From: Will Deacon
> > Sent: 23 January 2020 15:34
> ...
> > * Only warn once at build-time if GCC prior to 4.8 is detected...
> >
> > * ... and then raise the minimum GCC version to 4.8, with an error for
> > older versions of the compiler
>
> If the kernel compiled with gcc 4.7 is likely to be buggy, don't these
> need to be in the other order?
>
> Otherwise you need to keep the old versions for use with the old
> compilers.

I think it depends how much we care about those older compilers. My series
first moves it to "Good luck mate, you're on your own" and then follows up
with a "Let me take that off you it's sharp".

Will