Searched hist:1.341 (Results 1 - 25 of 81) sorted by relevance

1234

/src/
H A Dbuild.sh1.341 Sat Jun 13 18:00:29 GMT 2020 riastradh Nix trailing whitespace.

H A DUPDATING1.341 Tue Jul 18 16:59:57 GMT 2023 lukem build.sh: use mk.conf (if present) as MAKECONF

Set MAKECONF to mk.conf in the same directory as build.sh
(i.e., the top of the source tree) if mk.conf is present.
This means unprivileged users can benefit from mk.conf(5)
semantics without write privileges to /etc/mk.conf, and
also simplifies per-source-directory configuration.

Fail early if $MAKECONF is empty, since build.sh will fail
anyway after rebuilding nbmake.

Ensure that the computed MAKECONF isn't empty, and then
always set MAKECONF in the makewrapper (nbmake-$MACHINE).

Improve some formatting consistency in BUILDING.mdoc,
(even if BUILDING is generated without markup).
/src/sys/arch/sparc/sparc/
H A Dmachdep.c1.341 Tue Mar 05 14:15:35 GMT 2024 thorpej branches: 1.341.2;
Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.

1.341 Tue Mar 05 14:15:35 GMT 2024 thorpej branches: 1.341.2;
Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.

H A Dpmap.c1.341 Tue Feb 15 09:56:32 GMT 2011 mrg branches: 1.341.2;
sprinkle some kpreempt_{dis,en}able() in various strategic points
we will need when we get to actually enabling kernel preemption.

1.341 Tue Feb 15 09:56:32 GMT 2011 mrg branches: 1.341.2;
sprinkle some kpreempt_{dis,en}able() in various strategic points
we will need when we get to actually enabling kernel preemption.

/src/sys/arch/alpha/conf/
H A DGENERIC1.341 Sat Jul 23 21:12:57 GMT 2011 jakllsch branches: 1.341.2;
Enable or note aubtfwl(4) wherever ubt(4) is enabled or noted.

1.341 Sat Jul 23 21:12:57 GMT 2011 jakllsch branches: 1.341.2;
Enable or note aubtfwl(4) wherever ubt(4) is enabled or noted.

/src/share/mk/
H A Dbsd.prog.mk1.341 Thu Jul 14 03:48:49 GMT 2022 mrg branches: 1.341.2;
add libxcvt.

1.341 Thu Jul 14 03:48:49 GMT 2022 mrg branches: 1.341.2;
add libxcvt.

/src/sys/dev/scsipi/
H A Dcd.c1.341 Sat Jun 17 22:35:50 GMT 2017 mlelstv branches: 1.341.4; 1.341.6;
The atapibus detach path did hold the channel mutex while calling into autoconf,
which would trigger a panic when unplugging a USB ATAPI CDROM.

Align detach code for scsibus and atapibus to fix this.

Also avoid races when detaching devices by replacing callout_stop with
callout_halt.

1.341 Sat Jun 17 22:35:50 GMT 2017 mlelstv branches: 1.341.4; 1.341.6;
The atapibus detach path did hold the channel mutex while calling into autoconf,
which would trigger a panic when unplugging a USB ATAPI CDROM.

Align detach code for scsibus and atapibus to fix this.

Also avoid races when detaching devices by replacing callout_stop with
callout_halt.

1.341 Sat Jun 17 22:35:50 GMT 2017 mlelstv branches: 1.341.4; 1.341.6;
The atapibus detach path did hold the channel mutex while calling into autoconf,
which would trigger a panic when unplugging a USB ATAPI CDROM.

Align detach code for scsibus and atapibus to fix this.

Also avoid races when detaching devices by replacing callout_stop with
callout_halt.

H A Dsd.c1.341 Thu Feb 27 17:17:00 GMT 2025 jakllsch sd(4): Translate discard to UNMAP (10) command

/src/sys/arch/mac68k/mac68k/
H A Dmachdep.c1.341 Sun Jun 12 03:35:43 GMT 2011 rmind branches: 1.341.2; 1.341.6;
Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

