Re: [PATCH net] Revert "packet: switch kvzalloc to allocate memory"

2018-09-01 Thread David Miller
From: Eric Dumazet Date: Wed, 29 Aug 2018 11:50:12 -0700 > This reverts commit 71e41286203c017d24f041a7cd71abea7ca7b1e0. > > mmap()/munmap() can not be backed by kmalloced pages : > > We fault in : > > VM_BUG_ON_PAGE(PageSlab(page), page); > > unmap_single_vma+0x8a/0x110 >

[PATCH net] Revert "packet: switch kvzalloc to allocate memory"

2018-08-29 Thread Eric Dumazet
This reverts commit 71e41286203c017d24f041a7cd71abea7ca7b1e0. mmap()/munmap() can not be backed by kmalloced pages : We fault in : VM_BUG_ON_PAGE(PageSlab(page), page); unmap_single_vma+0x8a/0x110 unmap_vmas+0x4b/0x90 unmap_region+0xc9/0x140 do_munmap+0x274/0x360