From owner-svn-src-head@freebsd.org Mon Dec 3 13:17:14 2018 Return-Path: Delivered-To: svn-src-head@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 9AF3D1327F36; Mon, 3 Dec 2018 13:17:14 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F4183826B5; Mon, 3 Dec 2018 13:17:13 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-oi1-f169.google.com with SMTP id b141so10804212oii.12; Mon, 03 Dec 2018 05:17:13 -0800 (PST) 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:content-transfer-encoding; bh=3l4xu/DLs0PSmRyqv4KzkgIgH4ZmmmDQ1D5R2QPH7lo=; b=okzE3a22ddRSBv13s/GBqrv+Za0sqiSV+vqj/pMDsAOKhirGw0FlbB1rgLByXnlEoA JW5WVgGq0ZGYCFgpKAOYw2IZtV5G/XwcXWICi0v8JaSTsxa22dwLamM2Xvl62XR+EMja NYaF8yAmv4wHjS05ikNbt+LmA767x6+gnQTD7T3TM0vxycMHgs7BErmZW5cGYFJ3Dot/ DD0vZNlOynxzBG/5Xx4VRLxte2IluYSqKqacpxXmeIw9tK+tyauhzghygJ3xmV4+/4Mf 07krQ1dHexk0lze4DobocZ3US2BazT5uwsbkHUmXfKjOblBtCSfLUtFMugrV3mp49hIl YiTQ== X-Gm-Message-State: AA+aEWYOKUO0jxjtLyZjQ6WdVml4IRfk5n2RJt+rm20X0f/2Cm63xb5D 3NXcaZK3HSnHxztpZ+oJkzabutK90W0JdLgn7J+xjw== X-Google-Smtp-Source: AFSGD/Wp39Y9SzT8I36BFGwEgBva3ZrsdC3B/6PJhqzgXiS5Tgnrfrd1IO4mtH0NFZ4aBt6x+LXri26EAv93/7MLdQo= X-Received: by 2002:aca:5e85:: with SMTP id s127mr10176181oib.181.1543841545154; Mon, 03 Dec 2018 04:52:25 -0800 (PST) MIME-Version: 1.0 References: <201811301601.wAUG1h3F065286@repo.freebsd.org> <1543599431.1860.161.camel@freebsd.org> <9ac1300e-3e8a-1151-dd8d-3a980bd6cae8@FreeBSD.org> In-Reply-To: <9ac1300e-3e8a-1151-dd8d-3a980bd6cae8@FreeBSD.org> From: Edward Napierala Date: Mon, 3 Dec 2018 12:52:13 +0000 Message-ID: Subject: Re: svn commit: r341344 - head/share/man/man7 To: John Baldwin Cc: Ian Lepore , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: F4183826B5 X-Spamd-Result: default: False [-3.97 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_FIVE(0.00)[5]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; IP_SCORE(-0.98)[ipnet: 209.85.128.0/17(-3.51), asn: 15169(-1.29), country: US(-0.09)]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; RCVD_IN_DNSWL_NONE(0.00)[169.167.85.209.list.dnswl.org : 127.0.5.0]; FORGED_SENDER(0.30)[trasz@freebsd.org,etnapierala@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[169.167.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[trasz@freebsd.org,etnapierala@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2018 13:17:14 -0000 pt., 30 lis 2018 o 17:47 John Baldwin napisa=C5=82(a): > > On 11/30/18 9:37 AM, Ian Lepore wrote: > > On Fri, 2018-11-30 at 16:01 +0000, Edward Tomasz Napierala wrote: > >> Author: trasz > >> Date: Fri Nov 30 16:01:43 2018 > >> New Revision: 341344 > >> URL: https://svnweb.freebsd.org/changeset/base/341344 > >> > >> Log: > >> Add an example of quick kernel rebuild. > >> > >> MFC after: 2 weeks > >> Sponsored by: DARPA, AFRL > >> > >> Modified: > >> head/share/man/man7/development.7 > >> > >> Modified: head/share/man/man7/development.7 > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >> =3D=3D=3D=3D=3D=3D=3D=3D=3D > >> --- head/share/man/man7/development.7 Fri Nov 30 15:56:14 2018 > >> (r341343) > >> +++ head/share/man/man7/development.7 Fri Nov 30 16:01:43 2018 > >> (r341344) > >> @@ -127,6 +127,14 @@ case > >> cd src/bin/ls > >> make clean all install > >> .Ed > >> +.Pp > >> +Quickly rebuild and reinstall the kernel, only recompiling the files > >> +changed since last build; note that this will only work if the full > >> kernel > >> +build has been completed in the past, not on a fresh source tree: > >> +.Bd -literal -offset indent > >> +cd src > >> +make -j8 kernel KERNFAST=3D1 > > > > It might also be worth mentioning that if you're building a kernel > > other than GENERIC, you can use KERNFAST=3Dconfigname instead of > > KERNFAST=3D1 KERNCONF=3Dconfigname > > You could perhaps just use 'KERNFAST=3DGENERIC' in this example and it wo= uld > effectively communicate that I think. We could, but this complicates things. As it is now, it just doesn't mention (nor affect) the kernel config name at all, instead using KERNFAST as a binary flag. Also, trying to actually set the kernel name using KERNF= AST would probably result in failed build, since for KERNFAST to work, you need to have previously completed a non-KERNFAST build with that config name.