Author: kib
Date: Fri Apr 5 19:25:26 2019
New Revision: 345963
URL: https://svnweb.freebsd.org/changeset/base/345963
Log:
Implement resets for PCI buses and PCIe bridges.
For PCI device (i.e. child of a PCI bus), reset tries FLR if
implemented and worked, and falls to power reset otherwi
Author: kib
Date: Fri Apr 5 19:27:51 2019
New Revision: 345964
URL: https://svnweb.freebsd.org/changeset/base/345964
Log:
Remove single-use DEV_RESET() macro.
It conflicts with the sys/bus.h DEV_XXX namespace.
Reviewed by: imp (previous version), jhb (previous version)
Sponsored by
Author: kib
Date: Fri Apr 5 19:31:26 2019
New Revision: 345965
URL: https://svnweb.freebsd.org/changeset/base/345965
Log:
Add DEV_RESET /dev/devctl2 ioctl.
It performs BUS_RESET_CHILD() on the parental bus and the specified
device.
Reviewed by: imp (previous version), jhb (previous
Author: kib
Date: Fri Apr 5 19:32:26 2019
New Revision: 345966
URL: https://svnweb.freebsd.org/changeset/base/345966
Log:
Implement devctl(8) command 'reset', using DEV_RESET /dev/devctl2 ioctl.
Reviewed by: imp (previous version), jhb (previous version)
Sponsored by: Mellanox Technolog
Author: kib
Date: Fri Apr 5 20:12:19 2019
New Revision: 345968
URL: https://svnweb.freebsd.org/changeset/base/345968
Log:
Fix gcc warning about shadowed global.
Sponsored by: Mellanox Technologies
MFC after:2 weeks
Modified:
head/usr.sbin/devctl/devctl.c
Modified: head/usr.sbin/d
On Fri, Apr 05, 2019 at 09:55:43PM +0200, Hans Petter Selasky wrote:
> On 4/5/19 9:51 PM, Conrad Meyer wrote:
> > static const u_char dot_name[11] = ". ";
> > static const u_char dotdot_name[11] = ".. ";
> >
> > Seems more clear to me.
>
> Using this syntax will include a termina
Author: kib
Date: Sun Apr 7 08:58:09 2019
New Revision: 345997
URL: https://svnweb.freebsd.org/changeset/base/345997
Log:
Give new home to the comment from ppt_pci_reset(), explaining a nuance
of power reset.
Noted by: sor...@cydem.org
Sponsored by: Mellanox Technologies
MFC afte
Author: kib
Date: Mon Apr 8 15:20:05 2019
New Revision: 346031
URL: https://svnweb.freebsd.org/changeset/base/346031
Log:
Handle races when remounting UFS volume from ro to rw.
In particular, ensure that writers are not unleashed before SU
structures are initialized. Also, correctly han
Author: kib
Date: Mon Apr 8 18:16:49 2019
New Revision: 346038
URL: https://svnweb.freebsd.org/changeset/base/346038
Log:
Exercise some care before sending SIGHUP to mountd.
Reviewed by: antoine, emaste, oshogbo
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Differential
Author: kib
Date: Tue Apr 9 18:07:17 2019
New Revision: 346062
URL: https://svnweb.freebsd.org/changeset/base/346062
Log:
pci_cfgreg.c: Use io port config access for early boot time.
Some early PCIe chipsets are explicitly listed in the white-list to
enable use of the MMIO config space a
Author: kib
Date: Tue Apr 9 19:55:02 2019
New Revision: 346064
URL: https://svnweb.freebsd.org/changeset/base/346064
Log:
Fix dirty buf exhaustion easily triggered with msdosfs.
If truncate(2) is performed on msdosfs file, which extends the file by
system-depended large amount, fs create
Author: kib
Date: Tue Apr 9 20:20:04 2019
New Revision: 346065
URL: https://svnweb.freebsd.org/changeset/base/346065
Log:
Add vn_fsync_buf().
Provide a convenience function to avoid the hack with filling fake
struct vop_fsync_args and then calling vop_stdfsync().
Sponsored by: The F
On Wed, Apr 10, 2019 at 01:42:37PM +, Edward Tomasz Napierala wrote:
> Author: trasz
> Date: Wed Apr 10 13:42:37 2019
> New Revision: 346081
> URL: https://svnweb.freebsd.org/changeset/base/346081
>
> Log:
> Make zfsd(8) build obey CFLAGS.
>
> Reviewed by:imp
> Obtained from:
On Thu, Apr 11, 2019 at 08:59:14AM -0700, Conrad Meyer wrote:
> Hi Edward,
>
> I have a question about this change below.
>
> On Thu, Apr 11, 2019 at 4:22 AM Edward Tomasz Napierala
> wrote:
> >
> > Author: trasz
> > Date: Thu Apr 11 11:21:45 2019
> > New Revision: 346120
> > URL: https://svnweb
On Fri, Apr 12, 2019 at 03:28:26PM +0100, Edward Napierala wrote:
> On Thu, 11 Apr 2019 at 17:26, Conrad Meyer wrote:
> >
> > Hi Edward,
> >
> > I have a question about this change below.
> >
> > On Thu, Apr 11, 2019 at 4:22 AM Edward Tomasz Napierala
> > wrote:
> > >
> > > Author: trasz
> > > Da
On Fri, Apr 12, 2019 at 04:23:35PM +0100, Edward Napierala wrote:
> On Fri, 12 Apr 2019 at 16:20, Konstantin Belousov wrote:
> >
> > On Fri, Apr 12, 2019 at 03:28:26PM +0100, Edward Napierala wrote:
> > > On Thu, 11 Apr 2019 at 17:26, Conrad Meyer wrote:
&
Author: kib
Date: Fri Apr 12 17:11:50 2019
New Revision: 346157
URL: https://svnweb.freebsd.org/changeset/base/346157
Log:
Ignore doomed vnodes in tmpfs_update_mtime().
Otherwise we might dereference NULL vp->v_data after
VP_TO_TMPFS_NODE().
Reported and tested by: pho
Sponso
Author: kib
Date: Fri Apr 12 17:27:19 2019
New Revision: 346158
URL: https://svnweb.freebsd.org/changeset/base/346158
Log:
Do not access mutex memory after unlock.
PR: 237195
Reported by: free...@hurrikhan.eu
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
he
Author: kib
Date: Sun Apr 14 18:04:53 2019
New Revision: 346216
URL: https://svnweb.freebsd.org/changeset/base/346216
Log:
ld-elf.so: make LD_DEBUG always functional.
This causes some increase of the dynamic linker size, but benefits of
avoiding compiling private copy or the linker when d
Author: kib
Date: Mon Apr 15 13:03:09 2019
New Revision: 346225
URL: https://svnweb.freebsd.org/changeset/base/346225
Log:
Fix order of destructors between main binary and libraries.
Since inits for the main binary are run from rtld (for some time), the
rtld_exit atexit(3) handler, which
Author: kib
Date: Tue Apr 16 19:46:02 2019
New Revision: 346294
URL: https://svnweb.freebsd.org/changeset/base/346294
Log:
Fix initial x87 state after r345562.
After the referenced commit, we did not set x87 and sse valid bits in
the xstate_bv bitmask for initial fpu state (stored in memo
Author: kib
Date: Thu Apr 18 14:02:33 2019
New Revision: 346350
URL: https://svnweb.freebsd.org/changeset/base/346350
Log:
Reduce verbosity, do not announce details of irte programming by default.
Sponsored by: Mellanox Technologies
MFC after:1 week
Modified:
head/sys/x86/iommu/int
Author: kib
Date: Thu Apr 18 14:03:59 2019
New Revision: 346351
URL: https://svnweb.freebsd.org/changeset/base/346351
Log:
Remove witness warning. dmar_bus_dmamap_create() does not sleep.
Sponsored by: Mellanox Technologies
MFC after:1 week
Modified:
head/sys/x86/iommu/busdma_dmar.
Author: kib
Date: Thu Apr 18 14:18:06 2019
New Revision: 346352
URL: https://svnweb.freebsd.org/changeset/base/346352
Log:
Correct handling of RMRR during early enumeration stages.
On some machines, DMAR contexts must be created before all devices
under the scope of the corresponding DMAR
Author: kib
Date: Thu Apr 18 15:31:03 2019
New Revision: 346355
URL: https://svnweb.freebsd.org/changeset/base/346355
Log:
Use correct type name.
Sponsored by: Mellanox Technologies
MFC after:1 week
Modified:
head/sys/x86/iommu/intel_drv.c
Modified: head/sys/x86/iommu/intel_drv.c
Author: kib
Date: Tue Apr 23 12:23:44 2019
New Revision: 346596
URL: https://svnweb.freebsd.org/changeset/base/346596
Log:
poib: assign link-local address according to RFC
RFC 4391 specifies that the IB interface GID should be re-used as IPv6
link-local address. Since the code in in6_get
On Thu, Apr 25, 2019 at 07:38:21AM +0200, Wojciech Macek wrote:
> Intel does not reorder reads against the condition "if" here. I know for
> sure that ARM does, but therestill might be some other architectures that
> also suffers such behavior - I just don't have any means to verify.
> I remember t
On Thu, Apr 25, 2019 at 06:13:56PM +, Tycho Nightingale wrote:
> Author: tychon
> Date: Thu Apr 25 18:13:55 2019
> New Revision: 346687
> URL: https://svnweb.freebsd.org/changeset/base/346687
>
> Log:
> LinuxKPI buildfix for ppc64 after r346645.
>
> Proposed by:hselasky
> Spon
On Thu, Apr 25, 2019 at 02:56:36PM -0400, Tycho Nightingale wrote:
>
>
> > On Apr 25, 2019, at 2:50 PM, John Baldwin wrote:
> >
> > On 4/25/19 11:43 AM, Konstantin Belousov wrote:
> >> On Thu, Apr 25, 2019 at 06:13:56PM +, Tycho Nightingale wrote:
> &g
On Fri, Apr 26, 2019 at 02:04:56AM -0400, Mark Johnston wrote:
> On Thu, Apr 25, 2019 at 11:22:22AM +0300, Konstantin Belousov wrote:
> > On Thu, Apr 25, 2019 at 07:38:21AM +0200, Wojciech Macek wrote:
> > > Intel does not reorder reads against the condition "if" here
On Fri, Apr 26, 2019 at 08:04:29PM +1000, Bruce Evans wrote:
> On Fri, 26 Apr 2019, Mark Johnston wrote:
>
> > On Fri, Apr 26, 2019 at 10:38:36AM +0300, Konstantin Belousov wrote:
> >> On Fri, Apr 26, 2019 at 02:04:56AM -0400, Mark Johnston wrote:
> >>> On Thu,
Author: kib
Date: Sun Apr 28 18:45:44 2019
New Revision: 346851
URL: https://svnweb.freebsd.org/changeset/base/346851
Log:
Remove witness warning, same as r346351 for busdma_dmar.
bounce_bus_dmamap_create() does not sleep either.
Sponsored by: Mellanox Technologies
MFC after:1 we
Author: kib
Date: Wed May 1 13:15:06 2019
New Revision: 346990
URL: https://svnweb.freebsd.org/changeset/base/346990
Log:
Fix another race between vm_map_protect() and vm_map_wire().
vm_map_wire() increments entry->wire_count, after that it drops the
map lock both for faulting in the ent
Author: kib
Date: Thu May 2 15:03:16 2019
New Revision: 347019
URL: https://svnweb.freebsd.org/changeset/base/347019
Log:
Cleanup for rtld_malloc.c.
- Remove dead and most likely rotten MALLOC_DEBUG, MSTAT, and RCHECK options.
- Remove unused headers.
- Remove one case of undefined beh
Author: kib
Date: Sat May 4 19:40:30 2019
New Revision: 347133
URL: https://svnweb.freebsd.org/changeset/base/347133
Log:
arm64: Properly restore PAN when done with userspace access in casueword.
Approved by: andrew
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
Author: kib
Date: Sun May 5 11:04:01 2019
New Revision: 347148
URL: https://svnweb.freebsd.org/changeset/base/347148
Log:
imgact_elf: do not relock the text vnode if possible.
We unlock the vnode around malloc(M_WAITOK), to make it possible for
pagedaemon to flush vnode pages for us. In
Author: kib
Date: Sun May 5 11:06:19 2019
New Revision: 347150
URL: https://svnweb.freebsd.org/changeset/base/347150
Log:
Do not collapse objects with OBJ_NOSPLIT backing swap object.
NOSPLIT swap objects are not anonymous, they are used by tmpfs regular
files and POSIX shared memory. F
Author: kib
Date: Sun May 5 11:20:43 2019
New Revision: 347151
URL: https://svnweb.freebsd.org/changeset/base/347151
Log:
Switch to use shared vnode locks for text files during image activation.
kern_execve() locks text vnode exclusive to be able to set and clear
VV_TEXT flag. VV_TEXT is
Author: kib
Date: Mon May 6 08:46:11 2019
New Revision: 347180
URL: https://svnweb.freebsd.org/changeset/base/347180
Log:
Noted by: alc
Reviewed by: alc, markj (previous version)
Sponsored by: The FreeBSD Foundation
MFC after:6 days
Modified:
head/sys/vm/vm_object.c
Modified:
Author: kib
Date: Mon May 6 08:49:43 2019
New Revision: 347181
URL: https://svnweb.freebsd.org/changeset/base/347181
Log:
Do not flush NFS node from NFS VOP_SET_TEXT().
The more appropriate place to do the flushing is VOP_OPEN(). This was
uncovered because VOP_SET_TEXT() is now called w
On Mon, May 06, 2019 at 06:56:41PM +1000, Peter Jeremy wrote:
> On 2019-May-05 11:20:44 +0000, Konstantin Belousov wrote:
> >Log:
> > Switch to use shared vnode locks for text files during image activation.
>
> This seems to have broken diskless booting on my Rock64 (aarch
On Mon, May 06, 2019 at 08:46:12AM +, Konstantin Belousov wrote:
> Author: kib
> Date: Mon May 6 08:46:11 2019
> New Revision: 347180
> URL: https://svnweb.freebsd.org/changeset/base/347180
>
The commit message should include some text like this:
Include OBJT_DEFAULT objects
Author: kib
Date: Tue May 7 01:18:57 2019
New Revision: 347216
URL: https://svnweb.freebsd.org/changeset/base/347216
Log:
amd64: fix BUS_SPACE_MAXSIZE to 64bit max value.
Reviewed by: jhb, tychon (previous version)
Sponsored by: The FreeBSD Foundation
MFC after:2 weeks
Different
On Tue, May 07, 2019 at 05:47:20PM +, Conrad Meyer wrote:
> Author: cem
> Date: Tue May 7 17:47:20 2019
> New Revision: 347229
> URL: https://svnweb.freebsd.org/changeset/base/347229
>
> Log:
> device_printf: Use sbuf for more coherent prints on SMP
>
> device_printf does multiple call
Author: kib
Date: Wed May 8 20:01:09 2019
New Revision: 347368
URL: https://svnweb.freebsd.org/changeset/base/347368
Log:
x86: Put other CPUs into tight loop when updating Intel microcode from
loaded OS.
This should prevent at least some theoretical issues whith code
execution on HT si
Tue May 14 17:02:20 2019
(r347566)
@@ -1,8 +1,13 @@
/*-
+ * Copyright (c) 2018-2019 The FreeBSD Foundation
* Copyright (c) 2003 Peter Wemm.
* Copyright (c) 1993 The Regents of the University of California.
* All rights reserved.
*
+ * Portions of this software were developed by
+ * K
On Wed, May 15, 2019 at 08:54:04AM +0300, Dmitry Chagin wrote:
> вт, 14 мая 2019 г. в 20:02, Konstantin Belousov :
>
> > Author: kib
> > Date: Tue May 14 17:02:20 2019
> > New Revision: 347566
> > URL: https://svnweb.freebsd.org/changeset/base/347566
>
Author: kib
Date: Wed May 15 17:55:41 2019
New Revision: 347625
URL: https://svnweb.freebsd.org/changeset/base/347625
Log:
Properly announce MD_CLEAR.
Submitted by: Petr Lampa
MFC after:3 days
Modified:
head/sys/x86/x86/identcpu.c
Modified: head/sys/x86/x86/identcpu.c
===
On Wed, May 15, 2019 at 08:31:23PM +0300, Dmitry Chagin wrote:
> ср, 15 мая 2019 г. в 11:10, Konstantin Belousov :
>
> > On Wed, May 15, 2019 at 08:54:04AM +0300, Dmitry Chagin wrote:
> > > вт, 14 мая 2019 г. в 20:02, Konstantin Belousov :
> > >
> > > >
Author: kib
Date: Thu May 16 13:00:35 2019
New Revision: 347689
URL: https://svnweb.freebsd.org/changeset/base/347689
Log:
arm64: bzero buffer for ucontext in freebsd32_swapcontext().
This change is the same as r340994 for amd64.
PR: 237922
Submitted by: Young
MFC after:3 da
Author: kib
Date: Thu May 16 13:03:54 2019
New Revision: 347690
URL: https://svnweb.freebsd.org/changeset/base/347690
Log:
imgact_elf.c: Add comment explaining the malloc/VOP_UNLOCK() dance
from r347148.
Requested by: alc
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modi
Author: kib
Date: Thu May 16 13:07:26 2019
New Revision: 347692
URL: https://svnweb.freebsd.org/changeset/base/347692
Log:
Remove more dead definitions from rtld_malloc.c after r347019.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/libexec/rtld-elf/rtld_mallo
Author: kib
Date: Thu May 16 13:13:33 2019
New Revision: 347693
URL: https://svnweb.freebsd.org/changeset/base/347693
Log:
rtld_malloc.c: cleanup morepages().
Use roundup2() and rounddown2() instead of inlining them.
Get rid of the fd local variable, use literal -1 for the mmap argument.
Author: kib
Date: Thu May 16 13:17:57 2019
New Revision: 347694
URL: https://svnweb.freebsd.org/changeset/base/347694
Log:
subr_turnstile: Extract some common code to a helper.
Code walks the list of contested turnstiles to calculate the priority
to unlend.
Reviewed by: markj
Tes
Author: kib
Date: Thu May 16 13:28:48 2019
New Revision: 347695
URL: https://svnweb.freebsd.org/changeset/base/347695
Log:
amd64 pmap: rework delayed invalidation, removing global mutex.
For machines having cmpxcgh16b instruction, i.e. everything but very
early Athlons, provide lockless i
Author: kib
Date: Thu May 16 13:40:54 2019
New Revision: 347696
URL: https://svnweb.freebsd.org/changeset/base/347696
Log:
amd64 pmap: Rename DI functions.
pmap_delayed_invl_started -> pmap_delayed_invl_start
pmap_delayed_invl_finished -> pmap_delayed_invl_finish
Requested by: markj
Author: kib
Date: Thu May 16 14:29:09 2019
New Revision: 347697
URL: https://svnweb.freebsd.org/changeset/base/347697
Log:
amd64 pmap: Add tunable vm.pmap.di_locked to set DI mode.
This is done mostly for debugging in field. Also added the sysctl of
the same name to report used mode.
Author: kib
Date: Thu May 16 14:33:32 2019
New Revision: 347698
URL: https://svnweb.freebsd.org/changeset/base/347698
Log:
amd64 pmap: sysctl vm.pmap.pcid_save_cnt should be read-only.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/amd64/amd64/pmap.c
Modi
Author: kib
Date: Thu May 16 22:20:54 2019
New Revision: 347895
URL: https://svnweb.freebsd.org/changeset/base/347895
Log:
Remove resolver_qual from DEFINE_IFUNC/DEFINE_UIFUNC macros.
In all practical situations, the resolver visibility is static.
Requested by: markj
Sponsored by: Th
Author: kib
Date: Fri May 17 17:11:01 2019
New Revision: 347931
URL: https://svnweb.freebsd.org/changeset/base/347931
Log:
Free microcode memory later.
With lockless DI, pmap_remove() requires operational thread lock,
which is initialized at SI_SUB_RUN_QUEUE for thread0. Move it even
l
Author: kib
Date: Fri May 17 21:18:11 2019
New Revision: 347946
URL: https://svnweb.freebsd.org/changeset/base/347946
Log:
Grammar fixes for r347690.
Submitted by: alc
MFC after:3 days
Modified:
head/sys/kern/imgact_elf.c
Modified: head/sys/kern/imgact_elf.c
==
On Sat, May 18, 2019 at 11:35:29AM +0300, Dmitry Chagin wrote:
> чт, 16 мая 2019 г. в 16:29, Konstantin Belousov :
>
> > Author: kib
> > Date: Thu May 16 13:28:48 2019
> > New Revision: 347695
> > URL: https://svnweb.freebsd.org/changeset/base/347695
> >
>
Author: kib
Date: Sat May 18 16:19:31 2019
New Revision: 347957
URL: https://svnweb.freebsd.org/changeset/base/347957
Log:
Make lock-less delayed invalidation operational very early.
Apparently, there is more code trying to call pmap_remove() early,
mostly to free preloaded memory. Inste
Author: kib
Date: Sun May 19 09:18:09 2019
New Revision: 347968
URL: https://svnweb.freebsd.org/changeset/base/347968
Log:
Fix rw->ro remount when there is a text vnode mapping.
Reported and tested by: hrs
Sponsored by: The FreeBSD Foundation
MFC after:16 days
Modified:
hea
understand your description. If you mean does this commit has
any relevance to the issue of remounting ro->rw, it should not. It only
affects rw->ro remounts, when you have a binary executed from the mount
point.
>
> Thanks,
> Hiro
>
> On Sun, 19 May 2019 09:18:10 +
Author: kib
Date: Tue May 21 15:12:13 2019
New Revision: 348052
URL: https://svnweb.freebsd.org/changeset/base/348052
Log:
NDFREE(): Fix unlocking for LOCKPARENT|LOCKLEAF and ndp->ni_dvp == ndp->ni_vp.
NDFREE() calculates unlock_dvp after ndp->ni_vp is unlocked and zeroed
out. This makes
Author: kib
Date: Tue May 21 22:56:21 2019
New Revision: 348075
URL: https://svnweb.freebsd.org/changeset/base/348075
Log:
Do not call hw_mds_recalculate() from initializecpu().
If MDS mitigation is enabled by the tunable but MDS microcode is not
early-loaded, software mitigation is selec
On Tue, May 21, 2019 at 09:35:37PM +, Conrad Meyer wrote:
> Author: cem
> Date: Tue May 21 21:35:37 2019
> New Revision: 348070
> URL: https://svnweb.freebsd.org/changeset/base/348070
>
> Log:
> sys/lockmgr.h: Update #error to point at correct _lock.h
>
> After r347984, these macros liv
Author: kib
Date: Thu May 23 12:25:03 2019
New Revision: 348156
URL: https://svnweb.freebsd.org/changeset/base/348156
Log:
Make pack_kinfo() available for external callers.
Reviewed by: jilles, tmunro
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Differential revision:
Author: kib
Date: Thu May 23 12:27:45 2019
New Revision: 348157
URL: https://svnweb.freebsd.org/changeset/base/348157
Log:
Report ref count of the backing object as st_nlink for posix shm fd.
Unless there are transient references to the object, the ref count is
equal to the number of the
Author: kib
Date: Thu May 23 12:35:40 2019
New Revision: 348158
URL: https://svnweb.freebsd.org/changeset/base/348158
Log:
Add a kern.ipc.posix_shm_list sysctl.
The sysctl provides the listing on named linked posix shared memory
segments existing in the system.
Reuse shm_fill_kinfo()
+1,480 @@
+/*-
+ * Copyright (c) 2019 The FreeBSD Foundation
+ *
+ * This software was developed by Konstantin Belousov
+ * under sponsorship from the FreeBSD Foundation.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the
On Thu, May 23, 2019 at 07:40:26AM -0700, Rodney W. Grimes wrote:
> > Author: kib
> > Date: Thu May 23 14:33:01 2019
> > New Revision: 348167
> > URL: https://svnweb.freebsd.org/changeset/base/348167
> >
> > Log:
> > Add posixshmcontrol(1), an utility to manipulate posix shared memory
> > segme
Author: kib
Date: Thu May 23 15:00:15 2019
New Revision: 348168
URL: https://svnweb.freebsd.org/changeset/base/348168
Log:
Use int for the getopt() result.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/usr.bin/posixshmcontrol/posixshmcontrol.c
Modified: head
Author: kib
Date: Fri May 24 17:19:06 2019
New Revision: 348246
URL: https://svnweb.freebsd.org/changeset/base/348246
Log:
Fix a corner case in demotion of kernel mappings.
It is possible for the kernel mapping to be created with superpage by
directly installing pde using pmap_enter_2mpag
Author: kib
Date: Fri May 24 23:26:17 2019
New Revision: 348257
URL: https://svnweb.freebsd.org/changeset/base/348257
Log:
Add PG_PS_PDP_FRAME symbol.
Similar to PG_FRAME and PG_PS_FRAME, it denotes the mask of the
physical address component of 1G superpage PDP entry.
Reviewed by: a
Author: kib
Date: Fri May 24 23:28:11 2019
New Revision: 348258
URL: https://svnweb.freebsd.org/changeset/base/348258
Log:
Fix too loose assert in pmap_large_unmap().
The upper bound for the valid address from the large map used
LARGEMAP_MAX_ADDRESS instead of LARGEMAP_MIN_ADDRESS. Provi
On Fri, May 24, 2019 at 11:28:11PM +, Konstantin Belousov wrote:
> Author: kib
> Date: Fri May 24 23:28:11 2019
> New Revision: 348258
> URL: https://svnweb.freebsd.org/changeset/base/348258
>
> Log:
> Fix too loose assert in pmap_large_unmap().
>
> Th
Author: kib
Date: Tue Mar 14 08:45:52 2017
New Revision: 315237
URL: https://svnweb.freebsd.org/changeset/base/315237
Log:
Hide kev_iovlen() definition under #ifdef KTRACE, fixing build of
kernel configs without KTRACE.
Reported by: rpokala
Sponsored by: The FreeBSD Foundation
MFC af
Author: kib
Date: Tue Mar 14 09:25:01 2017
New Revision: 315238
URL: https://svnweb.freebsd.org/changeset/base/315238
Log:
Use designated initializers for kevent_copyops.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/compat/freebsd32/freebsd32_misc.c
he
Author: kib
Date: Tue Mar 14 19:39:17 2017
New Revision: 315281
URL: https://svnweb.freebsd.org/changeset/base/315281
Log:
Use atop() instead of OFF_TO_IDX() for convertion of addresses or
addresses offsets, as intended.
Suggested and reviewed by:alc
Sponsored by: The FreeBSD Founda
Author: kib
Date: Wed Mar 15 21:11:57 2017
New Revision: 315331
URL: https://svnweb.freebsd.org/changeset/base/315331
Log:
Implement LD_BIND_NOT knob for rtld.
From the manpage:
When set to a nonempty string, prevents modifications of the PLT slots
when doing bindings. As result, each
On Wed, Mar 15, 2017 at 05:19:54PM -0400, Shawn Webb wrote:
> On Wed, Mar 15, 2017 at 09:11:58PM +0000, Konstantin Belousov wrote:
> > Author: kib
> > Date: Wed Mar 15 21:11:57 2017
> > New Revision: 315331
> > URL: https://svnweb.freebsd.org/changeset/base/315331
&g
Author: kib
Date: Wed Mar 15 23:47:19 2017
New Revision: 315337
URL: https://svnweb.freebsd.org/changeset/base/315337
Log:
Disable LD_BIND_NOT for setugid processes.
Requested by: jilles
Sponsored by: The FreeBSD Foundation
MFC after:2 weeks
Modified:
head/libexec/rtld-elf/rtld.c
On Wed, Mar 15, 2017 at 12:21:00PM -0700, John Baldwin wrote:
> On Wednesday, March 15, 2017 06:23:32 PM John Baldwin wrote:
> > Author: jhb
> > Date: Wed Mar 15 18:23:32 2017
> > New Revision: 315323
> > URL: https://svnweb.freebsd.org/changeset/base/315323
> >
> > Log:
> > Use UMA_ALIGN_PTR in
Author: kib
Date: Fri Mar 17 13:37:37 2017
New Revision: 315453
URL: https://svnweb.freebsd.org/changeset/base/315453
Log:
When clearing altsigstack settings on exec, do it to the right thread.
Diagnosed by: smh
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head
Author: kib
Date: Sun Mar 19 14:42:16 2017
New Revision: 315552
URL: https://svnweb.freebsd.org/changeset/base/315552
Log:
Fix off-by-one in the vm_fault_populate() code.
When re-calculating the last inclusive page index after the pager
call, -1 was erronously ommitted. If the pager exte
Author: kib
Date: Sun Mar 19 21:24:07 2017
New Revision: 315586
URL: https://svnweb.freebsd.org/changeset/base/315586
Log:
Style.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/dev/cpuctl/cpuctl.c
Modified: head/sys/dev/cpuctl/cpuctl.c
===
Author: kib
Date: Sun Mar 19 21:25:27 2017
New Revision: 315588
URL: https://svnweb.freebsd.org/changeset/base/315588
Log:
Update the list of cpudev ioctls which require write access.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/dev/cpuctl/cpuctl.c
Modi
On Wed, Mar 22, 2017 at 07:05:27AM +, Ed Schouten wrote:
> Author: ed
> Date: Wed Mar 22 07:05:27 2017
> New Revision: 315701
> URL: https://svnweb.freebsd.org/changeset/base/315701
>
> Log:
> Set the interpreter path to /nonexistent.
>
> CloudABI executables are statically linked and d
On Wed, Mar 22, 2017 at 11:02:58AM +0200, Konstantin Belousov wrote:
> On Wed, Mar 22, 2017 at 07:05:27AM +, Ed Schouten wrote:
> > Author: ed
> > Date: Wed Mar 22 07:05:27 2017
> > New Revision: 315701
> > URL: https://svnweb.freebsd.org/changeset/base/315701
Author: kib
Date: Wed Mar 22 22:06:48 2017
New Revision: 315749
URL: https://svnweb.freebsd.org/changeset/base/315749
Log:
Adjust r314851 to not require every brand to specify interpreter path.
Reported and tested by: ed
Sponsored by: The FreeBSD Foundation
MFC after:1 week
M
Author: kib
Date: Wed Mar 22 22:23:01 2017
New Revision: 315753
URL: https://svnweb.freebsd.org/changeset/base/315753
Log:
Add a flag BI_BRAND_ONLY_STATIC to specify that the brand only
matches static binaries.
Interpretation of the 'static' there is that the binary must not
specify an
Author: kib
Date: Wed Mar 22 22:28:13 2017
New Revision: 315754
URL: https://svnweb.freebsd.org/changeset/base/315754
Log:
Update r315753 with the proper flag name.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/amd64/cloudabi32/cloudabi32_sysvec.c
head/
On Wed, Mar 22, 2017 at 03:16:24PM +0100, Ed Schouten wrote:
> Similarly, I seem to remember CloudABI's brandinfos set compat_3_brand
> for a similar reason: it seems to be required by imgact_elf.c. Would
> we also want to change that?
Could you please try this ?
diff --git a/sys/amd64/cloudabi32
On Thu, Mar 23, 2017 at 08:43:20AM +0100, Ed Schouten wrote:
> Hi Kostik,
>
> 2017-03-23 0:00 GMT+01:00 Konstantin Belousov :
> > On Wed, Mar 22, 2017 at 03:16:24PM +0100, Ed Schouten wrote:
> >> Similarly, I seem to remember CloudABI's brandinfos set compat_3_brand
On Thu, Mar 23, 2017 at 08:43:20AM +0100, Ed Schouten wrote:
> Thanks! I just gave the patch a try, but the comparison added to
> imgact_elf.c now causes the brandinfo to be skipped entirely. Attached
> is a patch that does work for me.
>
> Index: sys/kern/imgact_elf.c
> ==
Author: kib
Date: Sat Mar 25 10:42:10 2017
New Revision: 315932
URL: https://svnweb.freebsd.org/changeset/base/315932
Log:
Slight cleanup of the comment.
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/x86/iommu/intel_dmar.h
Modified: head/sys/x86/iommu/in
Author: kib
Date: Sat Mar 25 10:45:16 2017
New Revision: 315933
URL: https://svnweb.freebsd.org/changeset/base/315933
Log:
Do not create RMRR entries for identity-mapped domains.
It does not make sense since identity mapping already provides the
required mapping for RMRR ranges. More, si
Author: kib
Date: Sat Mar 25 10:47:35 2017
New Revision: 315934
URL: https://svnweb.freebsd.org/changeset/base/315934
Log:
Avoid leaking allocated but unused context after creation race.
As noted in the comment, nothing special needs to be done to destroy
the unneeded context after the al
1901 - 2000 of 5077 matches
Mail list logo