Re: svn commit: r355759 - in head: include sys/sys

2019-12-14 Thread Xin Li via svn-src-head
On 2019-12-14 13:52, Conrad Meyer wrote: > Author: cem > Date: Sat Dec 14 21:52:49 2019 > New Revision: 355759 > URL: https://svnweb.freebsd.org/changeset/base/355759 > > Log: > cdefs: Add __deprecated(message) function attribute macro This conflicts with Linux kernel and breaks DRM. Please

Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Antoine Brodin
On Sat, Dec 14, 2019 at 9:28 AM Conrad Meyer wrote: > > Author: cem > Date: Sat Dec 14 08:28:10 2019 > New Revision: 355747 > URL: https://svnweb.freebsd.org/changeset/base/355747 > > Log: > Deprecate sranddev(3) API Hi, The stdlib.h header is now broken and most ports are broken. /usr/includ

svn commit: r355771 - head/sys/kern

2019-12-14 Thread Jeff Roberson
Author: jeff Date: Sun Dec 15 06:26:47 2019 New Revision: 355771 URL: https://svnweb.freebsd.org/changeset/base/355771 Log: Fix a mistake in r355765. We need to activate the page if it is not yet on a pagequeue. Reported by: pho Modified: head/sys/kern/uipc_shm.c Modified: head/sys/

svn commit: r355769 - head/sys/dev/kbd

2019-12-14 Thread Kyle Evans
Author: kevans Date: Sun Dec 15 04:22:50 2019 New Revision: 355769 URL: https://svnweb.freebsd.org/changeset/base/355769 Log: kbd: drop _KERNEL #ifdef in kbdreg.h This #ifdef is misleading as there are actually no user-serviceable parts inside and, as far as I can tell, there is no pollut

svn commit: r355766 - head/sys/vm

2019-12-14 Thread Jeff Roberson
Author: jeff Date: Sun Dec 15 04:08:24 2019 New Revision: 355766 URL: https://svnweb.freebsd.org/changeset/base/355766 Log: Previously we did not support invalid pages in default objects. This means that if fault fails to progress and needs to restart the loop it must free the page it is wo

svn commit: r355765 - in head/sys: dev/md fs/tmpfs kern vm

2019-12-14 Thread Jeff Roberson
Author: jeff Date: Sun Dec 15 03:15:06 2019 New Revision: 355765 URL: https://svnweb.freebsd.org/changeset/base/355765 Log: Add a deferred free mechanism for freeing swap space that does not require an exclusive object lock. Previously swap space was freed on a best effort basis when a pa

svn commit: r355764 - head/sys/vm

2019-12-14 Thread Jeff Roberson
Author: jeff Date: Sun Dec 15 02:02:27 2019 New Revision: 355764 URL: https://svnweb.freebsd.org/changeset/base/355764 Log: Slightly optimize locking in vm_map_copy_swap_entry(). Anonymous objects require the object lock to synchronize collapse. Other swap objects such as tmpfs do not.

svn commit: r355763 - in head/sys: kern vm

2019-12-14 Thread Jeff Roberson
Author: jeff Date: Sun Dec 15 02:00:32 2019 New Revision: 355763 URL: https://svnweb.freebsd.org/changeset/base/355763 Log: Handle pagein clustering in vm_page_grab_valid() so that it can be used by exec_map_first_page(). This will also enable pagein clustering for other interested consumer

svn commit: r355762 - head/sys/sys

2019-12-14 Thread Pedro F. Giffuni
Author: pfg Date: Sun Dec 15 01:56:56 2019 New Revision: 355762 URL: https://svnweb.freebsd.org/changeset/base/355762 Log: cdefs: use more accurate GCC version for the deprecated attribute. The message argument in the "deprecated" attribute was introduced in GCC 4.5 *. Use the accurate v

svn commit: r355761 - head/include

2019-12-14 Thread Kyle Evans
Author: kevans Date: Sun Dec 15 01:26:57 2019 New Revision: 355761 URL: https://svnweb.freebsd.org/changeset/base/355761 Log: : remove redundant __BSD_VISIBLE This bit is already inside of a larger __BSD_VISIBLE block. Reported by: vangyzen Modified: head/include/unistd.h Modified