1.341 Sun Jun 12 03:35:43 GMT 2011 rmind branches: 1.341.2; 1.341.6;
Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

1.341 Sun Jun 12 03:35:43 GMT 2011 rmind branches: 1.341.2; 1.341.6;
Welcome to 5.99.53! Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
kernel-lock on some ports). Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

/src/sys/kern/
H A Dinit_main.c1.341 Sun Jan 20 18:09:11 GMT 2008 joerg branches: 1.341.2; 1.341.6;
Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.

1.341 Sun Jan 20 18:09:11 GMT 2008 joerg branches: 1.341.2; 1.341.6;
Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.

1.341 Sun Jan 20 18:09:11 GMT 2008 joerg branches: 1.341.2; 1.341.6;
Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,
remove the conditionals and the code associated with the undef case.

H A Dinit_sysent.c1.341 Fri Jul 28 18:20:28 GMT 2023 christos regen

H A Dkern_sig.c1.341 Tue May 01 13:48:38 GMT 2018 kamil Improve the proc_stoptrace() function

proc_stoptrace() is dedicated for emitting a syscall trap for a debugger,
either on entry or exit of the system function routine.

Changes:
- Change an if() branch of an invalid condition of being traced by
initproc (PID1) to KASSERT(9).
- Assert that the current process has set appropriate flags (PSL_TRACED
and PSL_SYSCALL).
- Use ktrpoint(KTR_PSIG) and ktrpsig()/e_ktrpsig() in order to register
the emitted signal for the ktrace(1) event debugging.

Example of the new output from kdump(1) for the syscall debugger traps,
containing SIGTRAP notification with TRAP_SCE and TRAP_SCX (around
the getpid(2) call).

$ kdump /tmp/1.dat.qemu |grep 663
588 1 t_ptrace_waitpid RET fork 663/0x297
663 1 t_ptrace_waitpid EMUL "netbsd"
663 1 t_ptrace_waitpid RET fork 0
663 1 t_ptrace_waitpid CALL ptrace(PT_TRACE_ME,0,0,0)
663 1 t_ptrace_waitpid RET ptrace 0
663 1 t_ptrace_waitpid CALL _lwp_self
663 1 t_ptrace_waitpid RET _lwp_self 1
663 1 t_ptrace_waitpid CALL _lwp_kill(1,0x11)
663 1 t_ptrace_waitpid RET _lwp_kill 0
588 1 t_ptrace_waitpid RET __wait450 663/0x297
663 1 t_ptrace_waitpid CALL getpid
588 1 t_ptrace_waitpid RET __wait450 663/0x297
663 1 t_ptrace_waitpid PSIG SIGTRAP SIG_DFL: code=TRAP_SCE, addr=0x0, trap=0)
663 1 t_ptrace_waitpid RET getpid 663/0x297, 588/0x24c
588 1 t_ptrace_waitpid RET __wait450 663/0x297
663 1 t_ptrace_waitpid PSIG SIGTRAP SIG_DFL: code=TRAP_SCX, addr=0x0, trap=0)
663 1 t_ptrace_waitpid CALL exit(5)
588 1 t_ptrace_waitpid RET __wait450 663/0x297

Sponsored by <The NetBSD Foundation>

H A Dkern_synch.c1.341 Sun Feb 23 15:46:41 GMT 2020 ad UVM locking changes, proposed on tech-kern:

- Change the lock on uvm_object, vm_amap and vm_anon to be a RW lock.
- Break v_interlock and vmobjlock apart. v_interlock remains a mutex.
- Do partial PV list locking in the x86 pmap. Others to follow later.

/src/doc/
H A DBRANCHES1.341 Sat May 27 21:06:26 GMT 2017 bouyer Update status of bouyer-socketcan
/src/sys/ufs/lfs/
H A Dlfs_vnops.c1.342 Sat Sep 06 05:02:07 GMT 2025 perseant Lock the vnode before calling lfs_set_dirop, to meet the conditions of
the assertion. Fixes a regression introduced in rev 1.341.

