Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3369317imu; Fri, 18 Jan 2019 09:13:07 -0800 (PST) X-Google-Smtp-Source: ALg8bN6H7r20bhLUgoOSecD0P6WcL6InVQik5fSCsGCzuSWR9cajqiKAyPU+eh3T5DDeUwI05CC2 X-Received: by 2002:a17:902:541:: with SMTP id 59mr20270281plf.88.1547831587884; Fri, 18 Jan 2019 09:13:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547831587; cv=none; d=google.com; s=arc-20160816; b=N1KHWhQgS1olp3wFBKaM7URPxfGPSA7qJVEHxxC/+E88boS48EgOv2uKtCi7ttVzB1 XOeJt4aH5htVV5CNxI1yARCfh1rEieendWLAdsfTtZzO39+12Emtv4/hwKK5Df/Chg8G hDKuZ7AW0AUSHaADim8kfCCu6KBM5knEAGmhNT1VLRKi9hyyEB2J+HCnOqLBlNS9APmv tO1AcnHkK5kC6slUtAY5L7r4tVe3+8i1EhMZ1en3o7LuTZpEYZuxXCAfuWXmCho2c3Q5 2BX9RDJvSHLyElsocNJz0LpRt0+4tyGakqu2eAaT8fc0PFP6+FfSsEn6Yib8xcGbAlYP Tu3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=K+GzCAD5JsR2eGoi0Tbut5ZM+Ap7mhc0BwhnUoPeXpI=; b=efIML4TOPa0Vfclju7FE/zJ8xwXh/79XilZD2Pz5j0J9+H0YSVD4aWO4/re3VUaHIu kXLN6K7XbgnnoyBgohIaMlQUgPhCafeeFAMwV/IeI1oWEae0kn6eNTvgmxpQeCN6K50D 2P7FiJuT03plfdutzn2mir5r4bB4xhiCg27WRCUN2o3IZy5n2TXSU56F+6zEnwRKT03S JYiLhVcNYhwIK7n3VSKjw8o1PCgjAvQ/HcbEwoBFO05gGj5ITL4WSZmWBO3UXYMaaUe+ bka5PYU8Ruhgyis+dE8TvaJ1Uv6k2YCCrywglpqx/FpbsG0Tp3uCPFsmG/U6YrNLrsky YmDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=Z3+fpPkq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bh5si4784238plb.42.2019.01.18.09.12.46; Fri, 18 Jan 2019 09:13:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=Z3+fpPkq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728232AbfARRKr (ORCPT + 99 others); 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-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.