From owner-svn-src-all@freebsd.org Sun Jul 8 00:34:06 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C2BA1041370 for ; Sun, 8 Jul 2018 00:34:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x229.google.com (mail-io0-x229.google.com [IPv6:2607:f8b0:4001:c06::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A586574E5A for ; Sun, 8 Jul 2018 00:34:05 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x229.google.com with SMTP id z20-v6so14050179iol.0 for ; Sat, 07 Jul 2018 17:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/BXeOdyhXP20OvsxEY/ArruHGqqiqGrutVCJSZLw3V0=; b=j2k34q33pFSZiUkiiR4Vy7L5nVRTW+j7VtvxrVVrLO388kfDSXvwj8fj8UT21+Fzlb vylh72a3g0daFkIF/fYxO/EbXhryC4NlgihLZkrgVP13lpW3ERiXmkqOyQi6bgWyZrDL QjEejRS4kH7xKZYIai5nrjmpw/noiQ2E+qmlUfLoEdfgzdkgOssua8yow2N4acEU63FM r2ChDxHPw8RRkrsd4bu23ZzZ1dg93bncUqaxEhdvwlFv9591tHidK7uCbIfdgLicYaTq Ftb8DjxyL4ZHlvmPg+5CX1UkkULmRDW0t3QvYwxXcEsWby+DCcju9e/SyRQkdj/qOr7W e7Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/BXeOdyhXP20OvsxEY/ArruHGqqiqGrutVCJSZLw3V0=; b=f33G8GdAQQDOoh/unjKCVEgzO3mEkg2Yl7FOkwKPxZP2igzt/YRoGhUxoHSWd7/2rX vQMw+3Qeh04F81GkEH3ACHumuwTlc0gvWBgs7RyCyzBJlQTcocieJSZYAnh95baE7xag pgw4HHbwFL6e5+ZQgyS59Qer9QftBe2avcJV7zPtPw8IJ0+NwYE71TRA0TMsq8yvrGIC GuJ78aBu8NNtDwhsB1qDjIz2vuh/RchMbVFFf1TYvIS64G2zj0wGRdm7cR4ylrsSGvSE P9MGEBsqmrw2zQtbebF0ppgvzeLH6lF6d72TpM87XigUR6USP1ticUr7TlL2iEyTPSMA T6GA== X-Gm-Message-State: APt69E3tqxa3PwrfYAY6NkTrn8JhS5bNjpKl0FBc19Q5e30yerC1k/Dl dalFTpPkwUz1RMPdNXjPPRCQ1GicTpARt7ur2j+Zvw== X-Google-Smtp-Source: AAOMgpcgPh7f+LpAV4CaXcC9ziXNZqZQNeXmdyg2F38qAJPbdXZxuS6mKKWr6PqZPdSNJ7EjcKoZgPrtJsgig3WRxkA= X-Received: by 2002:a6b:d004:: with SMTP id x4-v6mr12528358ioa.299.1531010044848; Sat, 07 Jul 2018 17:34:04 -0700 (PDT) MIME-Version: 1.0 References: <201807032305.w63N5guY063293@repo.freebsd.org> <20180704142233.GB5562@kib.kiev.ua> <6e5bc5e4-052c-877f-1c36-c72e276ff045@FreeBSD.org> <20180705155417.GI5562@kib.kiev.ua> <2a5b1c50-0f50-bbe1-4fcd-b98f61d24571@FreeBSD.org> <5B3EA725.4010202@grosbein.net> <1dd03d43-6f0d-580b-fd3b-f4494da42c70@FreeBSD.org> <51ec1e54-c940-9800-5c84-0f9b6e08895f@cs.duke.edu> <5B412CEF.3020901@grosbein.net> <5B414F22.4030501@grosbein.net> In-Reply-To: <5B414F22.4030501@grosbein.net> From: Warner Losh Date: Sat, 7 Jul 2018 18:33:52 -0600 Message-ID: Subject: Re: svn commit: r335916 - head/sys/conf To: Eugene Grosbein Cc: Andrew Gallatin , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2018 00:34:06 -0000 On Sat, Jul 7, 2018, 5:40 PM Eugene Grosbein wrote: > 08.07.2018 4:38, Warner Losh wrote: > > > On Sat, Jul 7, 2018, 4:14 PM Eugene Grosbein > wrote: > > > > 07.07.2018 22:02, Andrew Gallatin wrote: > > > > > One thing that was tangentially brought up is that the ability > > > to compile out-of-tree modules requires keeping the kernel-headers > > > around. So we may need to identify all the headers that a module > might > > > need, and install them in /boot/$KERNEL/sys or some-such. This > would > > > be needed if, for example, we wanted to install a new Nvidia or > Virtual > > > Box module and have it work for older installed kernel versions too > > > (eg, across ABI breaking changes in -current). > > > > We already have all headers in /usr/include, don't we? > > > > > > Not really. We have a subset of the kernel headers that might not match > the running kernel, nor be enough to build modules. > > They should match running kernel definitely as we do not support not > syncronized kernel/world > and installworld populates /usr/include. > Nice theory. Lots and lots of people run this way. And it has worked well, so long as the kernel is newer... so, no, they don't have to match. And why a subset? Don'we support old-style kernel re-build "config; make > depend; make" > that does not require full /usr/src tree but /usr/src/sys only? > /usr/include is never, ever used to build the kernel (except for things like aicasm). Warner >