From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A7C0C64E88 for ; Fri, 18 Jan 2019 17:10:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C19220850 for ; Fri, 18 Jan 2019 17:10:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lca.pw header.i=@lca.pw header.b="Z3+fpPkq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728321AbfARRKr (ORCPT ); Fri, 18 Jan 2019 12:10:47 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:33902 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727986AbfARRKr (ORCPT ); Fri, 18 Jan 2019 12:10:47 -0500 Received: by mail-qk1-f195.google.com with SMTP id q8so8489601qke.1 for ; Fri, 18 Jan 2019 09:10:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=K+GzCAD5JsR2eGoi0Tbut5ZM+Ap7mhc0BwhnUoPeXpI=; b=Z3+fpPkquX2HK49B7MytRdfIHj847IiGNe4sKqS2UJHboymqb5ts+19NoYVtYlEkbH cwKcT6b8wyfJiWXm205uEH4PdqYFQZtkuLQw9XhjyJOIpHBFurP+6HKK7+GNInIrRs/g kmQ7S0eZg+XMU90qsVpi2rQbOn444LLvRlG2HfUhWth27l5cEtsftNeC0bcSBjdUqovJ tsoKRVWbbjz1u+iqroPTov0egXt5UBFF7UdiZKm56nQzvkAWkrZKrSVxK2F8v6VeD0IW EbsHB8rcSn4w1x81XtNA98+NJnLNTH4WnA5muqQg9KauXlfS0tb35kXxQw/FMDjuiUy6 HGMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=K+GzCAD5JsR2eGoi0Tbut5ZM+Ap7mhc0BwhnUoPeXpI=; b=SjAxCN5qytE391aTY46gr97wwAjXlLscmPW9iJMg7hQyZx4pW/Lm0twV1eBL9/npSs i+etOoZQZ0K5lO4giWW/2G2OarIccrYk4giuWfvfIlHWu2OzSe2PVOrqv//x9+MRpgKA 9qbF0fSuSNKOVzRt320S+8Umxg0kxK87bfk9eIrEzbQLR+q7pRNJPO12eKKMVmwCu7Bm roY2IFMxGGTlR6h6Ol01Q9dugXUD2eZRddOm5b8trfzc3iRUo54BvOL5x4invxLAnJMp Zs0hfSSWmE0u6cyHCZyGHKa21UuX70SXEaH0kJi3OCDqFzAmZcjmDEUbPDaCtN+Hpsza Ep6Q== X-Gm-Message-State: AJcUukeviRxvIOfb3tu/fakjv8yC7eVmD9Y38asQOJ+t6jJGpwcng1qx E6EdRLxA+AwaZ3OwoelA3WaB8SvGaTNUhg== X-Google-Smtp-Source: ALg8bN6p1tRTi+S63c0oiFPifO7S8m74wh5lbdIfzyzLtncXi9/XcsGhORcqt3u4xm/5j2cyNtinYg== X-Received: by 2002:a37:5dc3:: with SMTP id r186mr15851811qkb.90.1547831445780; Fri, 18 Jan 2019 09:10:45 -0800 (PST) Received: from ovpn-124-227.rdu2.redhat.com (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id u67sm54293253qki.22.2019.01.18.09.10.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 09:10:45 -0800 (PST) Subject: Re: [PATCH v2] rbtree: fix the red root To: Esme Cc: "dgilbert@interlog.com" , David Lechner , Michel Lespinasse , Andrew Morton , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "joeypabalinas@gmail.com" , linux-mm , LKML References: <20190111181600.GJ6310@bombadil.infradead.org> <864d6b85-3336-4040-7c95-7d9615873777@lechnology.com> <8v11ZOLyufY7NLAHDFApGwXOO_wGjVHtsbw1eiZ__YvI9EZCDe_4FNmlp0E-39lnzGQHhHAczQ6Q6lQPzVU2V6krtkblM8IFwIXPHZCuqGE=@protonmail.ch> From: Qian Cai Message-ID: <86889aee-2e9c-a686-cfe9-dde27249da53@lca.pw> Date: Fri, 18 Jan 2019 12:10:43 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/16/19 9:37 AM, Esme wrote: > I have been off but back now, I had fetch'd current again and the diagnostics look a bit different, maybe I just got lucky. Instead of fork'ng the test case (which is fairly aggressive in any case), interacting from the serial port with sig-int ^C tend's to trigger enough to hit something. I'll get the page_owner sorted soon. > > How I'm running; > > qemu-system-x86_64 -kernel /home/files/dl/linux//arch/x86/boot/bzImage -append console=ttyS0 root=/dev/sda debug earlyprintk=serial slub_debug=QUZFP page_owner=on -hda stretch.img -net user,hostfwd=tcp::10021-:22 -net nic -enable-kvm -nographic -m 2G -smp 2 > > It's somewhat random I guess that in the last two CPU context dump's printed out, we see RAX and CR2 off by 4 from one another. > > root@syzkaller:~# gcc -o test3 test3.c > [ 392.754148] ata1: lost interrupt (Status 0x50) > [ 392.754478] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen > [ 392.759687] ata1.00: failed command: READ DMA > [ 392.761902] ata1.00: cmd c8/00:86:00:00:00/00:00:00:00:00/e0 tag 0 dma 68608 out > [ 392.761902] res 40/00:01:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout) > [ 392.768541] ata1.00: status: { DRDY } > [ 392.769532] ata1: soft resetting link > [ 392.937942] ata1.00: configured for MWDMA2 > [ 392.945624] ata1: EH complete While you are gathering page_owner (or kdump), it might be useful to use virtio storage driver instead of legacy IDE here, as looks like this ATA was busted.