Received: by 10.223.164.202 with SMTP id h10csp1045853wrb; Wed, 15 Nov 2017 12:11:39 -0800 (PST) X-Google-Smtp-Source: AGs4zMa0jiTdwIQHyd1VMyWHiv8RacDxuF1ejYZ2ikjNkpN7jYh8a61ZTAXFXdx+br5ZI6rNMxZ0 X-Received: by 10.99.117.7 with SMTP id q7mr13358884pgc.96.1510776699708; Wed, 15 Nov 2017 12:11:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510776699; cv=none; d=google.com; s=arc-20160816; b=RBJ1RoBtCFFmrpY2Ql2B25hWGGPPnLnNL8DmFbChmexq3QwXPBcG2x1Z3AEv6srPjL t+pf4Z9zS3B7kODn6a6FS31vgJyZc+ohPoDlFbuQGcEStbDT+9681w96xgEiBsKIjhQG GRm9PH6VN7gcOkbzxveNzcONbU/KxmughSL7juR8mUUgdcMZIGitqOJF6AGcbBW+SEx8 63Vt5jZvxGhnWW0bGLqZ8P7PUzaYXZZz+sQVgnCzN6uo58HLwFBNM3mmSm2aKMK2pvhZ yfBfR9e+/uJK1iRCwnpcu7Clf41UjbNW/1GllsH+61/jsrM95iDCGgcHa/DxcRP8Lwfq eTDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=QDIFhCcWKt7vW2jOI6jvwYSVdPgIXY31dqvcvxKQJvs=; b=I0UzoOn7oGBtY/AjuirS6cuhnIXqL7Mo1a/VyIYQPkvJepuwgJY9n/L1RPcjvT7zAu 83lHR2s7o21Eg1exmj9krixp56eAIlyxkhHfiyFm1HQWMEvyuodjPjPo8zPmwBhFnX1/ DSeSXA4kDj6/brjXl8Ll+COavntF22hxfoEejyZbPvWNZ6VrjTGG5aKOlzJ+PeNj9tPP 89pH8QF2D3Prya+vSwNPgCW4vsrU6Ea4cHf7eNZHhyg8a0uQM9mPgmX8MrUJGN6f6nQH 5bpfIU0dODVJRhc30z5GdyjOlPXsYXYXp+K8fWHbwddaEq+SsmKD53OBe2FW9zcj/frP xbTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nGAMGmvj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8si14999468pfe.323.2017.11.15.12.11.27; Wed, 15 Nov 2017 12:11:39 -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=@gmail.com header.s=20161025 header.b=nGAMGmvj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933080AbdKORnv (ORCPT + 90 others); Wed, 15 Nov 2017 12:43:51 -0500 Received: from mail-oi0-f45.google.com ([209.85.218.45]:44314 "EHLO mail-oi0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932951AbdKORnn (ORCPT ); Wed, 15 Nov 2017 12:43:43 -0500 Received: by mail-oi0-f45.google.com with SMTP id a75so10952463oib.1; Wed, 15 Nov 2017 09:43:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=QDIFhCcWKt7vW2jOI6jvwYSVdPgIXY31dqvcvxKQJvs=; b=nGAMGmvjTb0YPkdA5FAHnOFOmXb+zEbyuPTZ5yCLDcHSuOkkrGzzRN/9B865PyfHnN s2t8oKV+T0X9Rbd49DYod0QAT/SDQ/TROx2tUA5CtoJYtufwQDyRDMTHm0S/bNXI23aP dNMkXovbYZwA2NOCzn8R3BA9WCKbhs2BEsp7he0KFCdNMPac51m1IhE6ocZ1RuHQkTpu qTwzUQdC9SpEaWr7IOthdqKnxlfQCUsnSSANkEhMG3KcbQU/QJCxvcxGoBp1Pby+aB9/ hjlrQNX6M5B9H+Iriu4jVw6uVix9hEPDkoMiZDOiTuYMui6Wiem3xolczP+wrlN1PnBP Wr8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=QDIFhCcWKt7vW2jOI6jvwYSVdPgIXY31dqvcvxKQJvs=; b=EsD6SJJrpCCt3SpSbunDexdnSOH9zbWqbB3O1uOvR45WkvJIT5wqYjUpyhvC4VnHFV Mi47nf4ie4QRrYQ5+Tz7hEtHfLf0yw4aeMiN7RAkwPjtw8SRDvln+g9xIzFu6dlcTf3S zyFSX4+n2S/fr1d8flStsqkEEKvDe0wUY83wjPgQWaUsVdiDBNqJafu954lWmEXiK80x Ou9u+RAe2enFC7laoz/gfXYI7P8UScGIISY+KJTcRMqhhsIImbIwEf+4wDYBf9sHtL3Z /TH0ye/Ru1imUkHOrNXitH2Tx8Es05W22wrTcpoHy6SytmxBzsI5Kk0oJ6grM+eU8uzs 8e9g== X-Gm-Message-State: AJaThX4fYOar9i8GheW1KgY2nsNcLKSsrh8arX4DqP4aQYYSQGYvA47T elZObO5XuTeuOq503eHmf5p+H44ddd+M4tfRZDY= X-Received: by 10.202.189.84 with SMTP id n81mr9604838oif.165.1510767822245; Wed, 15 Nov 2017 09:43:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.157.48.133 with HTTP; Wed, 15 Nov 2017 09:43:41 -0800 (PST) In-Reply-To: References: <20171006083840.743659740@linuxfoundation.org> <20171006083853.610785662@linuxfoundation.org> <20171006181322.GA19635@leverpostej> <20171007031004.jq322f76fv3do4of@sasha-lappy> <9766830d-c9cc-7f32-9233-d21da37736b4@redhat.com> <20171010172205.4wtw7x6chq7j2wu3@sasha-lappy> From: Josh Hunt Date: Wed, 15 Nov 2017 09:43:41 -0800 Message-ID: Subject: Re: [PATCH 4.9 086/104] arm64: kasan: avoid bad virt_to_pfn() To: Julia Lawall Cc: "Levin, Alexander (Sasha Levin)" , Laura Abbott , Mark Rutland , Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Catalin Marinas , Will Deacon Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 10, 2017 at 10:31 AM, Julia Lawall wrote: > > > On Tue, 10 Oct 2017, Levin, Alexander (Sasha Levin) wrote: > >> (Cc'ed Julia) >> >> On Mon, Oct 09, 2017 at 09:33:01AM -0700, Laura Abbott wrote: >> >On 10/06/2017 08:10 PM, Levin, Alexander (Sasha Levin) wrote: >> >> We are experimenting with using neural network to aid with patch >> >> selection for stable kernel trees. There are quite a few commits that >> >> were not marked for stable, but are stable material, and we're trying >> >> to get them into their appropriate kernel trees. >> >> >> > >> >Apart from the practical which has been covered, I'd be interested >> >in hearing about the details of how this works if you can share >> >them. >> >> This work is based on Julia's work >> (https://soarsmu.github.io/papers/icse12-patch.pdf) to identify >> commits that fix bugs. >> >> Essentially, my approach to this is to extract as much information as >> possbile form the commit, including things such as: >> >> - How many times a certain word appeared in the message >> - Who is the author >> - Code metrics >> - etc >> >> In my case, I end up with about 30,000 of these "inputs", and train a >> neural network based on whether a given commit was included in a >> stable tree or not. >> >> This approach has a few drawbacks compared to the one Julia >> described in her paper: >> >> - Not every bug fixing commit ends up in stable (some end up in -rc >> fixing a bug from the current merge window). >> - Same as above, but for commits we miss and fail to add to stable. >> - Sometimes commits get added to stable even though they don't follow >> the rules at all (security fixes are a simple example). >> >> But it does seem to be effective at finding bug fixing commits that >> should be in stable. >> >> At this stage we are still trying to figure out what a "bug fixing" >> commit really is. For example, an observation we recently made was >> that the code metrics actually don't have much weight in determining >> whether a commit should be in stable or not. >> >> As we just started, I'm still experimenting with a few approaches, and >> I belive Julia is waiting for a new student to take over this, so we >> don't have any big insights to share just yet :) > > That's a good summary of the current status. Thanks! > > julia I just started noticing the AUTOSEL tags yesterday and I think that's a great idea to tag patches, but was there any thought to also putting something in the commit message this way they're easily identifiable in the git logs? I think it would be useful if there was some metadata in the commit message which identified that it was selected through some automated system. That way if I find a regression and it identifies one of these commits I can know that maybe it was chosen incorrectly, and also would allow me to alert the owner of the selection script to better help refine its selection process. Otherwise I'd have to track back through the mailing lists to see how it landed in the stable release. Just a thought. Also, thank you for trying to improve the stable kernels! -- Josh From 1580892642829631847@xxx Tue Oct 10 17:31:50 +0000 2017 X-GM-THRID: 1580499177613060896 X-Gmail-Labels: Inbox,Category Forums