# git rev-parse -q --verify fc36def997cfd6cbff3eda4f82853a5c311c5466^{commit} fc36def997cfd6cbff3eda4f82853a5c311c5466 already have revision, skipping fetch # git checkout -q -f -B kisskb fc36def997cfd6cbff3eda4f82853a5c311c5466 # git clean -qxdf # < git log -1 # commit fc36def997cfd6cbff3eda4f82853a5c311c5466 # Author: Pavel Tatashin # Date: Tue Jul 3 17:02:53 2018 -0700 # # mm: teach dump_page() to correctly output poisoned struct pages # # If struct page is poisoned, and uninitialized access is detected via # PF_POISONED_CHECK(page) dump_page() is called to output the page. But, # the dump_page() itself accesses struct page to determine how to print # it, and therefore gets into a recursive loop. # # For example: # # dump_page() # __dump_page() # PageSlab(page) # PF_POISONED_CHECK(page) # VM_BUG_ON_PGFLAGS(PagePoisoned(page), page) # dump_page() recursion loop. # # Link: http://lkml.kernel.org/r/20180702180536.2552-1-pasha.tatashin@oracle.com # Fixes: f165b378bbdf ("mm: uninitialized struct page poisoning sanity checking") # Signed-off-by: Pavel Tatashin # Acked-by: Michal Hocko # Cc: # Signed-off-by: Andrew Morton # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux-gcc --version # < git log --format=%s --max-count=1 fc36def997cfd6cbff3eda4f82853a5c311c5466 # < make -s -j 8 ARCH=parisc O=/kisskb/build/linus_parisc-allnoconfig_parisc CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- allnoconfig # make -s -j 8 ARCH=parisc O=/kisskb/build/linus_parisc-allnoconfig_parisc CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/hppa-linux/bin/hppa-linux- :1335:2: warning: #warning syscall rseq not implemented [-Wcpp] /kisskb/src/arch/parisc/kernel/pci-dma.c:335:12: warning: 'proc_pcxl_dma_show' defined but not used [-Wunused-function] static int proc_pcxl_dma_show(struct seq_file *m, void *v) ^~~~~~~~~~~~~~~~~~ In function 'fill_kobj_path', inlined from 'kobject_get_path' at /kisskb/src/lib/kobject.c:155:2: /kisskb/src/lib/kobject.c:128:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] strncpy(path + length, kobject_name(parent), cur); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/lib/kobject.c: In function 'kobject_get_path': /kisskb/src/lib/kobject.c:125:13: note: length computed here int cur = strlen(kobject_name(parent)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Completed OK # rm -rf /kisskb/build/linus_parisc-allnoconfig_parisc # Build took: 0:00:22.787836