svn commit: r355760 - head/sys/compat/linuxkpi/common/include/linux

2019-12-14 Thread Conrad Meyer
Author: cem Date: Sat Dec 14 23:39:32 2019 New Revision: 355760 URL: https://svnweb.freebsd.org/changeset/base/355760 Log: linuxkpi: Drop incompatible __deprecated definition Probably all of these linuxkpi stubs should be '#ifndef' guarded, but maybe that would prevent people from noticin

Re: svn commit: r355759 - in head: include sys/sys

2019-12-14 Thread Mark Millard via svn-src-head
Now it is clang builds that are broken, at least ones that use: sys/compat/linuxkpi/common/include/linux/compiler.h An example from: https://ci.freebsd.org/job/FreeBSD-head-aarch64-build/14953/console is: 14:32:22 --- all_subdir_lindebugfs --- 14:32:22 In file included from /usr/src/sys/compat

svn commit: r355759 - in head: include sys/sys

2019-12-14 Thread Conrad Meyer
Author: cem Date: Sat Dec 14 21:52:49 2019 New Revision: 355759 URL: https://svnweb.freebsd.org/changeset/base/355759 Log: cdefs: Add __deprecated(message) function attribute macro The legacy version of GCC4 currently in base does not support the parameterized form of this function attrib

svn commit: r355758 - head/sbin/mount_nfs

2019-12-14 Thread Rick Macklem
Author: rmacklem Date: Sat Dec 14 21:49:47 2019 New Revision: 355758 URL: https://svnweb.freebsd.org/changeset/base/355758 Log: Update the mount_nfs.8 man page to include NFSv4.2. r355677 added NFSv4.2 support to the NFS client. This patch updates the mount_nfs.8 man page to reflect that.

Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Warner Losh
Thanks. Put me on the review :) Warner On Sat, Dec 14, 2019, 12:54 PM Conrad Meyer wrote: > I agree, a cdefs.h definition would be pleasant even if gcc4 isn’t a > factor (and it’s not in about two weeks). I’ll go ahead and do that. > > On Sat, Dec 14, 2019 at 11:28 Warner Losh wrote: > >> >> >

Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Conrad Meyer
I agree, a cdefs.h definition would be pleasant even if gcc4 isn’t a factor (and it’s not in about two weeks). I’ll go ahead and do that. On Sat, Dec 14, 2019 at 11:28 Warner Losh wrote: > > > On Sat, Dec 14, 2019 at 12:22 PM Pedro Giffuni wrote: > >> >> On 14/12/2019 13:20, Ryan Libby wrote: >

svn commit: r355757 - head/sys/kern

2019-12-14 Thread Doug Moore
Author: dougm Date: Sat Dec 14 19:44:42 2019 New Revision: 355757 URL: https://svnweb.freebsd.org/changeset/base/355757 Log: Simplify the processing a leaf mask to find big-enough ranges of set bits, by storing and modifying the complement of the original leaf mask, and by avoiding some unne

Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Warner Losh
On Sat, Dec 14, 2019 at 12:22 PM Pedro Giffuni wrote: > > On 14/12/2019 13:20, Ryan Libby wrote: > > On Sat, Dec 14, 2019 at 12:28 AM Conrad Meyer wrote: > >> Author: cem > >> Date: Sat Dec 14 08:28:10 2019 > >> New Revision: 355747 > >> URL: https://svnweb.freebsd.org/changeset/base/355747 > >>

Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Pedro Giffuni
On 14/12/2019 13:20, Ryan Libby wrote: On Sat, Dec 14, 2019 at 12:28 AM Conrad Meyer wrote: Author: cem Date: Sat Dec 14 08:28:10 2019 New Revision: 355747 URL: https://svnweb.freebsd.org/changeset/base/355747 Log: Deprecate sranddev(3) API It serves no useful purpose and wasn't as po

Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Ryan Libby
> Modified: head/ObsoleteFiles.inc > == > --- head/ObsoleteFiles.inc Sat Dec 14 05:21:56 2019(r355746) > +++ head/ObsoleteFiles.inc Sat Dec 14 08:28:10 2019(r355747) > @@ -36,6 +36,8 @@ >

