Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752869AbbDFTie (ORCPT ); Mon, 6 Apr 2015 15:38:34 -0400 Received: from mail.skyhub.de ([78.46.96.112]:44155 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751264AbbDFTib (ORCPT ); Mon, 6 Apr 2015 15:38:31 -0400 Date: Mon, 6 Apr 2015 21:36:22 +0200 From: Borislav Petkov To: Sasha Levin Cc: Linus Torvalds , LKML , Rusty Russell , Dave Jones , Michal Hocko , the arch/x86 maintainers Subject: Re: Hang on large copy_from_user with PREEMPT_NONE Message-ID: <20150406193622.GF4078@pd.tnic> References: <552204B8.40605@oracle.com> <5522D9A8.5080104@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5522D9A8.5080104@oracle.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1667 Lines: 38 On Mon, Apr 06, 2015 at 03:08:24PM -0400, Sasha Levin wrote: > Your patch just makes it hang in memset instead: > > [ 963.104556] NMI watchdog: BUG: soft lockup - CPU#1 stuck for 22s! [trinity-c224:9845] > [ 963.104556] Modules linked in: > [ 963.104556] irq event stamp: 3773324 > [ 963.104556] hardirqs last enabled at (3773323): [] restore_args+0x0/0x34 > [ 963.104556] hardirqs last disabled at (3773324): [] apic_timer_interrupt+0x6e/0x80 > [ 963.104556] softirqs last enabled at (3773322): [] __do_softirq+0x709/0xd40 > [ 963.104556] softirqs last disabled at (3773317): [] irq_exit+0x29d/0x320 > [ 963.104556] CPU: 1 PID: 9845 Comm: trinity-c224 Not tainted 4.0.0-rc6-next-20150402-sasha-00039-ge0bdae3-dirty #2130 > [ 963.104556] task: ffff8802a3560000 ti: ffff8802a3568000 task.ti: ffff8802a3568000 > [ 963.104556] RIP: 0010:[] [] memset_orig+0x33/0xb0 memset_orig? Hmmm, your box doesn't set X86_FEATURE_REP_GOOD. And looking at your dmesg I can see why - that's a kvm guest and you're emulating some qemu -cpu kvm64 or so thing, AFAICT. Can you give me your full command line? Btw, maybe you should try to trigger this on real metal, just in case, to rule out virt issues. Or have you, already? Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/