[lkml]   [2020]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v3 1/4] kernfs: kvmalloc xattr value instead of kmalloc
On Thu, Mar 12, 2020 at 1:03 PM Daniel Xu <> wrote:
> xattr values have a 64k maximum size. This can result in an order 4
> kmalloc request which can be difficult to fulfill. Since xattrs do not
> need physically contiguous memory, we can switch to kvmalloc and not
> have to worry about higher order allocations failing.
> Signed-off-by: Daniel Xu <>

Reviewed-by: Shakeel Butt <>

 \ /
  Last update: 2020-03-12 22:05    [W:0.096 / U:6.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site