[PATCH -next v13 10/19] riscv: Allocate user's vector context in the first-use trap

Andy Chiu andy.chiu at sifive.com
Fri Feb 10 04:00:00 PST 2023


On Mon, Feb 6, 2023 at 9:40 PM Conor Dooley <conor at kernel.org> wrote:
> I suppose my question was "is it safe to warn and carry on, rather than disallow use of vector in this situation".
Yes, I think it is safe to warn and carry on. This is a check for
memory leak if future code did not allocate/free datap correctly.

Thanks,
Andy



More information about the linux-riscv mailing list