On Fri, Feb 09, 2018 at 05:45:50PM +0800, Jason Wang wrote:
This patch switch to use kvmalloc_array() for using a vmalloc()Above isn't really saying anything about the motivation, it
fallback to help in case kmalloc() fails.
just explains what kvmalloc_array does.
How about:
Switch ptr_ring from kmalloc to kvmalloc. This way it can support larger
ring sizes.
Reported-by:syzbot+e4d4f9ddd4295539735d@xxxxxxxxxxxxxxxxxxxxxxxxxI don't see this as a bugfix - it's more of an enhancement.
Fixes: 2e0ab8ca83c12 ("ptr_ring: array based FIFO for pointers")
Do we need this in net or can we defer this to net-next?
I'm not sure myself. For now
Acked-by: Michael S. Tsirkin<mst@xxxxxxxxxx>