2022-06-09 01:57:30

by Byungchul Park

[permalink] [raw]
Subject: [REPORT] RESERVE_BRK() doesn't work for some cases

commit a1e2c031ec3 "x86/mm: Simplify RESERVE_BRK()" changed the behavior
by compiler and assembler.

Some strings obtained just by __stringify() cannot be interpreted by
some assemblers.

It might need to allow to put input for size within inline asm.

Byungchul


2022-06-09 03:48:10

by Josh Poimboeuf

[permalink] [raw]
Subject: Re: [REPORT] RESERVE_BRK() doesn't work for some cases

On Thu, Jun 09, 2022 at 10:30:51AM +0900, Byungchul Park wrote:
> commit a1e2c031ec3 "x86/mm: Simplify RESERVE_BRK()" changed the behavior
> by compiler and assembler.
>
> Some strings obtained just by __stringify() cannot be interpreted by
> some assemblers.
>
> It might need to allow to put input for size within inline asm.

Yes, this was reported already. I'm posting a v2 fix tomorrow.

--
Josh