Subject: [folded-merged] printk-flush-conflicting-continuation-line-fix.patch removed from -mm tree To: akpm@xxxxxxxxxxxxxxxxxxxx,arun.ks@xxxxxxxxxxxx,arunks.linux@xxxxxxxxx,fweisbec@xxxxxxxxx,getarunks@xxxxxxxxx,joe@xxxxxxxxxxx,kay@xxxxxxxx,paul.gortmaker@xxxxxxxxxxxxx,tj@xxxxxxxxxx,mm-commits@xxxxxxxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Thu, 23 Jan 2014 15:22:39 -0800 The patch titled Subject: printk-flush-conflicting-continuation-line-fix has been removed from the -mm tree. Its filename was printk-flush-conflicting-continuation-line-fix.patch This patch was dropped because it was folded into printk-flush-conflicting-continuation-line.patch ------------------------------------------------------ From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: printk-flush-conflicting-continuation-line-fix simplify and condense the code Cc: Joe Perches <joe@xxxxxxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx> Cc: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> Cc: Arun KS <arun.ks@xxxxxxxxxxxx> Cc: Arun KS <arunks.linux@xxxxxxxxx> Cc: Arun KS <getarunks@xxxxxxxxx> Cc: Kay Sievers <kay@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/printk/printk.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff -puN kernel/printk/printk.c~printk-flush-conflicting-continuation-line-fix kernel/printk/printk.c --- a/kernel/printk/printk.c~printk-flush-conflicting-continuation-line-fix +++ a/kernel/printk/printk.c @@ -1595,15 +1595,15 @@ asmlinkage int vprintk_emit(int facility * either merge it with the current buffer and flush, or if * there was a race with interrupts (prefix == true) then just * flush it out and store this line separately. + * If the preceding printk was from a different task and missed + * a newline, flush and append the newline. */ - if (cont.len && cont.owner == current) { - if (!(lflags & LOG_PREFIX)) - stored = cont_add(facility, level, text, text_len); - cont_flush(LOG_NEWLINE); - /* Flush conflicting buffer. An earlier newline was missing - * and current print is from different task */ - } else if (cont.len && cont.owner != current) + if (cont.len) { + if (cont.owner == current && !(lflags & LOG_PREFIX)) + stored = cont_add(facility, level, text, + text_len); cont_flush(LOG_NEWLINE); + } if (!stored) log_store(facility, level, lflags, 0, _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are origin.patch mm-print-more-details-for-bad_page.patch mm-munlock-fix-potential-race-with-thp-page-split.patch mm-dump-page-when-hitting-a-vm_bug_on-using-vm_bug_on_page.patch memcg-slab-kmem_cache_create_memcg-fix-memleak-on-fail-path.patch numa-add-a-sysctl-for-numa_balancing.patch mm-nobootmem-free_all_bootmem-again.patch mm-improve-documentation-of-page_order-v2.patch lib-parserc-put-export_symbols-in-the-conventional-place.patch printk-flush-conflicting-continuation-line.patch lib-genallocc-add-check-gen_pool_dma_alloc-if-dma-pointer-is-not-null-fix.patch drivers-rtc-rtc-cmosc-propagate-hpet_register_irq_handler-failure.patch fs-ext3-use-rbtree-postorder-iteration-helper-instead-of-opencoding-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html