1.341 Fri Sep 05 05:14:29 GMT 2025 perseant Protect the changed link count of the linked vnode with {,UN}MARK_DIROP
in lfs_link(). Necessary for roll-forward.

H A Dlfs_vfsops.c1.341 Wed Aug 19 20:33:29 GMT 2015 dholland Part two of dinodes; use the same union everywhere.
(previously the ufs-derived code had things set up slightly different)

Remove a bunch of associated mess.
/src/sys/arch/sparc64/sparc64/
H A Dlocore.s1.341 Sat Mar 17 22:19:53 GMT 2012 mrg branches: 1.341.2;
port the corrected ECC error handling code from freebsd. i noticed my U10
took one of these and then hang. it shouldn't hang, there's a 'sir' here that
doesn't seem to reset properly. oh well.

tested by simulated a trap via 'ta 0x10' and considering that the same, but
it hasn't been tested against a real ECC error yet.
1.341 Sat Mar 17 22:19:53 GMT 2012 mrg branches: 1.341.2;
port the corrected ECC error handling code from freebsd. i noticed my U10
took one of these and then hang. it shouldn't hang, there's a 'sir' here that
doesn't seem to reset properly. oh well.

tested by simulated a trap via 'ta 0x10' and considering that the same, but
it hasn't been tested against a real ECC error yet.
/src/sys/arch/i386/conf/
H A Dfiles.i3861.341 Sat Dec 20 00:41:19 GMT 2008 ad branches: 1.341.2;
- Kill NOREDZONE.
- Make the redzone conditional on DIAGNOSTIC.
- Give amd64 an additional page for the uarea. 2 is not enough.

1.341 Sat Dec 20 00:41:19 GMT 2008 ad branches: 1.341.2;
- Kill NOREDZONE.
- Make the redzone conditional on DIAGNOSTIC.
- Give amd64 an additional page for the uarea. 2 is not enough.

/src/distrib/sets/lists/comp/
H A Dshl.mi1.341 Sun Sep 13 03:43:16 GMT 2020 kamil Currently restrict GCC TSan files to gcc=9
/src/distrib/sets/lists/debug/
H A Dshl.mi1.341 Sun Jun 09 19:56:18 GMT 2024 christos bump libarchive.
/src/share/misc/
H A Dacronyms.comp1.341 Wed Mar 01 11:08:03 GMT 2023 fcambus Add IR (intermediate representation) and MLIR (multi-level IR).

/src/sys/arch/macppc/conf/
H A DGENERIC1.341 Fri Feb 23 02:54:56 GMT 2018 sevan Remove OFB_ENABLE_CACHE
from <macallan>
"it is outdated, genfb and friends don't need or use it, and it makes no sense
on accelerated drivers either. It tries to BAT-map the framebuffer cacheable,
which works on most macs but makes a few models lock up. Genfb doesn't have that
problem and is faster too."

/src/sys/ufs/ffs/
H A Dffs_vfsops.c1.341 Thu Oct 20 19:31:32 GMT 2016 jdolecek add assertion to ensure ffs_cgupdate() is always called from
within a WAPBL transaction (if logging is on)

/src/sys/uvm/
H A Duvm_map.c1.341 Sat Aug 06 15:13:14 GMT 2016 maxv The way the kernel tries to prevent a userland process from allocating page
zero is hugely flawed. It is easy to demonstrate that one can trick UVM
into chosing a NULL hint after the user_va0_disable check from uvm_map.
Such a bypass allows kernel NULL pointer dereferences to be exploitable on
architectures with a shared userland<->kernel VA, like amd64.

Fix this by increasing the limit of the vm space made available for
userland processes. This way, UVM will never chose a NULL hint, since it
would be outside of the vm space.

The user_va0_disable sysctl still controls this feature.

/src/sys/dev/ata/
H A Dwd.c1.341 Sat Jul 21 19:51:47 GMT 2007 ad Replace some uses of lockmgr().

Completed in 404 milliseconds

1234