Author: mjg
Date: Tue Feb 20 02:18:30 2018
New Revision: 329615
URL: https://svnweb.freebsd.org/changeset/base/329615
Log:
Reduce contention on the proctree lock during heavy package build.
There is a proctree -> allproc ordering established.
Most of the time it is either xlock ->
Author: kevans
Date: Tue Feb 20 04:11:48 2018
New Revision: 329622
URL: https://svnweb.freebsd.org/changeset/base/329622
Log:
stand/lua: Move drawer.menu_name_handlers further up
As a good candidate for modification, move this table further up in the
module to improve visibility.
Author: kevans
Date: Tue Feb 20 04:23:43 2018
New Revision: 329624
URL: https://svnweb.freebsd.org/changeset/base/329624
Log:
stand/lua: Reduce exposure of the drawer module
As part of an effort to slowly reduce our exports overall to a set of stable
properties/functions, go ahead and
Author: kevans
Date: Tue Feb 20 04:56:03 2018
New Revision: 329626
URL: https://svnweb.freebsd.org/changeset/base/329626
Log:
stand/lua: Refactor logos into drawer.logodefs table
This refactor makes it straightforward to add new logos for drawing and
organizes logo definitions in a
Author: markj
Date: Tue Feb 20 00:34:42 2018
New Revision: 329613
URL: https://svnweb.freebsd.org/changeset/base/329613
Log:
MFC r328938:
Simplify synchronization read error handling.
Modified:
stable/11/sys/geom/mirror/g_mirror.c
Directory Properties:
stable/11/ (props changed)
Author: mav
Date: Tue Feb 20 04:14:12 2018
New Revision: 329623
URL: https://svnweb.freebsd.org/changeset/base/329623
Log:
MFV r302649: 7016 arc_available_memory is not 32-bit safe
illumos/illumos-gate@0dd053d7d890618ea1fc697b07de364e69eb4190
Author: kevans
Date: Tue Feb 20 05:12:39 2018
New Revision: 329631
URL: https://svnweb.freebsd.org/changeset/base/329631
Log:
stand/lua: Insert helpful comment for drawer.branddefs
Modified:
head/stand/lua/drawer.lua
Modified: head/stand/lua/drawer.lua
Author: imp
Date: Tue Feb 20 05:35:00 2018
New Revision: 329633
URL: https://svnweb.freebsd.org/changeset/base/329633
Log:
More verbose output.
Modified:
head/sbin/devmatch/devmatch.c
Modified: head/sbin/devmatch/devmatch.c
Author: kevans
Date: Tue Feb 20 03:58:45 2018
New Revision: 329621
URL: https://svnweb.freebsd.org/changeset/base/329621
Log:
stand/lua: Add and use drawer.menu_name_handlers
Pull out specialized naming behavior into drawer.menu_name_handlers. This is
currently only needed for the
Author: kevans
Date: Tue Feb 20 05:11:17 2018
New Revision: 329630
URL: https://svnweb.freebsd.org/changeset/base/329630
Log:
stand/lua: Stick a copyright notice on drawer.lua
Modified:
head/stand/lua/drawer.lua
Modified: head/stand/lua/drawer.lua
Author: kevans
Date: Tue Feb 20 05:10:26 2018
New Revision: 329629
URL: https://svnweb.freebsd.org/changeset/base/329629
Log:
stand/lua: Use 'graphic' instead of 'logo' for table depicting graphics
This is a more sensible name that offers less redundancy when referring to
it (vs.
Author: jeff
Date: Tue Feb 20 00:06:07 2018
New Revision: 329612
URL: https://svnweb.freebsd.org/changeset/base/329612
Log:
Further parallelize the buffer cache.
Provide multiple clean queues partitioned into 'domains'. Each domain manages
its own bufspace and has its own bufspace
Author: mav
Date: Tue Feb 20 04:36:51 2018
New Revision: 329625
URL: https://svnweb.freebsd.org/changeset/base/329625
Log:
MFV r307315:
7301 zpool export -f should be able to interrupt file freeing
Reviewed by: Matthew Ahrens
Reviewed by: Sanjay Nadkarni
Ian Lepore wrote:
> On Mon, 2018-02-19 at 22:29 +, Kyle Evans wrote:
> >
> > +???-- Swap the first two menu entries
> > +???menu_entries[1], menu_entries[2] = menu_entries[2],
> > +?? menu_entries[1];
> > ?
>
> IMO, this is the
Author: kevans
Date: Tue Feb 20 02:03:29 2018
New Revision: 329614
URL: https://svnweb.freebsd.org/changeset/base/329614
Log:
stand/lua: Don't set ACPI off just because we can't detect it.
This should unbreak EFI/!i386 cases.
Reported by: Peter Lei
Modified:
Author: kevans
Date: Tue Feb 20 03:40:16 2018
New Revision: 329619
URL: https://svnweb.freebsd.org/changeset/base/329619
Log:
stand/lua: Extract menu handlers out into menu.handlers table
This is a bit cleaner than our former method of an if ... else chain of
handlers. Store handlers in
Author: kevans
Date: Tue Feb 20 05:21:58 2018
New Revision: 329632
URL: https://svnweb.freebsd.org/changeset/base/329632
Log:
style.lua(9): Clarify local variable guideline
The intent of this guideline is to avoid creating global variables in module
scope. Its main purpose is to serve as
Author: mav
Date: Tue Feb 20 05:07:21 2018
New Revision: 329628
URL: https://svnweb.freebsd.org/changeset/base/329628
Log:
MFC r316910: 7812 Remove gender specific language
illumos/illumos-gate@48bbca816818409505a6e214d0911fda44e622e3
Author: kevans
Date: Tue Feb 20 05:06:11 2018
New Revision: 329627
URL: https://svnweb.freebsd.org/changeset/base/329627
Log:
stand/lua: Refactor brands into drawer.branddefs
Modified:
head/stand/lua/drawer.lua
Modified: head/stand/lua/drawer.lua
Author: wma
Date: Tue Feb 20 06:38:55 2018
New Revision: 329634
URL: https://svnweb.freebsd.org/changeset/base/329634
Log:
PowerNV: Send SIGILL on HEA illegal instruction exception
Currently Hypervisor Emulation Assistance interrupt is unhandled.
Executing an undefined instruction in
Author: ian
Date: Tue Feb 20 03:51:09 2018
New Revision: 329620
URL: https://svnweb.freebsd.org/changeset/base/329620
Log:
Add missing MODULE_DEPENDS().
Modified:
head/sys/dev/flash/at45d.c
head/sys/dev/flash/mx25l.c
Modified: head/sys/dev/flash/at45d.c
Author: wma
Date: Tue Feb 20 07:30:57 2018
New Revision: 329635
URL: https://svnweb.freebsd.org/changeset/base/329635
Log:
PowerPC: Switch to more accurate unit to avoid division rounding
On POWER8 architecture there is a timer with 512Mhz frequency.
It has about 1,95ns period, but it is
Author: avg
Date: Mon Feb 19 08:55:22 2018
New Revision: 329556
URL: https://svnweb.freebsd.org/changeset/base/329556
Log:
relax an assert in zfsctl_snapdir_lookup to match r323578
Since r323578 we may remove the last reference to a covered vnode with
vrele() instead of vput(). So,
Author: hselasky
Date: Mon Feb 19 12:20:17 2018
New Revision: 329562
URL: https://svnweb.freebsd.org/changeset/base/329562
Log:
Add myself.
Modified:
svnadmin/conf/sizelimit.conf
Modified: svnadmin/conf/sizelimit.conf
Author: ae
Date: Mon Feb 19 10:34:30 2018
New Revision: 329559
URL: https://svnweb.freebsd.org/changeset/base/329559
Log:
MFC r328541:
Do not skip scope zone violation check, when mbuf has M_FASTFWD_OURS flag.
When mbuf has M_FASTFWD_OURS flag, this means that a destination address
Author: kevans
Date: Mon Feb 19 14:21:56 2018
New Revision: 329576
URL: https://svnweb.freebsd.org/changeset/base/329576
Log:
stand/lua: Defer kernel/module loading until boot or menu escape
Loading the kernel and modules can be really slow. Loading before the menu
draws and every time
Author: ae
Date: Mon Feb 19 12:20:51 2018
New Revision: 329563
URL: https://svnweb.freebsd.org/changeset/base/329563
Log:
Remove unused variables and sysctl declaration.
MFC after:1 week
Modified:
head/sys/netipsec/ipsec.c
head/sys/netipsec/ipsec.h
Modified:
Author: hselasky
Date: Mon Feb 19 12:21:56 2018
New Revision: 329565
URL: https://svnweb.freebsd.org/changeset/base/329565
Log:
Remove myself.
Modified:
svnadmin/conf/sizelimit.conf
Modified: svnadmin/conf/sizelimit.conf
Author: ae
Date: Mon Feb 19 10:30:34 2018
New Revision: 329558
URL: https://svnweb.freebsd.org/changeset/base/329558
Log:
MFC r328540:
Assign IPv6 link-local address to loopback interfaces whith unit > 0.
When an interface has IFF_LOOPBACK flag in6_ifattach() tries to assing
IPv6
Author: ae
Date: Mon Feb 19 11:14:38 2018
New Revision: 329561
URL: https://svnweb.freebsd.org/changeset/base/329561
Log:
Check packet length to do not make out of bounds access. Also save ah_nxt
value to use it later, since ah pointer can become invalid.
Reported by: Maxime Villard
Author: kib
Date: Mon Feb 19 10:59:19 2018
New Revision: 329560
URL: https://svnweb.freebsd.org/changeset/base/329560
Log:
MFC r329347:
Note that on amd64 pmap_enter(psind = 1) works.
Modified:
stable/11/share/man/man9/pmap_enter.9
Directory Properties:
stable/11/ (props changed)
Author: markj
Date: Mon Feb 19 17:03:50 2018
New Revision: 329591
URL: https://svnweb.freebsd.org/changeset/base/329591
Log:
MFC r329374:
Use the conventional name for an array of pages.
Modified:
stable/11/sys/vm/swap_pager.c
Directory Properties:
stable/11/ (props changed)
Modified:
Author: vangyzen
Date: Mon Feb 19 15:56:33 2018
New Revision: 329582
URL: https://svnweb.freebsd.org/changeset/base/329582
Log:
MFC r329181
Update the MTU in affected routes when IPv6 RA changes the MTU
ip6_calcmtu() only looks at the interface MTU if neither the TCP hostcache
nor
Author: kevans
Date: Mon Feb 19 16:36:29 2018
New Revision: 329587
URL: https://svnweb.freebsd.org/changeset/base/329587
Log:
stand/lua: Swap single-/multi- user boot entries as needed
Modified:
head/stand/lua/menu.lua
Modified: head/stand/lua/menu.lua
Author: kevans
Date: Mon Feb 19 16:42:06 2018
New Revision: 329588
URL: https://svnweb.freebsd.org/changeset/base/329588
Log:
stand/lua: Re-wrap menu.lua now that I've added indentation...
Modified:
head/stand/lua/menu.lua
Modified: head/stand/lua/menu.lua
Author: kevans
Date: Mon Feb 19 17:09:29 2018
New Revision: 329592
URL: https://svnweb.freebsd.org/changeset/base/329592
Log:
stand/lua: Remove inaccurate comment after r329590
lualoader does a pretty good job of reverting any environment changes now.
It will even wipe out boot_verbose
Author: kevans
Date: Mon Feb 19 15:42:20 2018
New Revision: 329577
URL: https://svnweb.freebsd.org/changeset/base/329577
Log:
stand/lua: Rename bootserial for clarity
Modified:
head/stand/lua/color.lua
head/stand/lua/core.lua
head/stand/lua/menu.lua
head/stand/lua/screen.lua
Modified:
Author: vangyzen
Date: Mon Feb 19 15:54:26 2018
New Revision: 329581
URL: https://svnweb.freebsd.org/changeset/base/329581
Log:
MFC r329053
Fix ICMPv6 redirects
icmp6_redirect_input() validates that a redirect packet came from the
current gateway for the respective destination. To
Author: kevans
Date: Mon Feb 19 16:34:23 2018
New Revision: 329585
URL: https://svnweb.freebsd.org/changeset/base/329585
Log:
stand/lua: Add core.isSingleUserBoot
Modified:
head/stand/lua/core.lua
Modified: head/stand/lua/core.lua
Author: kevans
Date: Mon Feb 19 15:49:27 2018
New Revision: 329580
URL: https://svnweb.freebsd.org/changeset/base/329580
Log:
stand/lua: Remove some unused local declarations
Menus are actually defined as entries in the 'menu' table. These local
declarations have not been used in the
Author: nwhitehorn
Date: Mon Feb 19 15:49:14 2018
New Revision: 329579
URL: https://svnweb.freebsd.org/changeset/base/329579
Log:
Set internal error returns for OF_peer(), OF_child(), and OF_parent() to
zero, matching the IEEE 1275 standard. Since these internal error paths
have never, to
Author: kevans
Date: Mon Feb 19 16:25:43 2018
New Revision: 329583
URL: https://svnweb.freebsd.org/changeset/base/329583
Log:
stand/lua: Store menu entries in an "entries" table
Instead of directly listing them in menu.welcome and menu.boot_options,
store them at menu.welcome.entries and
Author: hselasky
Date: Mon Feb 19 16:31:19 2018
New Revision: 329584
URL: https://svnweb.freebsd.org/changeset/base/329584
Log:
Implement list_safe_reset_next() function macro in the LinuxKPI.
MFC after:1 week
Submitted by: Johannes Lundberg
Sponsored by:
Author: kevans
Date: Mon Feb 19 16:35:46 2018
New Revision: 329586
URL: https://svnweb.freebsd.org/changeset/base/329586
Log:
stand/lua: Call menu_entries if it's a function
If we've fetched menu.entries and it turns out it's a function, call it to
get the actual menu entries.
This
Author: kevans
Date: Mon Feb 19 16:59:28 2018
New Revision: 329589
URL: https://svnweb.freebsd.org/changeset/base/329589
Log:
stand/lua: Track env changes that come in via loader.conf(5)
This will be used when boot environment support lands to make a good-faith
effort to apply any new
Author: kevans
Date: Mon Feb 19 17:01:21 2018
New Revision: 329590
URL: https://svnweb.freebsd.org/changeset/base/329590
Log:
stand/lua: Restore environment upon config reload
This restores environment to whatever defaults we had coming into lualoader.
Modified:
On Mon, Feb 19, 2018 at 12:20 AM, Hans Petter Selasky
wrote:
> On 02/19/18 00:16, Warner Losh wrote:
>
>> + if (bus && strcmp(val1, bus) != 0) {
>> + if (verbose_flag)
>> + printf("Skipped
Author: kevans
Date: Mon Feb 19 17:40:19 2018
New Revision: 329593
URL: https://svnweb.freebsd.org/changeset/base/329593
Log:
stand/lua: Change boot menu items' names when swapped
[Enter] should be moved to the single user menu item when we swap them.
Define a non-standard menu entry
Author: kevans
Date: Mon Feb 19 17:51:33 2018
New Revision: 329594
URL: https://svnweb.freebsd.org/changeset/base/329594
Log:
stand/lua: Round up some more style.lua(9) concerns
Modified:
head/stand/lua/color.lua
head/stand/lua/config.lua
head/stand/lua/drawer.lua
Author: kevans
Date: Mon Feb 19 18:11:35 2018
New Revision: 329596
URL: https://svnweb.freebsd.org/changeset/base/329596
Log:
stand/lua: Add copyright notice in places
I've made some not-insignificant changes to config, menu, and password bits
of our lua scripts. Add a copyright notice
Author: kevans
Date: Mon Feb 19 17:54:22 2018
New Revision: 329595
URL: https://svnweb.freebsd.org/changeset/base/329595
Log:
stand/lua: Re-order locals after copyright notice; require comes first
Modified:
head/stand/lua/drawer.lua
head/stand/lua/menu.lua
head/stand/lua/password.lua
Author: bryanv
Date: Mon Feb 19 18:41:56 2018
New Revision: 329598
URL: https://svnweb.freebsd.org/changeset/base/329598
Log:
Add PCI methods to iterate over the PCI capabilities
VirtIO V1 provides configuration in multiple VENDOR capabilities so this
allows all of the configuration to
Kyle Evans wrote:
> +function core.isSingleUserBoot()
> + local single_user = loader.getenv("boot_single");
> + return single_user ~= nil and single_user:lower() == "yes";
> +end
Just curious, why do you end all lines with semi-colons? It's not very
common in Lua code.
This version looks
Kyle Evans wrote:
> + -- Swap the first two menu items on single user boot
> + if (core.isSingleUserBoot()) then
> + local multiuser = menu_entries[1];
> + local singleuser = menu_entries[2];
> +
> +
On Mon, Feb 19, 2018 at 3:54 PM, Alexander Nasonov wrote:
> Kyle Evans wrote:
>> +function core.isSingleUserBoot()
>> + local single_user = loader.getenv("boot_single");
>> + return single_user ~= nil and single_user:lower() == "yes";
>> +end
>
> Just curious, why do you
Author: asomers
Date: Mon Feb 19 22:09:49 2018
New Revision: 329606
URL: https://svnweb.freebsd.org/changeset/base/329606
Log:
tail: fix "tail -r" for piped input that begins with '\n'
A subtle logic bug, probably introduced in r311895, caused tail to print the
first two lines of piped
Author: kevans
Date: Mon Feb 19 15:47:09 2018
New Revision: 329578
URL: https://svnweb.freebsd.org/changeset/base/329578
Log:
stand/lua: Menu style.lua(9) nits
Modified:
head/stand/lua/menu.lua
Modified: head/stand/lua/menu.lua
Author: eadler
Date: Mon Feb 19 19:01:46 2018
New Revision: 329599
URL: https://svnweb.freebsd.org/changeset/base/329599
Log:
tools/80211: correct array index
wh->i_dur is a two byte value; not a single byte set twice
Reported by: swild...@dragonflybsd.org
Modified:
Author: bryanv
Date: Mon Feb 19 19:28:24 2018
New Revision: 329601
URL: https://svnweb.freebsd.org/changeset/base/329601
Log:
Add VirtIO bus config_generation method
VirtIO buses (PCI, MMIO) can provide a generation field so a driver
can ensure either a 64-bit or array read was stable.
Author: bryanv
Date: Mon Feb 19 19:31:18 2018
New Revision: 329602
URL: https://svnweb.freebsd.org/changeset/base/329602
Log:
Add more virtqueue getter methods
MFC after:2 weeks
Modified:
head/sys/dev/virtio/virtqueue.c
head/sys/dev/virtio/virtqueue.h
Modified:
Author: kib
Date: Mon Feb 19 19:08:25 2018
New Revision: 329600
URL: https://svnweb.freebsd.org/changeset/base/329600
Log:
Do not free(9) uninitialized pointer.
Reported and tested by: allanjude
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
Modified:
Author: gonzo
Date: Mon Feb 19 19:55:29 2018
New Revision: 329603
URL: https://svnweb.freebsd.org/changeset/base/329603
Log:
MFC r327502:
nctgpio: add new device id for the GPIO chip in PCEngines APU3
PR: 224512
Submitted by: m...@sentex.net
Modified:
On Mon, Feb 19, 2018 at 4:00 PM, Alexander Nasonov wrote:
> Kyle Evans wrote:
>> + -- Swap the first two menu items on single user boot
>> + if (core.isSingleUserBoot()) then
>> + local multiuser = menu_entries[1];
>> +
Author: kevans
Date: Mon Feb 19 22:29:16 2018
New Revision: 329609
URL: https://svnweb.freebsd.org/changeset/base/329609
Log:
stand/lua: Cache swapped menu, and don't create locals for swapping
Building the swapped welcome menu (first two items swapped) is kind of a
sluggish, because it
On Mon, 2018-02-19 at 22:29 +, Kyle Evans wrote:
>
> + -- Swap the first two menu entries
> + menu_entries[1], menu_entries[2] = menu_entries[2],
> + menu_entries[1];
>
IMO, this is the sort of unreadable insanity that
On Mon, Feb 19, 2018 at 4:37 PM, Ian Lepore wrote:
> On Mon, 2018-02-19 at 22:29 +, Kyle Evans wrote:
>>
>> + -- Swap the first two menu entries
>> + menu_entries[1], menu_entries[2] = menu_entries[2],
>> +
Author: kevans
Date: Mon Feb 19 22:56:04 2018
New Revision: 329611
URL: https://svnweb.freebsd.org/changeset/base/329611
Log:
stand/lua: Wrap tuple assignment earlier for readability
Modified:
head/stand/lua/menu.lua
Modified: head/stand/lua/menu.lua
Author: kevans
Date: Mon Feb 19 22:54:10 2018
New Revision: 329610
URL: https://svnweb.freebsd.org/changeset/base/329610
Log:
style.lua(9): Note that wrapping at 80-columns is not rigid
Modified:
head/share/man/man9/style.lua.9
Modified: head/share/man/man9/style.lua.9
On Mon, 2018-02-19 at 22:54 +, Kyle Evans wrote:
> Author: kevans
> Date: Mon Feb 19 22:54:10 2018
> New Revision: 329610
> URL: https://svnweb.freebsd.org/changeset/base/329610
>
> Log:
> style.lua(9): Note that wrapping at 80-columns is not rigid
>
>
> [...]
> +Do note that it is ok to
69 matches
Mail list logo