Author: kib
Date: Sat Nov 4 10:52:58 2017
New Revision: 325389
URL: https://svnweb.freebsd.org/changeset/base/325389
Log:
C++17 requires quick_exit(3) to be async-signal safe.
Make it safe, and update man page with the useful information.
Sponsored by: The FreeBSD Foundation
MFC aft
On Sun, Nov 05, 2017 at 03:06:22AM +1100, Bruce Evans wrote:
> On Sun, 22 Oct 2017, Konstantin Belousov wrote:
>
> > Author: kib
> > Date: Sun Oct 22 08:11:45 2017
> > New Revision: 324853
> > URL: https://svnweb.freebsd.org/changeset/base/324853
> >
> &
ctly fits into this model.
>
> Best,
> Conrad
>
> On Sat, Nov 4, 2017 at 3:49 AM, Konstantin Belousov wrote:
> > Author: kib
> > Date: Sat Nov 4 10:49:34 2017
> > New Revision: 325386
> > URL: https://svnweb.freebsd.org/changeset/base/325386
> >
Author: kib
Date: Sun Nov 5 13:28:48 2017
New Revision: 325435
URL: https://svnweb.freebsd.org/changeset/base/325435
Log:
Improve the message printed when the cylinder group checksum is wrong.
Mention the device path and mount point path, handle snapshots.
Tested by:imp
Sponsore
On Mon, Nov 06, 2017 at 01:46:49AM +1100, Bruce Evans wrote:
> On Sun, 5 Nov 2017, Konstantin Belousov wrote:
>
> > On Sun, Nov 05, 2017 at 03:06:22AM +1100, Bruce Evans wrote:
> >> On Sun, 22 Oct 2017, Konstantin Belousov wrote:
> >>
> >>> Author
On Sun, Nov 05, 2017 at 09:16:28AM -0800, Conrad Meyer wrote:
> On Sun, Nov 5, 2017 at 5:06 AM, Konstantin Belousov
> wrote:
> > On Sat, Nov 04, 2017 at 12:04:56PM -0700, Conrad Meyer wrote:
> >> This is a functional change, because MPASS (via KASSERT) is only
> >
On Sun, Nov 05, 2017 at 11:42:51AM -0700, Warner Losh wrote:
> On Sun, Nov 5, 2017 at 11:32 AM, Conrad Meyer wrote:
>
> > E.g.,
> >
> > --- a/sys/ufs/ffs/ffs_alloc.c
> > +++ b/sys/ufs/ffs/ffs_alloc.c
> > @@ -304,8 +304,7 @@ retry:
> > }
> >
> > if (bp->b_blkno == bp->b_lblkno) {
>
Author: kib
Date: Sun Nov 5 20:03:57 2017
New Revision: 325447
URL: https://svnweb.freebsd.org/changeset/base/325447
Log:
Zero the structure instead of the pointer to it.
Reported by: Don Morris
MFC after:4 days
Modified:
head/sys/amd64/amd64/pmap.c
Modified: head/sys/amd64/amd
On Sun, Nov 05, 2017 at 12:37:50PM -0700, Ian Lepore wrote:
> IMO, the only reason ASSERT-style macros exist is to hide the
> conditional-on-build-type part of the operation. That is, to avoid
> having #ifdef INVARIANTS scattered everywhere.
bde' point is that KASSERT() is badly designed, and I ag
Author: kib
Date: Sun Nov 5 22:00:54 2017
New Revision: 325452
URL: https://svnweb.freebsd.org/changeset/base/325452
Log:
Remove badsect(8).
Failure modes of the modern (that is, produced in the last 25 years)
hard drives and SSDs made the utility outdated. Since the kernel
interface
Author: kib
Date: Tue Nov 7 09:29:14 2017
New Revision: 325506
URL: https://svnweb.freebsd.org/changeset/base/325506
Log:
Add a place for a driver to report rx timestamps in nanoseconds from
boot for the received packets.
The rcv_tstmp field overlaps the place of Ln header length indicat
Author: kib
Date: Tue Nov 7 09:46:26 2017
New Revision: 325507
URL: https://svnweb.freebsd.org/changeset/base/325507
Log:
Use hardware timestamps to report packet timestamps for SO_TIMESTAMP
and other similar socket options.
Provide new control message SCM_TIME_INFO to supply information
Author: kib
Date: Tue Nov 7 09:47:54 2017
New Revision: 325509
URL: https://svnweb.freebsd.org/changeset/base/325509
Log:
Bump __FreeBSD_version after struct mbuf KBI breakage in r325506.
Sponsored by: Mellanox Technologies
Modified:
head/sys/sys/param.h
Modified: head/sys/sys/param.h
On Tue, Nov 07, 2017 at 09:06:52AM -0800, John Baldwin wrote:
> On Tuesday, November 07, 2017 09:29:15 AM Konstantin Belousov wrote:
> > Author: kib
> > Date: Tue Nov 7 09:29:14 2017
> > New Revision: 325506
> > URL: https://svnweb.freebsd.org/changeset/base/325506
>
On Tue, Nov 07, 2017 at 07:39:26PM +0200, Konstantin Belousov wrote:
> On Tue, Nov 07, 2017 at 09:06:52AM -0800, John Baldwin wrote:
> > On Tuesday, November 07, 2017 09:29:15 AM Konstantin Belousov wrote:
> > > Author: kib
> > > Date: Tue Nov 7 09:29:14 2017
> >
On Tue, Nov 07, 2017 at 11:00:33AM -0800, John Baldwin wrote:
> On Tuesday, November 07, 2017 07:44:31 PM Konstantin Belousov wrote:
> > On Tue, Nov 07, 2017 at 07:39:26PM +0200, Konstantin Belousov wrote:
> > > On Tue, Nov 07, 2017 at 09:06:52AM -0800, John Baldwin wrote:
Author: kib
Date: Wed Nov 8 13:05:14 2017
New Revision: 325553
URL: https://svnweb.freebsd.org/changeset/base/325553
Log:
Remove useless DEBUG printfs in i386 sendsig() implementations.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/i386/i386/machdep.c
M
On Wed, Nov 08, 2017 at 11:41:15PM +0100, Emmanuel Vadot wrote:
>
> Hello Jeff,
>
> On Wed, 8 Nov 2017 02:39:37 + (UTC)
> Jeff Roberson wrote:
>
> > Author: jeff
> > Date: Wed Nov 8 02:39:37 2017
> > New Revision: 325530
> > URL: https://svnweb.freebsd.org/changeset/base/325530
> >
> > L
Author: kib
Date: Wed Nov 8 23:25:05 2017
New Revision: 325566
URL: https://svnweb.freebsd.org/changeset/base/325566
Log:
Fix operator priority.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/vm/uma_core.c
Modified: head/sys/vm/uma_core.c
==
Author: kib
Date: Wed Nov 8 23:32:56 2017
New Revision: 325567
URL: https://svnweb.freebsd.org/changeset/base/325567
Log:
Zero whole struct ptrace_lwpinfo to not leak kernel stack data.
Reported by: Ilja Van Sprundel
Discussed with: secteam
Reviewed by: jhb
Sponsored by: The
Author: kib
Date: Thu Nov 9 13:09:07 2017
New Revision: 325588
URL: https://svnweb.freebsd.org/changeset/base/325588
Log:
Correct operators precedence.
Also keep the calculated vm_page_alloc_contig() flags in the variable
to not re-evaluate it on the loop iteration.
Noted by: alc
Author: kib
Date: Fri Nov 10 19:10:14 2017
New Revision: 325671
URL: https://svnweb.freebsd.org/changeset/base/325671
Log:
Check that the pmc index is less than the number of hardware PMCs,
instead of asserting the condition.
The row index is directly supplied by userspace, the kernel mus
On Sun, Nov 12, 2017 at 12:16:22AM -0800, Eitan Adler wrote:
> On 11 November 2017 at 11:21, Rodney W. Grimes
> wrote:
> >> Author: eadler
> >> Date: Sat Nov 11 07:00:40 2017
> >> New Revision: 325702
> >> URL: https://svnweb.freebsd.org/changeset/base/325702
> >>
> >> Log:
> >> mailaddr(7): wav
Author: kib
Date: Mon Nov 13 10:43:31 2017
New Revision: 325758
URL: https://svnweb.freebsd.org/changeset/base/325758
Log:
Style bug.
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
head/sys/dev/hwpmc/hwpmc_logging.c
Modified: head/sys/dev/hwpmc/hwpmc_logging.c
===
Author: kib
Date: Mon Nov 13 10:45:31 2017
New Revision: 325759
URL: https://svnweb.freebsd.org/changeset/base/325759
Log:
Do not leak PMC_PO_OWNS_LOGFILE on error.
Note that PMCLOG_RESERVE_WITH_ERROR() macro contains goto error;
statement and executed after the flag is set.
Reported
Author: kib
Date: Wed Nov 15 13:41:03 2017
New Revision: 325852
URL: https://svnweb.freebsd.org/changeset/base/325852
Log:
vmtotal: extend memory counters to accomodate for current and future
hardware sizes.
32bit counters already overflow on approachable virtual memory page
counts, and
Author: kib
Date: Thu Nov 16 14:27:02 2017
New Revision: 325892
URL: https://svnweb.freebsd.org/changeset/base/325892
Log:
Remove i386 XBOX support.
It is for console presented at 2001 and featuring Pentium III
processor. Even if any of them are still alive and run FreeBSD, we do
not h
Author: kib
Date: Thu Nov 16 14:37:18 2017
New Revision: 325893
URL: https://svnweb.freebsd.org/changeset/base/325893
Log:
Remove xlint(1).
xlint is currently a fossil. We have much more useful and alive tools
to do now what xlint did twenty years ago.
I did not cleared some stuff w
Author: kib
Date: Fri Nov 17 19:10:10 2017
New Revision: 325956
URL: https://svnweb.freebsd.org/changeset/base/325956
Log:
Bump dates after lint removal.
Noted by: wblock
Sponsored by: The FreeBSD Foundation
Modified:
head/share/man/man7/hier.7
head/share/man/man9/style.9
Modifi
On Sat, Nov 18, 2017 at 01:21:22PM +, Edward Tomasz Napierala wrote:
> Author: trasz
> Date: Sat Nov 18 13:21:22 2017
> New Revision: 325965
> URL: https://svnweb.freebsd.org/changeset/base/325965
>
> Log:
> Increase rtld initial memory pool size from 32kB to 128kB.
>
> The old value wa
On Fri, Nov 10, 2017 at 09:49:08AM +, Hans Petter Selasky wrote:
> Author: hselasky
> Date: Fri Nov 10 09:49:08 2017
> New Revision: 325638
> URL: https://svnweb.freebsd.org/changeset/base/325638
>
> Log:
> Refactor the flowsteering APIs used by mlx5en(4). This change is needed by
> the co
Author: kib
Date: Sun Nov 19 11:21:16 2017
New Revision: 325995
URL: https://svnweb.freebsd.org/changeset/base/325995
Log:
Fix build.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/net/if_fddisubr.c
Modified: head/sys/net/if_fddisubr.c
==
Author: kib
Date: Tue Nov 21 19:55:32 2017
New Revision: 326073
URL: https://svnweb.freebsd.org/changeset/base/326073
Log:
systat: use and correctly display 64bit counters.
Following struct vmtotal changes, make systat use and correctly
display 64-bit counters. Switch to humanize_number(
On Wed, Nov 22, 2017 at 08:59:21AM +1100, Bruce Evans wrote:
> On Tue, 21 Nov 2017, Konstantin Belousov wrote:
>
> > Log:
> > systat: use and correctly display 64bit counters.
> >
> > Following struct vmtotal changes, make systat use and correctly
> >
Author: kib
Date: Wed Nov 22 16:45:27 2017
New Revision: 326098
URL: https://svnweb.freebsd.org/changeset/base/326098
Log:
Return different error code for the guard page layout violation.
On KERN_NO_SPACE error, as it is returned now, vm_map_find() continues
the loop searching for the sui
Author: kib
Date: Wed Nov 22 22:04:27 2017
New Revision: 326108
URL: https://svnweb.freebsd.org/changeset/base/326108
Log:
Order declarations alphabetically.
Match signess of the format and the value.
Noted by: bde
Sponsored by: The FreeBSD Foundation
Modified:
head/usr.bin/systa
On Thu, Nov 23, 2017 at 04:24:13AM +1100, Bruce Evans wrote:
> sysctl/sysctl.c:
>sysctl(8) has bogus support for prettyprinting struct vmtotal (sysctl
>shouldn't have any prettyprinting, especially not for structs that have
>specialized programs to print them and much more). This uses
Author: kib
Date: Thu Nov 23 11:25:11 2017
New Revision: 326122
URL: https://svnweb.freebsd.org/changeset/base/326122
Log:
Kill all descendants of the reaper, even if they are descendants of a
subordinate reaper.
Also, mark reapers when listing pids.
Reported by: Michael Zuo
PR:
Author: kib
Date: Thu Nov 23 11:40:16 2017
New Revision: 326123
URL: https://svnweb.freebsd.org/changeset/base/326123
Log:
Remove lint support from system headers and MD x86 headers.
Reviewed by: dim, jhb
Discussed with: imp
Sponsored by: The FreeBSD Foundation
Differential rev
On Fri, Nov 24, 2017 at 12:10:09AM +1100, Bruce Evans wrote:
> On Thu, 23 Nov 2017, Konstantin Belousov wrote:
>
> > On Thu, Nov 23, 2017 at 04:24:13AM +1100, Bruce Evans wrote:
> >> sysctl/sysctl.c:
> >>sysctl(8) has bogus support for prettyprinting struct vmt
Author: kib
Date: Thu Nov 23 19:06:44 2017
New Revision: 326138
URL: https://svnweb.freebsd.org/changeset/base/326138
Log:
Use C standard spelling uint64_t for u_int64_t.
Submitted by: Pawel Biernacki
Sponsored by: Mysterious Code Ltd.
X-Differential revision: https://reviews.free
Author: kib
Date: Thu Nov 23 19:10:09 2017
New Revision: 326139
URL: https://svnweb.freebsd.org/changeset/base/326139
Log:
vmstat: use 64-bit counters from struct vmtotal.
Consistently print counters using unsigned intmax type.
Submitted by: Pawel Biernacki
Sponsored by: Mysterious
On Fri, Nov 24, 2017 at 08:15:06PM +1100, Bruce Evans wrote:
> On Thu, 23 Nov 2017, Konstantin Belousov wrote:
>
> > On Fri, Nov 24, 2017 at 12:10:09AM +1100, Bruce Evans wrote:
> >> On Thu, 23 Nov 2017, Konstantin Belousov wrote:
> >* ...
> >>> Below is th
On Sat, Nov 25, 2017 at 12:14:10AM +1100, Bruce Evans wrote:
> On Fri, 24 Nov 2017, Konstantin Belousov wrote:
>
> > On Fri, Nov 24, 2017 at 08:15:06PM +1100, Bruce Evans wrote:
> >> On Thu, 23 Nov 2017, Konstantin Belousov wrote:
> >* ...
> >>>&g
Author: kib
Date: Sun Nov 26 10:02:43 2017
New Revision: 326226
URL: https://svnweb.freebsd.org/changeset/base/326226
Log:
Improve sysctl(8) pretty printing of some structures.
S_vmtotal:
Use unsigned format to print unsigned memory counters from struct
vmtotal.
Remove unneeded cast,
On Sun, Nov 26, 2017 at 02:28:27PM +, Ed Schouten wrote:
> Author: ed
> Date: Sun Nov 26 14:28:27 2017
> New Revision: 326227
> URL: https://svnweb.freebsd.org/changeset/base/326227
>
> Log:
> Make 32-bit system calls end up in svc_handler().
>
> The nice thing about ARM64 is that it's
On Thu, Feb 06, 2020 at 05:41:52PM +0100, Hans Petter Selasky wrote:
> On 2020-02-06 13:45, Pawel Biernacki wrote:
> > +#ifdef notyet
> > +#defineSYSCTL_ENFORCE_FLAGS(x)
> > \
> > +_Static_assert(((CTLFLAG_MPSAFE ^ CTLFLAG_NEEDGIANT) & (x)), \
> >
Author: kib
Date: Fri Feb 7 22:21:44 2020
New Revision: 357668
URL: https://svnweb.freebsd.org/changeset/base/357668
Log:
linux futex_put(): do not touch futex after dropping our reference.
Reported and tested by: Steve Roome
Sponsored by: The FreeBSD Foundation
MFC after:1
Author: kib
Date: Fri Feb 7 22:26:11 2020
New Revision: 357669
URL: https://svnweb.freebsd.org/changeset/base/357669
Log:
acpi_hpet: Add Hygon Dhyana support.
Submitted by: Pu Wen
MFC after:1 week
Differential revision:https://reviews.freebsd.org/D23555
Modified:
head/s
Author: kib
Date: Fri Feb 7 22:28:04 2020
New Revision: 357670
URL: https://svnweb.freebsd.org/changeset/base/357670
Log:
pmc: Add Hygon Dhyana support.
To make the PMC tool pmcstat working properly on Hygon platform, add
support for Hygon Dhyana family 18h by using the PMC initializatio
Author: kib
Date: Sat Feb 8 15:06:06 2020
New Revision: 357678
URL: https://svnweb.freebsd.org/changeset/base/357678
Log:
Correct the function name in the comment.
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
head/sys/kern/kern_thread.c
Modified: head/sys/kern/
Author: kib
Date: Sun Feb 9 11:53:37 2020
New Revision: 357694
URL: https://svnweb.freebsd.org/changeset/base/357694
Log:
Regen.
Modified:
head/sys/compat/freebsd32/freebsd32_syscall.h
head/sys/compat/freebsd32/freebsd32_syscalls.c
head/sys/compat/freebsd32/freebsd32_sysent.c
head/sys/
right (c) 2016 The FreeBSD Foundation, Inc.
+.\"
+.\" This documentation was written by
+.\" Konstantin Belousov under sponsorship
+.\" from the FreeBSD Foundation.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, a
Author: kib
Date: Sun Feb 9 12:10:37 2020
New Revision: 357695
URL: https://svnweb.freebsd.org/changeset/base/357695
Log:
Add AT_BSDFLAGS auxv entry.
The intent is to provide bsd-specific flags relevant to interpreter
and C runtime. I did not want to reuse AT_FLAGS which is common ELF
Author: kib
Date: Sun Feb 9 12:12:03 2020
New Revision: 357696
URL: https://svnweb.freebsd.org/changeset/base/357696
Log:
Add AT_BSDFLAGS support to _elf_aux_info(3).
Tested by:pho
Disscussed with: cem, emaste, jilles
Sponsored by: The FreeBSD Foundation
Differential revisio
Author: kib
Date: Sun Feb 9 12:22:43 2020
New Revision: 357697
URL: https://svnweb.freebsd.org/changeset/base/357697
Log:
Use sigfastblock(2) in rtld.
This allows for rtld to not issue two sigprocmask(2) syscalls for each
symbol binding operation in single-threaded processes. Rtld needs
Author: kib
Date: Sun Feb 9 12:27:22 2020
New Revision: 357698
URL: https://svnweb.freebsd.org/changeset/base/357698
Log:
Use sigfastblock(2) for masking signals in libthr.
Ensure proper handshake to transfer sigfastblock(2) blocking word
ownership from rtld to libthr.
Unfortunately
Author: kib
Date: Sun Feb 9 12:29:51 2020
New Revision: 357700
URL: https://svnweb.freebsd.org/changeset/base/357700
Log:
Add sysctl kern.proc.sigfastblk for reporting sigfastblock word address.
Tested by:pho
Disscussed with: cem, emaste, jilles
Sponsored by: The FreeBSD Found
Author: kib
Date: Sun Feb 9 12:30:50 2020
New Revision: 357701
URL: https://svnweb.freebsd.org/changeset/base/357701
Log:
Add procstat(1) sigfastblock command to show process sigfastblock word
address.
Tested by:pho
Disscussed with: cem, emaste, jilles
Sponsored by: The FreeB
On Mon, Feb 10, 2020 at 10:11:43AM -0800, John Baldwin wrote:
> On 2/9/20 4:10 AM, Konstantin Belousov wrote:
> > Author: kib
> > Date: Sun Feb 9 12:10:37 2020
> > New Revision: 357695
> > URL: https://svnweb.freebsd.org/changeset/base/357695
> >
> >
Author: kib
Date: Tue Feb 11 17:41:45 2020
New Revision: 357763
URL: https://svnweb.freebsd.org/changeset/base/357763
Log:
if_media.c: use __FBSDID().
Reviewed by: hselasky
Sponsored by: Mellanox Technologies
Differential revision:https://reviews.freebsd.org/D23620
Modified:
Author: kib
Date: Tue Feb 11 17:45:01 2020
New Revision: 357764
URL: https://svnweb.freebsd.org/changeset/base/357764
Log:
if_media.c: staticize and constify ifmedia description structures used under
IFMEDIA_DEBUG.
The reason for this change is to make it clear the scope of the in-kernel
Author: kib
Date: Tue Feb 11 18:03:45 2020
New Revision: 357765
URL: https://svnweb.freebsd.org/changeset/base/357765
Log:
if_media.h: Add 50G KR4 ethernet media type.
Submitted by: Adam Peace
Reviewed by: hselasky
Differential revision:https://reviews.freebsd.org/D23620
Modi
Author: kib
Date: Wed Feb 12 12:23:46 2020
New Revision: 357813
URL: https://svnweb.freebsd.org/changeset/base/357813
Log:
Fix indent.
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
head/libexec/rtld-elf/rtld.c
Modified: head/libexec/rtld-elf/rtld.c
==
Author: kib
Date: Thu Feb 13 19:03:12 2020
New Revision: 357865
URL: https://svnweb.freebsd.org/changeset/base/357865
Log:
vmm: Add Hygon Dhyana support.
Submitted by: Pu Wen
Discussed with: grehan
Reviewed by: jhb (previous version)
MFC after:1 week
Differential revisio
Author: kib
Date: Thu Feb 13 19:05:14 2020
New Revision: 357866
URL: https://svnweb.freebsd.org/changeset/base/357866
Log:
bhyve, bhyvectl: Add Hygon Dhyana support.
Submitted by: Pu Wen
Reviewed by: jhb
MFC after:1 week
Differential revision:https://reviews.freebsd.org/
Author: kib
Date: Thu Feb 13 19:07:42 2020
New Revision: 357868
URL: https://svnweb.freebsd.org/changeset/base/357868
Log:
amdpm: Add Hygon Dhyana support.
Submitted by: Pu Wen
MFC after:1 week
Differential revision:https://reviews.freebsd.org/D23557
Modified:
head/sys/d
Author: kib
Date: Thu Feb 13 19:09:24 2020
New Revision: 357869
URL: https://svnweb.freebsd.org/changeset/base/357869
Log:
amdsbwd, intpm: Add Hygon Dhyana support.
Initialize the FCH SMBus controller for Hygon Dhyana CPU.
Set the vendor of the FCH description via the exact CPU vendor.
Author: kib
Date: Thu Feb 13 19:10:51 2020
New Revision: 357870
URL: https://svnweb.freebsd.org/changeset/base/357870
Log:
ecc_inject: Add Hygon Dhyana support.
Submitted by: Pu Wen
MFC after:1 week
Differential revision:https://reviews.freebsd.org/D23561
Modified:
head/
Author: kib
Date: Thu Feb 13 19:12:07 2020
New Revision: 357871
URL: https://svnweb.freebsd.org/changeset/base/357871
Log:
hyperv: Add Hygon Dhyana support.
Submitted by: Pu Wen
MFC after:1 week
Differential revision:https://reviews.freebsd.org/D23563
Modified:
head/sys/
On Thu, Feb 13, 2020 at 07:05:19PM +, Li-Wen Hsu wrote:
> Author: lwhsu
> Date: Thu Feb 13 19:05:19 2020
> New Revision: 357867
> URL: https://svnweb.freebsd.org/changeset/base/357867
>
> Log:
> Fix GCC build.
>
> Sponsored by: The FreeBSD Foundation
>
> Modified:
> head/tests/
On Thu, Feb 13, 2020 at 01:49:09PM -0800, Ravi Pokala wrote:
> Why "svm"?
Because this is how AMD calls its virtualization extensions.
Secure Virtual Machine.
>
> -Ravi (rpokala@)
>
> -Original Message-----
> From: on behalf of Konstantin Belousov
>
> D
Author: kib
Date: Thu Feb 13 23:22:12 2020
New Revision: 357894
URL: https://svnweb.freebsd.org/changeset/base/357894
Log:
Return success, instead of ESRCH, from pthread_cancel(3) applied to the
exited but not yet joined thread.
Before, if the thread exited but was not yet joined, we retu
Author: kib
Date: Thu Feb 13 23:42:09 2020
New Revision: 357895
URL: https://svnweb.freebsd.org/changeset/base/357895
Log:
Handle non-plt IRELATIVE relocations, at least for x86.
lld 10.0 seems to generate this relocation for rdtsc_mb() ifunc in our libc.
Reported, reviewed, and tested
On Fri, Feb 14, 2020 at 11:17:12AM +0100, Antoine Brodin wrote:
> On Fri, Feb 14, 2020 at 12:42 AM Konstantin Belousov wrote:
> >
> > Author: kib
> > Date: Thu Feb 13 23:42:09 2020
> > New Revision: 357895
> > URL: https://svnweb.freebsd.org/changeset/base/357895
Author: kib
Date: Fri Feb 14 12:59:27 2020
New Revision: 357910
URL: https://svnweb.freebsd.org/changeset/base/357910
Log:
r357895: fix typo in the relocation name for i386 IRELATIVE.
Reported by: antoine
Sponsored by: The FreeBSD Foundation
MFC after:6 days
Modified:
head/libexe
On Fri, Feb 14, 2020 at 01:37:40PM +0100, Antoine Brodin wrote:
> On Fri, Feb 14, 2020 at 12:51 PM Konstantin Belousov
> wrote:
> >
> > On Fri, Feb 14, 2020 at 11:17:12AM +0100, Antoine Brodin wrote:
> > > On Fri, Feb 14, 2020 at 12:42 AM Konstantin Belousov
> >
Author: kib
Date: Fri Feb 14 23:27:45 2020
New Revision: 357948
URL: https://svnweb.freebsd.org/changeset/base/357948
Log:
Consolidate read code for timecounters and fix possible overflow in
bintime()/binuptime().
The algorithm to read the consistent snapshot of current timehand is
repe
Author: kib
Date: Sat Feb 15 23:15:42 2020
New Revision: 357982
URL: https://svnweb.freebsd.org/changeset/base/357982
Log:
Use designated initializers for seminfo.
Reviewed by: markj
Tested by:pho
Sponsored by: The FreeBSD Foundation (kib)
MFC after:1 week
Differential revi
Author: kib
Date: Sat Feb 15 23:18:02 2020
New Revision: 357983
URL: https://svnweb.freebsd.org/changeset/base/357983
Log:
sem_remove(): add some asserts.
Assert that sema[idx] allocation from sem[] is sane.
Also assert that sem_mtx is owned, it protects the SEM_ALLOC flag.
Reviewed
Author: kib
Date: Sat Feb 15 23:19:23 2020
New Revision: 357984
URL: https://svnweb.freebsd.org/changeset/base/357984
Log:
sem_remove(): fix the loop that compacts sem array on semaphores removal.
As written now, it copies random kernel memory from beyond the bounds
of the array.
Rep
Author: kib
Date: Sat Feb 15 23:25:39 2020
New Revision: 357985
URL: https://svnweb.freebsd.org/changeset/base/357985
Log:
Add pthread_peekjoin_np(3).
The function allows to peek at the thread exit status and even see
return value, without joining (and thus finally destroying) the target
Author: kib
Date: Sun Feb 16 15:43:28 2020
New Revision: 358002
URL: https://svnweb.freebsd.org/changeset/base/358002
Log:
Fix build of some modules for some kernel configs.
Namely, vmm.ko cannot be compiled without 'option SMP', the code uses
IPIs and LAPIC.
Recently systrace was force
On Sun, Feb 16, 2020 at 03:14:55AM +, Mateusz Guzik wrote:
> Author: mjg
> Date: Sun Feb 16 03:14:55 2020
> New Revision: 357989
> URL: https://svnweb.freebsd.org/changeset/base/357989
>
> Log:
> refcount: add missing release fence to refcount_release_if_gt
I think you should update comment
Author: kib
Date: Mon Feb 17 13:26:36 2020
New Revision: 358021
URL: https://svnweb.freebsd.org/changeset/base/358021
Log:
Fix typo.
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
head/sys/dev/pci/pcireg.h
Modified: head/sys/dev/pci/pcireg.h
==
Author: kib
Date: Mon Feb 17 13:31:30 2020
New Revision: 358022
URL: https://svnweb.freebsd.org/changeset/base/358022
Log:
pciconf: List names of all known extended PCIe capabilities.
Some ids are redundand because the list_ecaps() function decodes them
by explicit switch case. But listi
On Wed, Feb 19, 2020 at 10:41:27AM +0100, Baptiste Daroussin wrote:
> On Wed, Feb 19, 2020 at 11:02:11AM +0300, Yuri Pankov wrote:
> > On 18 Feb 2020, at 11:11, Baptiste Daroussin wrote:
> > >
> > > Author: bapt
> > > Date: Tue Feb 18 08:11:52 2020
> > > New Revision: 358062
> > > URL: https://sv
Author: kib
Date: Thu Feb 20 15:34:02 2020
New Revision: 358168
URL: https://svnweb.freebsd.org/changeset/base/358168
Log:
Do not read sigfastblock word on syscall entry.
On machines with SMAP, fueword executes two serializing instructions
which can be seen in microbenchmarks.
As a m
Author: kib
Date: Thu Feb 20 17:08:52 2020
New Revision: 358174
URL: https://svnweb.freebsd.org/changeset/base/358174
Log:
Add more values for PCI capabilities, PCIe extended capabilities, and
subclasses.
Taken from
https://pcisig.com/sites/default/files/files/PCI_Code-ID_r_1_11__v24_Ja
Author: kib
Date: Thu Feb 20 17:10:25 2020
New Revision: 358175
URL: https://svnweb.freebsd.org/changeset/base/358175
Log:
Print out some newly added PCIe extended capabilities and subclasses.
Taken from
https://pcisig.com/sites/default/files/files/PCI_Code-ID_r_1_11__v24_Jan_2019.pdf
Author: kib
Date: Thu Feb 20 21:25:12 2020
New Revision: 358182
URL: https://svnweb.freebsd.org/changeset/base/358182
Log:
Fix a bug in r358168, do not call sigfastblock_setpend() under a mutex.
PR: 244250
Reported and tested by: lwhsu
Sponsored by: The FreeBSD Foundation
Modif
Author: kib
Date: Fri Feb 21 16:41:17 2020
New Revision: 358225
URL: https://svnweb.freebsd.org/changeset/base/358225
Log:
print_svm_info: decode a CPUID 0x800a.edx bit 20.
This is SVM features word, the bit is defined in "PPR for AMD Family
17h Model 31h B0", document 55803 Rev 0.54.
Author: kib
Date: Fri Feb 21 16:55:28 2020
New Revision: 358226
URL: https://svnweb.freebsd.org/changeset/base/358226
Log:
x86/identcpu.c whitespace cleanup.
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
head/sys/x86/x86/identcpu.c
Modified: head/sys/x86/x86/iden
Author: kib
Date: Sat Feb 22 20:43:04 2020
New Revision: 358251
URL: https://svnweb.freebsd.org/changeset/base/358251
Log:
Add td_pflags2, yet another thread-private flags word.
There is no more free bits in td_pflags.
Tested by:pho
Sponsored by: The FreeBSD Foundation
MFC afte
Author: kib
Date: Sat Feb 22 20:50:30 2020
New Revision: 358252
URL: https://svnweb.freebsd.org/changeset/base/358252
Log:
Fix NFS client deadlock when read reports truncated node.
If node attribute returned in the reply for read rpc indicate
truncation, and it happens that the vnode is e
Author: kib
Date: Tue Feb 25 17:26:10 2020
New Revision: 358315
URL: https://svnweb.freebsd.org/changeset/base/358315
Log:
Fix IBRS for machines with IBRS_ALL capability.
When turning IBRS mitigation using sysctl, as opposed to loader tunable,
send IPI to tweak MSR on all cores. Right no
On Thu, Feb 27, 2020 at 10:54:21PM -0700, Warner Losh wrote:
> On Thu, Feb 27, 2020, 9:55 AM John Baldwin wrote:
>
> > On 2/27/20 7:30 AM, Warner Losh wrote:
> > > Author: imp
> > > Date: Thu Feb 27 15:30:13 2020
> > > New Revision: 358392
> > > URL: https://svnweb.freebsd.org/changeset/base/3583
On Mon, Mar 02, 2020 at 09:13:53AM -0800, Ryan Libby wrote:
> On Mon, Mar 2, 2020 at 12:45 AM Alexander V. Chernikov
> wrote:
> >
> > 28.02.2020, 18:32, "Ryan Libby" :
> > > Author: rlibby
> > > Date: Fri Feb 28 18:32:36 2020
> > > New Revision: 358439
> > > URL: https://svnweb.freebsd.org/change
Author: kib
Date: Wed Mar 4 17:13:35 2020
New Revision: 358624
URL: https://svnweb.freebsd.org/changeset/base/358624
Log:
mlx5en: Support 50GBase-KR4 media type in mlx5en driver.
Submitted by: Adam Peace
Reviewed by: hselasky
Sponsored by: Mellanox Technologies
MFC after:1 week
Author: kib
Date: Thu Mar 5 15:52:34 2020
New Revision: 358676
URL: https://svnweb.freebsd.org/changeset/base/358676
Log:
buffer pager: deref ucred immediately after read.
Ucred is passed to bread(9) so that non-local filesystems use proper
credentials. But, since clean buffer might be
1101 - 1200 of 5077 matches
Mail list logo