Re: [PATCH] xen/gntdev: remove struct gntdev_copy_batch from stack

2025-07-11 Thread Jürgen Groß
On 11.07.25 03:03, Stefano Stabellini wrote: On Wed, 9 Jul 2025, Jürgen Groß wrote: On 08.07.25 21:01, Stefano Stabellini wrote: On Thu, 3 Jul 2025, Juergen Gross wrote: When compiling the kernel with LLVM, the following warning was issued: drivers/xen/gntdev.c:991: warning: stack frame s

Re: [PATCH] xen/gntdev: remove struct gntdev_copy_batch from stack

2025-07-10 Thread Stefano Stabellini
On Wed, 9 Jul 2025, Jürgen Groß wrote: > On 08.07.25 21:01, Stefano Stabellini wrote: > > On Thu, 3 Jul 2025, Juergen Gross wrote: > > > When compiling the kernel with LLVM, the following warning was issued: > > > > > >drivers/xen/gntdev.c:991: warning: stack frame size (1160) exceeds > > >

Re: [PATCH] xen/gntdev: remove struct gntdev_copy_batch from stack

2025-07-08 Thread Jürgen Groß
On 08.07.25 21:01, Stefano Stabellini wrote: On Thu, 3 Jul 2025, Juergen Gross wrote: When compiling the kernel with LLVM, the following warning was issued: drivers/xen/gntdev.c:991: warning: stack frame size (1160) exceeds limit (1024) in function 'gntdev_ioctl' The main reason is struc

Re: [PATCH] xen/gntdev: remove struct gntdev_copy_batch from stack

2025-07-08 Thread Stefano Stabellini
On Thu, 3 Jul 2025, Juergen Gross wrote: > When compiling the kernel with LLVM, the following warning was issued: > > drivers/xen/gntdev.c:991: warning: stack frame size (1160) exceeds > limit (1024) in function 'gntdev_ioctl' > > The main reason is struct gntdev_copy_batch which is located o

[PATCH] xen/gntdev: remove struct gntdev_copy_batch from stack

2025-07-03 Thread Juergen Gross
When compiling the kernel with LLVM, the following warning was issued: drivers/xen/gntdev.c:991: warning: stack frame size (1160) exceeds limit (1024) in function 'gntdev_ioctl' The main reason is struct gntdev_copy_batch which is located on the stack and has a size of nearly 1kb. For perfor