Re: svn commit: r334277 - in head: contrib/libpcap contrib/ofed/usr.lib/3 contrib/pf/pflogd contrib/wpa/src/l2_packet lib lib/libpcap share/mk usr.sbin/cxgbetool

2019-12-14 Thread Kyle Evans
On Mon, Nov 25, 2019 at 1:17 PM Kyle Evans wrote: > > On Mon, May 28, 2018 at 3:12 AM Hans Petter Selasky > wrote: > > > > Author: hselasky > > Date: Mon May 28 08:12:18 2018 > > New Revision: 334277 > > URL: https://svnweb.freebsd.org/changeset/base/334277 > > > > Log: > > MFV r333789: libpcap

Re: svn commit: r355754 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2019-12-14 Thread Konstantin Belousov
On Sat, Dec 14, 2019 at 01:37:17PM +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Sat Dec 14 13:37:17 2019 > New Revision: 355754 > URL: https://svnweb.freebsd.org/changeset/base/355754 > > Log: > Add sync_file_range(2) implementation to linux(4); it's a thin wrapper > over the

svn commit: r355755 - in head/sys: arm64/rockchip conf

2019-12-14 Thread Michal Meloun
Author: mmel Date: Sat Dec 14 14:56:34 2019 New Revision: 355755 URL: https://svnweb.freebsd.org/changeset/base/355755 Log: Add driver for Rockchip PCIe root complex found in RK3399 SOC. Unfortunately, there are some limitations: - memory aperture of his controller is only 16MiB, so it is ne

svn commit: r355754 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/linux i386/linux

2019-12-14 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Dec 14 13:37:17 2019 New Revision: 355754 URL: https://svnweb.freebsd.org/changeset/base/355754 Log: Add sync_file_range(2) implementation to linux(4); it's a thin wrapper over the usual fsync(2). This silences some warnings when running "apt-get upgrade". Rev

svn commit: r355753 - in head/sys: amd64/linux amd64/linux32 arm/linux arm64/linux i386/linux

2019-12-14 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Dec 14 13:32:37 2019 New Revision: 355753 URL: https://svnweb.freebsd.org/changeset/base/355753 Log: Regen after r355752. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D22371 Modified: head

svn commit: r355752 - in head/sys: amd64/linux amd64/linux32 arm/linux arm64/linux i386/linux

2019-12-14 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Dec 14 13:30:43 2019 New Revision: 355752 URL: https://svnweb.freebsd.org/changeset/base/355752 Log: Fix definitions for linuxulator's sync_file_range(2). Reviewed by: brooks, emaste MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revis

svn commit: r355751 - head/usr.sbin/sesutil

2019-12-14 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Dec 14 10:58:06 2019 New Revision: 355751 URL: https://svnweb.freebsd.org/changeset/base/355751 Log: Add 'sesutil show' subcommand to show enclosure and its contents in a user-friendly way. Reviewed by: allanjude, bcr (manpages) MFC after:2 weeks Relnotes:

svn commit: r355750 - in head: contrib/netcat usr.bin/nc

2019-12-14 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Dec 14 10:53:52 2019 New Revision: 355750 URL: https://svnweb.freebsd.org/changeset/base/355750 Log: Add -M option to nc(1), which makes it print the TCP connection statistics obtained with stats(3) in JSON format to standard error. Reviewed by: allanjude, thj, ce

Re: svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Mark Murray via svn-src-head
> On 14 Dec 2019, at 08:28, Conrad Meyer wrote: > > Author: cem > Date: Sat Dec 14 08:28:10 2019 > New Revision: 355747 > URL: https://svnweb.freebsd.org/changeset/base/355747 > > Log: > Deprecate sranddev(3) API > > It serves no useful purpose and wasn't as popular as its equally meritless

svn commit: r355747 - in head: . include lib/libc/stdlib lib/libxo

2019-12-14 Thread Conrad Meyer
rgs -n1 | sort | uniq -d; # done +# 20191214: Removal of sranddev(3) +OLD_FILES+=usr/share/man/man3/sranddev.3.gz # 20191213: remove timeout(9) OLD_FILES+=usr/share/man/man9/timeout.9.gz OLD_FILES+=usr/share/man/man9/untimeout.9.gz Modifie