summaryrefslogtreecommitdiff
path: root/geoip.h
AgeCommit message (Expand)AuthorFilesLines
2013-07-11configure, netsniff-ng: if no libgeopip, do not link against libzDaniel Borkmann1-1/+1
2013-07-11configure, netsniff-ng: make netsniff-ng's geoip dependency optionalDaniel Borkmann1-0/+84
2013-06-04misc: cleanup header commentsDaniel Borkmann1-6/+0
2013-03-15all: import netsniff-ng 0.5.8-rc0 sourceDaniel Borkmann1-0/+29
ree/?h=nds-private-remove&id=4d35427ad7641cba08ea0deffae1a78147ad41c0'>832a652ea61f198004cd27bfa8cc56a24087d422 parent982785c6b05a82c01e90687b7e25ee87c8970b2e (diff)
mm: avoid endless recursion in dump_page()
dump_page() uses page_mapcount() to get mapcount of the page. page_mapcount() has VM_BUG_ON_PAGE(PageSlab(page)) as mapcount doesn't make sense for slab pages and the field in struct page used for other information. It leads to recursion if dump_page() called for slub page and DEBUG_VM is enabled: dump_page() -> page_mapcount() -> VM_BUG_ON_PAGE() -> dump_page -> ... Let's avoid calling page_mapcount() for slab pages in dump_page(). Link: http://lkml.kernel.org/r/20160908082137.131076-1-kirill.shutemov@linux.intel.com Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat