Re: [PATCH v3 2/4] ext4: allocate extended attribute value in vmalloc area

From: Theodore Ts'o
Date: Fri Dec 09 2022 - 00:36:37 EST


On Thu, Dec 08, 2022 at 10:32:31AM +0800, Ye Bin wrote:
> From: Ye Bin <yebin10@xxxxxxxxxx>
>
> Now, extended attribute value maximum length is 64K. The memory requested
> here does not need continuous physical addresses, so it is appropriate to
> use kvmalloc to request memory. At the same time, it can also cope with
> the situation that the extended attribute will become longer in the future.
>
> Signed-off-by: Ye Bin <yebin10@xxxxxxxxxx>
> Reviewed-by: Jan Kara <jack@xxxxxxx>

Applied, thanks.

- Ted