Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp123502imu; Thu, 6 Dec 2018 17:08:30 -0800 (PST) X-Google-Smtp-Source: AFSGD/X82b9ABM3vuaICeNCxA4LNlF2GISx5m+3NP2d/dPZ9PrTLiUE2ETfc/Kenq+eNh+TuI1F2 X-Received: by 2002:a62:3603:: with SMTP id d3mr223734pfa.146.1544144910887; Thu, 06 Dec 2018 17:08:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544144910; cv=none; d=google.com; s=arc-20160816; b=NtF3EL96KyYyYMKsdLbwm4RQDh5Ve7/EpTBhfZ/oi6Fw+3Ho8tVlI8orWOZSXf9v9R 0RMa8UdxEim1mNRlnXeZPG9q6P20xvXXxmBfyxSSzFKJG9pP1JA4etXJ4T9TXrPMlfLf oJNp6D5Uq3GACT3dxFghKlxEd4pYtV7k2n8sHkEmt3MawqHEbiqAteQcBhX796zCMul9 aSYOudos9YWIc3lpDNLWsAuLsh0dsj6EjLX1rsyQkdWhL8ekotzQ7WZgIVrlJveKmt3m 09cvH0ikiniaOwFOHoGS0DjzfLtInsEMe78dc4unx4g/Hjhz/coXIXUKSq7HgXEh0EJL TJ2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=BtGHKtYDTzNFJUt1eBRms3d5e4/6p0S1oQLAEY5BMfA=; b=qWOjRDeebe8ONXwC1cC73JZIBWHoOmQQgFWGXpm8ISyoVdl+OrWcZO2tsnpET4lVdq 98FS5mRyk+ADynHfr92HOPxwV7OhedVPQ0HxpGm+I4Zu10CLJUy6MCWheGt6Dk166iwA gCMKzHwFO1KYPkFuzPUAwQsuwamd3hdq5/g2c6QmllpOV/m2gLXNffmp631IBh3El5Fz Jw40ig8UGGi68IECCdcvPucGbY3vOXEzTzkxarLE4Y6nZvX0M5mcO1CSBDuDMcpxmX+p 9kehQ+TYEYu6iS4ZIeTX/XHeCvWw+gTZ7d5d8VwNV29Oo4E4+i0o7PBHVJ3+2HG1+vWo A/Fg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p4si1617221pli.432.2018.12.06.17.08.13; Thu, 06 Dec 2018 17:08:30 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726032AbeLGBFX (ORCPT + 99 others); Thu, 6 Dec 2018 20:05:23 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:43684 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbeLGBFX (ORCPT ); Thu, 6 Dec 2018 20:05:23 -0500 Received: by mail-pf1-f193.google.com with SMTP id w73so1038618pfk.10; Thu, 06 Dec 2018 17:05:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=BtGHKtYDTzNFJUt1eBRms3d5e4/6p0S1oQLAEY5BMfA=; b=TAe2PxbPCWumwlWWWyOpFlK1vkLj4Le5NI2UzagxT41pAj1e3K1NJOWIaspjgqJv+w QfTqXJMWnpUyv4n5JxY9Ndnt6qIKsYdDDE99T1D+52MoPZm7ymwxGhgJtZFayAVfRbqF s3R6GtdTcnlRLq3LxWXwN1IF4aaLYy1iWgjaGgK1TPcTXStjItk79VyZ6mdjLYLxEqe5 DLMHaAmtT2i4rzxEpL0IwLNrssT1bnnf6QIJHxZPyl4h39Yh+GRkZ/9C6ofl1b3385zB qKN76elfPQ5Sc/nWo11fKboM8xEBHq7QuXW07EXWQ8edWwSrWa88D29slFmjhcf4v8QQ 9jrA== X-Gm-Message-State: AA+aEWZwTSxf2ylBDCdLxJBb7NkQnHj3/9aVmS88xiaEkP7DuQ5sn9mK H372cVUfw9WRfz1aoCuMlQQ= X-Received: by 2002:a63:b94c:: with SMTP id v12mr145272pgo.221.1544144721655; Thu, 06 Dec 2018 17:05:21 -0800 (PST) Received: from garbanzo.do-not-panic.com (c-73-71-40-85.hsd1.ca.comcast.net. [73.71.40.85]) by smtp.gmail.com with ESMTPSA id c20sm2642880pfc.92.2018.12.06.17.05.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Dec 2018 17:05:20 -0800 (PST) Received: by garbanzo.do-not-panic.com (sSMTP sendmail emulation); Thu, 06 Dec 2018 17:05:17 -0800 Date: Thu, 6 Dec 2018 17:05:17 -0800 From: Luis Chamberlain To: Kieran Bingham Cc: Brendan Higgins , Kent Overstreet , Matthew Wilcox , Eryu Guan , Eric Sandeen , jeffm@suse.com, Sasha Levin , Greg KH , Kees Cook , shuah@kernel.org, Joel Stanley , mpe@ellerman.id.au, joe@perches.com, brakmo@fb.com, rostedt@goodmis.org, Tim.Bird@sony.com, khilman@baylibre.com, Julia Lawall , linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, Linux Kernel Mailing List , jdike@addtoit.com, richard@nod.at, linux-um@lists.infradead.org, Daniel Vetter , dri-devel@lists.freedesktop.org, Rob Herring , dan.j.williams@intel.com, linux-nvdimm@lists.01.org, Frank Rowand , Knut Omang , Felix Guo , Petr Mladek , fsdevel@vger.kernel.org Subject: Re: [RFC v3 11/19] kunit: add Python libraries for handing KUnit config and kernel Message-ID: <20181207010517.GH28501@garbanzo.do-not-panic.com> References: <20181128193636.254378-1-brendanhiggins@google.com> <20181128193636.254378-12-brendanhiggins@google.com> <841cf4ae-501b-05ae-5863-a51010709b67@ideasonboard.com> <20181204204701.GT28501@garbanzo.do-not-panic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 06, 2018 at 12:32:47PM +0000, Kieran Bingham wrote: > My main initial idea for a libumlinux is to provide infrastructure such > as our linked-lists and other kernel formatting so that we can take > kernel code directly to userspace for test and debug (assuming that > there are no hardware dependencies or things that we can't mock out) The tools/ directory already does this for a tons of things. Its where I ended up placing some API I tested a long time ago when I wanted to test it in userspace, and provide the unit test in userspace (for my linker table patches). > Now we just have to start the race to see who can tweak the kernel build > system to produce an output library first :) Should be relatively easy if the tools directory used. Yes, there is an inherent risk of duplication, but that was decided long ago. Luis