From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933153AbcJZVB6 (ORCPT ); Wed, 26 Oct 2016 17:01:58 -0400 Received: from mx3-phx2.redhat.com ([209.132.183.24]:60192 "EHLO mx3-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932584AbcJZVBz (ORCPT ); Wed, 26 Oct 2016 17:01:55 -0400 Date: Wed, 26 Oct 2016 17:01:24 -0400 (EDT) From: Bob Peterson To: Linus Torvalds Cc: Andy Lutomirski , Andreas Gruenbacher , Peter Zijlstra , Andy Lutomirski , LKML , Steven Whitehouse , Mel Gorman , linux-mm Message-ID: <1731570270.13088320.1477515684152.JavaMail.zimbra@redhat.com> In-Reply-To: References: <996124132.13035408.1477505043741.JavaMail.zimbra@redhat.com> Subject: Re: CONFIG_VMAP_STACK, on-stack struct, and wake_up_bit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.3.116.61] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF49 (Linux)/8.0.6_GA_5922) Thread-Topic: CONFIG_VMAP_STACK, on-stack struct, and wake_up_bit Thread-Index: +4BqkvknRGLMF4ZCMx30BVIYkp9Zyw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Original Message ----- | On Wed, Oct 26, 2016 at 11:04 AM, Bob Peterson wrote: | > | > I can test it for you, if you give me about an hour. | | I can definitely wait an hour, it would be lovely to see more testing. | Especially if you have a NUMA machine and an interesting workload. | | And if you actually have that NUMA machine and a load that shows the | page_waietutu effects, it would also be lovely if you can then | _additionally_ test the patch that PeterZ wrote a few weeks ago, it | was on the mm list about a month ago: | | Date: Thu, 29 Sep 2016 15:08:27 +0200 | From: Peter Zijlstra | Subject: Re: page_waitqueue() considered harmful | Message-ID: <20160929130827.GX5016@twins.programming.kicks-ass.net> | | and if you don't find it I can forward it to you (Peter had a few | versions, that latest one is the one that looked best). | | Linus | Hm. It didn't even boot, at least on my amd box in the lab. I've made no attempt to debug this. [ 2.368403] NetLabel: unlabeled traffic allowed by default [ 2.374271] ------------[ cut here ]------------ [ 2.378877] kernel BUG at arch/x86/mm/physaddr.c:26! [ 2.383829] invalid opcode: 0000 [#1] SMP [ 2.387826] Modules linked in: [ 2.390882] CPU: 11 PID: 1 Comm: swapper/0 Not tainted 4.9.0-rc2+ #1 [ 2.397219] Hardware name: Dell Inc. PowerEdge R815/06JC9T, BIOS 1.2.1 08/02/2010 [ 2.404683] task: ffff947136548000 task.stack: ffffb36043130000 [ 2.410588] RIP: 0010:[] [] __phys_addr+0x3c/0x50 [ 2.418500] RSP: 0018:ffffb36043133e10 EFLAGS: 00010287 [ 2.423798] RAX: fffff39132a822fc RBX: 0000000000000000 RCX: 0000000000000000 [ 2.430915] RDX: ffffffff00000001 RSI: 0000000000000000 RDI: ffff8800b2a822fc [ 2.438032] RBP: ffffb36043133e10 R08: ffff9475364026f8 R09: 0000000000000000 [ 2.445151] R10: 0000000000000004 R11: 0000000000000000 R12: ffffffffbef8ce3d [ 2.452269] R13: ffffffffbf0e0428 R14: ffffffffbef7a8cd R15: 0000000000000000 [ 2.459387] FS: 0000000000000000(0000) GS:ffff94773fa40000(0000) knlGS:0000000000000000 [ 2.467458] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.473188] CR2: 0000000000000000 CR3: 000000057de07000 CR4: 00000000000006e0 [ 2.480306] Stack: [ 2.482312] ffffb36043133e38 ffffffffbef8d543 ffffb36043133e38 ffffffffbe34689b [ 2.489729] 000000007f4214f8 ffffb36043133e48 ffffffffbef8ce79 ffffb36043133ec0 [ 2.497144] ffffffffbe002190 0000000000000000 0000000000000000 ffffffffbed42f50 [ 2.504561] Call Trace: [ 2.507005] [] save_microcode_in_initrd_amd+0x31/0x106 [ 2.513778] [] ? debugfs_create_u64+0x2b/0x30 [ 2.519769] [] save_microcode_in_initrd+0x3c/0x45 [ 2.526110] [] do_one_initcall+0x50/0x180 [ 2.531756] [] ? set_debug_rodata+0x12/0x12 [ 2.537573] [] kernel_init_freeable+0x194/0x230 [ 2.543740] [] ? rest_init+0x80/0x80 [ 2.548952] [] kernel_init+0xe/0x100 [ 2.554164] [] ret_from_fork+0x25/0x30 [ 2.559548] Code: 48 89 f8 72 28 48 2b 05 7b a0 dc 00 48 05 00 00 00 80 48 39 c7 72 14 0f b6 0d 6a 75 ee 00 48 89 c2 48 d3 ea 48 85 d2 75 02 5d c3 <0f> 0b 48 03 05 7b 5b da 00 48 81 ff ff ff ff 3f 76 ec 0f 0b 0f [ 2.579022] RIP [] __phys_addr+0x3c/0x50 [ 2.584590] RSP [ 2.588117] ---[ end trace 5c9b40c31651bd33 ]--- [ 2.592745] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 2.592745] [ 2.601900] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b Regards, Bob Peterson