Hi, Andrey has revealed a discrepancy between KMALLOC_MAX_SIZE and the maximum supported page allocator size [1]. The underlying problem should be fixed in the ep_write_iter code of course, but I do not feel qualified to do that. The discrepancy which it reveals (see patch 2) is worth fixing anyway, though. While I was looking into the code, I've noticed that the only code which uses KMALLOC_SHIFT_MAX outside of the slab code is bpf so I've updated it to use KMALLOC_MAX_SIZE instead. There shouldn't be any real reason to use KMALLOC_SHIFT_MAX which is a slab internal constant same as KMALLOC_SHIFT_{LOW,HIGH} [1] http://lkml.kernel.org/r/CAAeHK+ztusS68DejO8AH3nn-EfiYQpD5FmBwmqKG8BWvoqPNqQ@xxxxxxxxxxxxxx -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>