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

Andy Chiu
2023-02-10T12:01:58Z

On Mon, Feb 6, 2023 at 9:40 PM Conor Dooley <conor@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