On Sun, Nov 03, 2019 at 09:17:51PM +, Vladimir Kondratyev wrote:
> Author: wulf
> Date: Sun Nov 3 21:17:50 2019
> New Revision: 354322
> URL: https://svnweb.freebsd.org/changeset/base/354322
>
> Log:
> [ig4] Convert ithread interrupt handler to filter based one.
And why ?
You need some rea
On Mon, Nov 04, 2019 at 01:46:14AM +0300, Vladimir Kondratyev wrote:
> On 04.11.2019 01:02, Konstantin Belousov wrote:
> > On Sun, Nov 03, 2019 at 09:17:51PM +, Vladimir Kondratyev wrote:
> >> Author: wulf
> >> Date: Sun Nov 3 21:17:50 2019
> >>
Author: kib
Date: Tue Nov 5 21:38:48 2019
New Revision: 354367
URL: https://svnweb.freebsd.org/changeset/base/354367
Log:
Switch cache zones from early counters to real implementation.
Early counter mock can be only used on BSP for amd64, when APs try to
update it that causes random memo
Author: kib
Date: Sun Nov 10 09:25:19 2019
New Revision: 354588
URL: https://svnweb.freebsd.org/changeset/base/354588
Log:
Include cache zones into zone_foreach() where appropriate.
The r354367 is reverted since it is subsumed by this, more complete, approach.
Suggested by: markj
Rev
Author: kib
Date: Sun Nov 10 09:28:18 2019
New Revision: 354589
URL: https://svnweb.freebsd.org/changeset/base/354589
Log:
amd64: move common_tss into pcpu.
This saves some memory, around 256K I think. It removes some code,
e.g. KPTI does not need to specially map common_tss anymore. Al
Author: kib
Date: Sun Nov 10 09:41:29 2019
New Revision: 354591
URL: https://svnweb.freebsd.org/changeset/base/354591
Log:
amd64: Change SFENCE to locked op for synchronizing with CLFLUSHOPT on Intel.
Reviewed by: cem, jhb
Discussed with: alc, scottph
Sponsored by: The FreeBSD Fo
Author: kib
Date: Sun Nov 10 10:03:22 2019
New Revision: 354592
URL: https://svnweb.freebsd.org/changeset/base/354592
Log:
amd64: change r_gdt to the local variable in hammer_time().
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Modified:
head/sys/amd64/amd64/machdep.c
he
Author: kib
Date: Mon Nov 11 21:59:20 2019
New Revision: 354630
URL: https://svnweb.freebsd.org/changeset/base/354630
Log:
amd64: Issue MFENCE on context switch on AMD CPUs when reusing address space.
On some AMD CPUs, in particular, machines that do not implement
CLFLUSHOPT but do provid
Author: kib
Date: Tue Nov 12 15:47:46 2019
New Revision: 354644
URL: https://svnweb.freebsd.org/changeset/base/354644
Log:
amd64: assert that size of the software prototype table for gdt is equal
to the size of hardware gdt.
Reviewed by: jhb, markj
Tested by:pho
Sponsored by: The
Author: kib
Date: Tue Nov 12 15:51:47 2019
New Revision: 354646
URL: https://svnweb.freebsd.org/changeset/base/354646
Log:
amd64: move GDT into PCPU area.
Reviewed by: jhb, markj
Tested by:pho
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Differential revision:
Author: kib
Date: Tue Nov 12 15:56:27 2019
New Revision: 354647
URL: https://svnweb.freebsd.org/changeset/base/354647
Log:
i386: stop guessing the address of the trap frame in ddb backtrace.
Save the address of the trap frame in %ebp on kernel entry. This
automatically provides it in str
Author: kib
Date: Tue Nov 12 18:01:33 2019
New Revision: 354649
URL: https://svnweb.freebsd.org/changeset/base/354649
Log:
Workaround for Intel SKL002/SKL012S errata.
Disable the use of executable 2M page mappings in EPT-format page
tables on affected CPUs. For bhyve virtual machines, th
Author: kib
Date: Wed Nov 13 22:39:46 2019
New Revision: 354696
URL: https://svnweb.freebsd.org/changeset/base/354696
Log:
amd64: only set PCB_FULL_IRET pcb flag when #gp or similar exception comes
from usermode.
If CPU supports RDFSBASE, the flag also means that userspace fsbase
and gs
Author: kib
Date: Wed Nov 13 22:43:11 2019
New Revision: 354697
URL: https://svnweb.freebsd.org/changeset/base/354697
Log:
cpucontrol: print more useful information when MSR access fails.
Instead of providing ioctl cmd value, which has no meaning to user,
print MSR number. The later is w
On Wed, Nov 13, 2019 at 09:51:55PM +, Brooks Davis wrote:
> Author: brooks
> Date: Wed Nov 13 21:51:55 2019
> New Revision: 354694
> URL: https://svnweb.freebsd.org/changeset/base/354694
>
> Log:
> elf_aux_info: Add support for AT_EXECPATH.
>
> Reviewed by:emaste, sef
> MFC af
On Wed, Nov 13, 2019 at 10:55:35PM +, Brooks Davis wrote:
> On Thu, Nov 14, 2019 at 12:46:40AM +0200, Konstantin Belousov wrote:
> > On Wed, Nov 13, 2019 at 09:51:55PM +, Brooks Davis wrote:
> > > Author: brooks
> > > Date: Wed Nov 13 21:51:55 2019
> >
On Wed, Nov 13, 2019 at 03:00:04PM -0500, Ed Maste wrote:
> On Wed, 13 Nov 2019 at 18:17, Konstantin Belousov wrote:
> >
> > On Wed, Nov 13, 2019 at 10:55:35PM +, Brooks Davis wrote:
> > > On Thu, Nov 14, 2019 at 12:46:40AM +0200, Konstantin Belousov wrote:
> >
On Thu, Nov 14, 2019 at 04:39:49AM +, Alexander Motin wrote:
> Author: mav
> Date: Thu Nov 14 04:39:48 2019
> New Revision: 354703
> URL: https://svnweb.freebsd.org/changeset/base/354703
>
> Log:
> Pass more reasonable WAIT flags to bus_dma(9) calls.
>
> MFC after: 2 weeks
>
> Modifie
On Thu, Nov 14, 2019 at 09:41:36AM -0500, Alexander Motin wrote:
> On 14.11.2019 05:11, Konstantin Belousov wrote:
> > On Thu, Nov 14, 2019 at 04:39:49AM +, Alexander Motin wrote:
> >> Author: mav
> >> Date: Thu Nov 14 04:39:48 2019
> >>
On Fri, Nov 15, 2019 at 06:42:13PM +, John Baldwin wrote:
> Author: jhb
> Date: Fri Nov 15 18:42:13 2019
> New Revision: 354741
> URL: https://svnweb.freebsd.org/changeset/base/354741
>
> Log:
> Add a sv_copyout_auxargs() hook in sysentvec.
>
> Change the FreeBSD ELF ABIs to use this ne
On Fri, Nov 15, 2019 at 11:09:12AM -0700, Scott Long wrote:
>
>
> > On Nov 15, 2019, at 2:18 AM, Konstantin Belousov
> > wrote:
> >
> > On Thu, Nov 14, 2019 at 09:41:36AM -0500, Alexander Motin wrote:
> >> On 14.11.2019 05:11, Konstantin Belousov wro
On Fri, Nov 15, 2019 at 01:47:24PM -0800, John Baldwin wrote:
> On 11/15/19 12:01 PM, Konstantin Belousov wrote:
> > On Fri, Nov 15, 2019 at 06:42:13PM +, John Baldwin wrote:
> >> Author: jhb
> >> Date: Fri Nov 15 18:42:13 2019
> >> New Revision: 354741
Author: kib
Date: Sun Nov 17 14:11:08 2019
New Revision: 354787
URL: https://svnweb.freebsd.org/changeset/base/354787
Log:
Document required size of buffer for elf_aux_info(3).
PR: 241884
Reported by: jbeich
Reviewed by: brooks
Sponsored by: The FreeBSD Foundation
MFC after:
Author: kib
Date: Sun Nov 17 14:41:47 2019
New Revision: 354788
URL: https://svnweb.freebsd.org/changeset/base/354788
Log:
amd64 copyout: remove irrelevant comment.
Sponsored by: The FreeBSD Foundation
MFC after:3 days
Modified:
head/sys/amd64/amd64/support.S
Modified: head/sys/am
Author: kib
Date: Sun Nov 17 14:52:45 2019
New Revision: 354789
URL: https://svnweb.freebsd.org/changeset/base/354789
Log:
kern_exec: p_osrel and p_fctl0 were obliterated by failed execve(2) attempt.
Zeroing of them is needed so that an image activator can update the
values as appropriate
Author: kib
Date: Sun Nov 17 14:54:07 2019
New Revision: 354790
URL: https://svnweb.freebsd.org/changeset/base/354790
Log:
Add elf image flag to disable stack gap.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Differential revision:https://revie
Author: kib
Date: Sun Nov 17 14:54:43 2019
New Revision: 354791
URL: https://svnweb.freebsd.org/changeset/base/354791
Log:
Update controlelf(1) to ahndle stack gap disable flag.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Differential revision:
On Mon, Nov 18, 2019 at 01:31:16PM +, David Bright wrote:
> Author: dab
> Date: Mon Nov 18 13:31:16 2019
> New Revision: 354808
> URL: https://svnweb.freebsd.org/changeset/base/354808
>
> Log:
> Jail and capability mode for shm_rename; add audit support for shm_rename
>
> Co-mingling tw
Author: kib
Date: Mon Nov 18 20:53:57 2019
New Revision: 354828
URL: https://svnweb.freebsd.org/changeset/base/354828
Log:
Add x86 msr tweak KPI.
Use the KPI to tweak MSRs in mitigation code.
Reviewed by: markj, scottl
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Di
Author: kib
Date: Mon Nov 18 20:56:59 2019
New Revision: 354830
URL: https://svnweb.freebsd.org/changeset/base/354830
Log:
bus_dma_dmar_set_buswide(9): KPI to indicate that the whole dmar
context should share page tables.
Practically it means that dma requests from any device on the bus a
Author: kib
Date: Wed Nov 20 11:12:19 2019
New Revision: 354889
URL: https://svnweb.freebsd.org/changeset/base/354889
Log:
amd64: in double fault handler, do not rely on sane gsbase value.
Typical reasons for doublefault faults are either kernel stack
overflow or bugs in the code that man
On Thu, Nov 21, 2019 at 09:52:54PM +, Keller, Jacob E wrote:
> We use a bit string as a method of determining which index numbers have
> been assigned.
For unit numbers we have unr(9) as well.
___
svn-src-head@freebsd.org mailing list
https://lists.fr
On Fri, Nov 22, 2019 at 12:25:00AM +, Keller, Jacob E wrote:
> On Fri, 2019-11-22 at 02:22 +0200, Konstantin Belousov wrote:
> > On Thu, Nov 21, 2019 at 09:52:54PM +, Keller, Jacob E wrote:
> > > We use a bit string as a method of determining which index numbers
>
On Sun, Nov 24, 2019 at 04:35:29AM +, Justin Hibbits wrote:
> Author: jhibbits
> Date: Sun Nov 24 04:35:29 2019
> New Revision: 355045
> URL: https://svnweb.freebsd.org/changeset/base/355045
>
> Log:
> rtld/powerpc: Fix _rtld_bind_start for powerpcspe
>
> Summary:
> We need to save of
On Sat, Nov 23, 2019 at 11:43:52PM +, Warner Losh wrote:
> Author: imp
> Date: Sat Nov 23 23:43:52 2019
> New Revision: 355037
> URL: https://svnweb.freebsd.org/changeset/base/355037
>
> Log:
> Push Giant down one layer
>
> The /dev/pci device doesn't need GIANT, per se. However, one ro
On Sun, Nov 24, 2019 at 07:37:01AM -0700, Warner Losh wrote:
> On Sun, Nov 24, 2019, 6:10 AM Konstantin Belousov
> wrote:
>
> > On Sat, Nov 23, 2019 at 11:43:52PM +, Warner Losh wrote:
> > > Author: imp
> > > Date: Sat Nov 23 23:43:52 2019
> >
On Sun, Nov 24, 2019 at 10:32:23AM -0600, Brandon Bergren wrote:
> On Sun, Nov 24, 2019, at 7:04 AM, Konstantin Belousov wrote:
> > On Sun, Nov 24, 2019 at 04:35:29AM +, Justin Hibbits wrote:
> > > Author: jhibbits
> > > Date: Sun Nov 24 04:35:29 2019
> >
Author: kib
Date: Sun Nov 24 19:02:13 2019
New Revision: 355060
URL: https://svnweb.freebsd.org/changeset/base/355060
Log:
amd64: assert that EARLY_COUNTER does not corrupt memory.
Reviewed by: imp
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Differential revision:
Author: kib
Date: Sun Nov 24 19:06:38 2019
New Revision: 355061
URL: https://svnweb.freebsd.org/changeset/base/355061
Log:
tmpfs: resolve deadlock between rename and unmount.
Top-level kern_renameat() increases the writecount on the mount point,
which, together with tmpfs unmount suspendi
Author: kib
Date: Sun Nov 24 19:12:23 2019
New Revision: 355062
URL: https://svnweb.freebsd.org/changeset/base/355062
Log:
Record part of the owner struct thread pointer into busy_lock.
Record as much bits from curthread into busy_lock as fits. Low bits
for struct thread * representation
Author: kib
Date: Sun Nov 24 19:18:12 2019
New Revision: 355064
URL: https://svnweb.freebsd.org/changeset/base/355064
Log:
Ignore object->handle for OBJ_ANON objects.
Note that the change in vm_object_collapse() is arguably a correctness
fix. We must not collapse into content-identity ca
Author: kib
Date: Mon Nov 25 14:16:41 2019
New Revision: 355088
URL: https://svnweb.freebsd.org/changeset/base/355088
Log:
Limit bus_dma_dmar_set_buswide() definition to kernel only.
The header is abused for inclusion into userspace, and on stable
branches neither device_t nor bool types
Author: kib
Date: Wed Nov 27 19:57:17 2019
New Revision: 355138
URL: https://svnweb.freebsd.org/changeset/base/355138
Log:
bus_dma_dmar_load_ident(9): load identity mapping into the map.
Requested, reviewed and tested by:mav
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Author: kib
Date: Wed Nov 27 20:33:53 2019
New Revision: 355146
URL: https://svnweb.freebsd.org/changeset/base/355146
Log:
Requested and tested by: kevans
Reviewed by: kevans (previous version), markj
Sponsored by: The FreeBSD Foundation
MFC after:1 week
Differential revision:
On Wed, Nov 27, 2019 at 08:33:53PM +, Konstantin Belousov wrote:
> Author: kib
> Date: Wed Nov 27 20:33:53 2019
> New Revision: 355146
> URL: https://svnweb.freebsd.org/changeset/base/355146
Ease the life of PTRACE_SYSCALL users when debuggee sleeps in
sigsuspend(2) and sig{timed,}
On Thu, Nov 28, 2019 at 09:17:15AM +, Andrew Turner wrote:
>
>
> > On 28 Nov 2019, at 08:48, Michal Meloun wrote:
> >
> >
> >
> > On 27.11.2019 21:33, Alan Cox wrote:
> >> Author: alc
> >> Date: Wed Nov 27 20:33:49 2019
> >> New Revision: 355145
> >> URL: https://svnweb.freebsd.org/change
Author: kib
Date: Fri Nov 29 13:55:56 2019
New Revision: 355210
URL: https://svnweb.freebsd.org/changeset/base/355210
Log:
In nfs_lock(), recheck vp->v_data after lock before accessing it.
We might race with reclaim, and then this is no longer a nfs vnode, in
which case we do not need to
Author: kib
Date: Fri Nov 29 14:02:32 2019
New Revision: 355211
URL: https://svnweb.freebsd.org/changeset/base/355211
Log:
Add a VN_OPEN_INVFS flag.
vn_open_cred() assumes that it is called from the top-level of a VFS
syscall. Writers must call bwillwrite() before locking any VFS
resou
On Sat, Nov 30, 2019 at 04:41:48PM +, Mateusz Guzik wrote:
> Author: mjg
> Date: Sat Nov 30 16:41:47 2019
> New Revision: 355227
> URL: https://svnweb.freebsd.org/changeset/base/355227
>
> Log:
> tmpfs: add fast path to tmpfs_access for common case lookup
>
> VEXEC consists of vast majo
On Sun, Dec 01, 2019 at 12:15:06AM +0100, Mateusz Guzik wrote:
> On 12/1/19, Konstantin Belousov wrote:
> > On Sat, Nov 30, 2019 at 04:41:48PM +, Mateusz Guzik wrote:
> >> Author: mjg
> >> Date: Sat Nov 30 16:41:47 2019
> >> New Revision: 355227
> >&
Author: kib
Date: Sun Dec 1 20:43:04 2019
New Revision: 355270
URL: https://svnweb.freebsd.org/changeset/base/355270
Log:
Store the bottom of the shadow chain in OBJ_ANON object->handle member.
The handle value is stable for all shadow objects in the inheritance
chain. This allows to av
Author: kib
Date: Mon Dec 2 14:21:40 2019
New Revision: 355287
URL: https://svnweb.freebsd.org/changeset/base/355287
Log:
mlx5: Downgrade assert about misbehaving hardware to error message.
Sponsored by: Mellanox Technologies
MFC after:1 week
Modified:
head/sys/dev/mlx5/mlx5_core/
Author: kib
Date: Mon Dec 2 14:22:55 2019
New Revision: 355288
URL: https://svnweb.freebsd.org/changeset/base/355288
Log:
mlx5: Do not try to enable fwdumps if scan space did not responded.
Sponsored by: Mellanox Technologies
MFC after:1 week
Modified:
head/sys/dev/mlx5/mlx5_core/
Author: kib
Date: Mon Aug 19 09:29:27 2019
New Revision: 351210
URL: https://svnweb.freebsd.org/changeset/base/351210
Log:
sys.kern.pdeathsig.signal_delivered_ptrace: fix debugger detach
ptrace(PT_DETACH) requires stopped debuggee, otherwise it fails. When
the call fails, the C process i
Author: kib
Date: Mon Aug 19 09:33:09 2019
New Revision: 351211
URL: https://svnweb.freebsd.org/changeset/base/351211
Log:
sys.kern.pdeathsig.signal_delivered_ptrace: fix startup.
Inform D that C executed procctl(PROC_PDEATHSIG_CTL). Otherwise D
might allow B to exit before C is set up t
On Wed, Aug 21, 2019 at 02:49:08PM +0200, Tijl Coosemans wrote:
> On Tue, 20 Aug 2019 17:39:33 + (UTC) Dimitry Andric
> wrote:
> > Author: dim
> > Date: Tue Aug 20 17:39:32 2019
> > New Revision: 351253
> > URL: https://svnweb.freebsd.org/changeset/base/351253
> >
> > Log:
> > Pull in r36886
Author: kib
Date: Wed Aug 21 19:53:50 2019
New Revision: 351349
URL: https://svnweb.freebsd.org/changeset/base/351349
Log:
Fix _pthread_cancel_enter() and _pthread_cancel_leave() jmptable entries.
PR: 240022
Reported by: Andrew Gierth
Sponsored by: The FreeBSD Foundation
MFC after
Author: kib
Date: Fri Aug 23 19:40:10 2019
New Revision: 351435
URL: https://svnweb.freebsd.org/changeset/base/351435
Log:
De-commision the MNTK_NOINSMNTQ kernel mount flag.
After all the changes, its dynamic scope is same as for MNTK_UNMOUNT,
but to allow the syncer vnode to be re-instal
Author: kib
Date: Sat Aug 24 14:29:13 2019
New Revision: 351453
URL: https://svnweb.freebsd.org/changeset/base/351453
Log:
Make stack grow use the same gap as stack create.
Store stack_guard_page * PAGE_SIZE into the gap->next_read field at
the time of the stack creation. This makes the
Author: kib
Date: Sat Aug 24 15:22:18 2019
New Revision: 351454
URL: https://svnweb.freebsd.org/changeset/base/351454
Log:
Remove unecessary VM_ALLOC_ZERO from allocation of the domain-local
page for pcpu.
Reviewed by: markj
Tested by:pho
Sponsored by: The FreeBSD Foundation
Di
Author: kib
Date: Sat Aug 24 15:25:53 2019
New Revision: 351455
URL: https://svnweb.freebsd.org/changeset/base/351455
Log:
Style.
Modified:
head/sys/amd64/amd64/mp_machdep.c
Modified: head/sys/amd64/amd64/mp_machdep.c
==
Author: kib
Date: Sat Aug 24 15:28:40 2019
New Revision: 351456
URL: https://svnweb.freebsd.org/changeset/base/351456
Log:
Do not constrain allocations for doublefault, boot, and mce stacks.
All these stacks are used only once (doublefault, boot) or very rare
(mce).
Reviewed by: mar
Author: kib
Date: Sat Aug 24 15:31:31 2019
New Revision: 351457
URL: https://svnweb.freebsd.org/changeset/base/351457
Log:
amd64: rework PCPU allocation
Move pcpu KVA out of .bss into dynamically allocated VA at
pmap_bootstrap(). This avoids demoting superpage mapping .data/.bss.
Also
" 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, are permitted provided that the following conditions
+.\&quo
On Sat, Aug 24, 2019 at 8:28 AM Konstantin Belousov wrote:
> >
> > Author: kib
> > Date: Sat Aug 24 15:28:40 2019
> > New Revision: 351456
> > URL: https://svnweb.freebsd.org/changeset/base/351456
> >
> > Log:
> > Do not constrain allocations for
On Sat, Aug 24, 2019 at 11:47:52AM -0700, Conrad Meyer wrote:
> On Sat, Aug 24, 2019 at 9:15 AM Konstantin Belousov
> wrote:
> >
> > On Sat, Aug 24, 2019 at 08:49:42AM -0700, Conrad Meyer wrote:
> > > Hi Konstantin,
> > >
> > > What is the motivation
Author: kib
Date: Sun Aug 25 13:26:06 2019
New Revision: 351478
URL: https://svnweb.freebsd.org/changeset/base/351478
Log:
Move OBJT_VNODE specific code from vm_object_terminate() to
vnode_destroy_vobject().
Reviewed by: alc, jeff (previous version), markj
Tested by:pho
Sponsored
Author: kib
Date: Sun Aug 25 20:57:39 2019
New Revision: 351494
URL: https://svnweb.freebsd.org/changeset/base/351494
Log:
amd64: If domain-local page for pcpu cannot be allocated, keep use
existing one.
Allocation failure is possible for instance when cpu domain has no memory.
Repor
Author: kib
Date: Sun Aug 25 21:01:40 2019
New Revision: 351495
URL: https://svnweb.freebsd.org/changeset/base/351495
Log:
amd64: loose constraints on the APs dpcpu and nmi/dbg stack allocations.
Use DOMAINSET_PREF() instead of DOMAINSET_FIXED(), to gracefully
fallback in case of memory-l
On Mon, Aug 26, 2019 at 09:25:11AM -0700, John Baldwin wrote:
> On 8/24/19 1:43 PM, Konstantin Belousov wrote:
> > On Sat, Aug 24, 2019 at 11:47:52AM -0700, Conrad Meyer wrote:
> >> On Sat, Aug 24, 2019 at 9:15 AM Konstantin Belousov
> >> wrote:
> >>>
&
Author: kib
Date: Tue Aug 27 08:28:38 2019
New Revision: 351542
URL: https://svnweb.freebsd.org/changeset/base/351542
Log:
vn_vget_ino_gen(): relock the lower vnode on error.
The function' interface assumes that the lower vnode is passed and
returned locked always.
Reported and teste
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/amd64/include/pcpu_aux.h Thu Aug 29 07:25:27 2019
(r351594)
@@ -0,0 +1,72 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2019 The FreeBSD Foundation
+ *
+ * This software was
Author: kib
Date: Thu Aug 29 07:34:14 2019
New Revision: 351595
URL: https://svnweb.freebsd.org/changeset/base/351595
Log:
Remove useless redefinition of NSFBUFS in i386/vm_machdep.c.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/i386/i386/vm_machdep.c
Modified: head/sys/i386/
Author: kib
Date: Thu Aug 29 07:45:23 2019
New Revision: 351597
URL: https://svnweb.freebsd.org/changeset/base/351597
Log:
UFS: stop reusing the vnode for reallocated inode.
In ffs_valloc(), force reclaim existing vnode on inode reuse, instead
of trying to re-initialize the same vnode for
Author: kib
Date: Thu Aug 29 07:50:25 2019
New Revision: 351598
URL: https://svnweb.freebsd.org/changeset/base/351598
Log:
Rework v_object lifecycle for vnodes.
Current implementation of vnode_create_vobject() and
vnode_destroy_vobject() is written so that it prepared to handle the
vm o
On Fri, Aug 30, 2019 at 12:45:54AM +, Mateusz Guzik wrote:
> Author: mjg
> Date: Fri Aug 30 00:45:53 2019
> New Revision: 351622
> URL: https://svnweb.freebsd.org/changeset/base/351622
>
> Log:
> vfs: tidy up assertions in vfs_subr
>
> - assert unlocked vnode interlock in vref
> - ass
Author: kib
Date: Wed Mar 27 22:35:28 2019
New Revision: 345620
URL: https://svnweb.freebsd.org/changeset/base/345620
Log:
rtld: disable relro enforcement for irelative relocation processing.
This fixes yet another breakage for relro + bind now.
Reported by: emaste
Sponsored by: The
ht (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 following conditions
+ * ar
On Fri, Mar 29, 2019 at 03:57:09PM +, Bruce Evans wrote:
> Author: bde
> Date: Fri Mar 29 15:57:08 2019
> New Revision: 345696
> URL: https://svnweb.freebsd.org/changeset/base/345696
>
> Log:
> Fix endless loops for handling SIGBUS and SIGSEGV.
>
> r80270 has the usual wrong fix for uns
Author: kib
Date: Fri Mar 29 16:53:46 2019
New Revision: 345702
URL: https://svnweb.freebsd.org/changeset/base/345702
Log:
Eliminate adj_free field from vm_map_entry.
Drop the adj_free field from vm_map_entry_t. Refine the max_free field
so that p->max_free is the size of the largest gap
On Mon, Apr 01, 2019 at 12:04:45AM +1100, Bruce Evans wrote:
> Serial consoles are not always available.
>
> Better debuggers switch the screen mode as necessary.
>
> I recently noticed another mode switching problem. On i386, cycling
> through about 50 modes to test them all takes a small fract
On Sun, Mar 31, 2019 at 10:27:54PM +1100, Bruce Evans wrote:
> On Sat, 30 Mar 2019, Konstantin Belousov wrote:
>
> > On Sat, Mar 30, 2019 at 03:24:40PM +1100, Bruce Evans wrote:
> >> On Fri, 29 Mar 2019, Konstantin Belousov wrote:
> >>
> >>> On Fri, Mar
On Sat, Mar 30, 2019 at 03:24:40PM +1100, Bruce Evans wrote:
> On Fri, 29 Mar 2019, Konstantin Belousov wrote:
>
> > On Fri, Mar 29, 2019 at 03:57:09PM +, Bruce Evans wrote:
> >> Author: bde
> >> Date: Fri Mar 29 15:57:08 2019
> >> New Revision: 3456
Author: kib
Date: Sat Mar 30 16:58:51 2019
New Revision: 345734
URL: https://svnweb.freebsd.org/changeset/base/345734
Log:
Fix branding after r345661.
In particular, elf32 FreeBSD binaries were not executed on LP64 hosts.
The interp_name_len value should account for the nul terminator. T
Author: kib
Date: Tue Apr 2 13:49:32 2019
New Revision: 345800
URL: https://svnweb.freebsd.org/changeset/base/345800
Log:
tmpfs: ignore tmpfs_set_status() if mount point is read-only.
In particular, this fixes atimes still changing for ro tmpfs.
tmpfs_set_status() gains tmpfs_mount * arg
Author: kib
Date: Tue Apr 2 13:59:04 2019
New Revision: 345803
URL: https://svnweb.freebsd.org/changeset/base/345803
Log:
tmpfs: plug holes on rw->ro mount update.
In particular:
- suspend the mount around vflush() to avoid new writes come after the
vnode is processed;
- flush pend
Author: kib
Date: Tue Apr 2 13:41:26 2019
New Revision: 345799
URL: https://svnweb.freebsd.org/changeset/base/345799
Log:
Block creation of the new nodes for read-only tmpfs mounts.
Tested by:pho
Sponsored by: The FreeBSD Foundation
MFC after:2 weeks
Differential revision:
Author: kib
Date: Wed Apr 3 17:02:18 2019
New Revision: 345847
URL: https://svnweb.freebsd.org/changeset/base/345847
Log:
msdosfs: zero tail of the last block on truncation for VREG vnodes as well.
Despite the call to vtruncbuf() from detrunc(), which results in
zeroing part of the parti
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 16:12:35 2019
New Revision: 345954
URL: https://svnweb.freebsd.org/changeset/base/345954
Log:
Fix mis-merge.
Amusingly, it is nop.
Noted by: trasz
Sponsored by: The FreeBSD Foundation
MFC after:1 week
X-MFC-rev:r345702
Modified:
head/sy
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
Author: kib
Date: Fri Apr 5 16:14:16 2019
New Revision: 345955
URL: https://svnweb.freebsd.org/changeset/base/345955
Log:
vn_vmap_seekhole(): align running offset to the block boundary.
Otherwise we might miss the last iteration where EOF appears below
unaligned noff.
Reported and r
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 18:09:22 2019
New Revision: 345960
URL: https://svnweb.freebsd.org/changeset/base/345960
Log:
Provide newbus infrastructure for initiating device reset.
The methods BUS_RESET_PREPARE(), BUS_RESET(), and BUS_RESET_POST()
should be implemented by bus which can p
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: 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 17:54:31 2019
New Revision: 345959
URL: https://svnweb.freebsd.org/changeset/base/345959
Log:
Add __BEGIN_DECLS/__END_DECLS braces to libdevctl header.
Reviewed by: imp (previous version), jhb (previous version)
Sponsored by: Mellanox Technologies
MFC after
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
501 - 600 of 5077 matches
Mail list logo