CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/07/09 10:08:30
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Read the whole buffer, not its size minus one.
>From Christian Ludwig cludwig at genua.de.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/07/08 10:15:42
Modified files:
sys/kern : kern_sched.c
Log message:
Remove the KASSERT() in sched_unpeg_curproc().
This fix rebooting a GENERIC.MP kernel on SP machines because unpeg is out
of
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/07/08 08:46:47
Modified files:
sys/arch/amd64/amd64: identcpu.c
sys/dev: kstat.c
sys/kern : kern_sched.c kern_smr.c
sys/sys: sched.h
Log message:
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/05/30 04:56:24
Modified files:
sys/arch/i386/i386: pmapae.c
Log message:
Ensure pmap_create() waits in case kernel virtual space shortage.
Prevents a panic in pmap_pinit_pd_pae() when applying a lot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/05/01 06:54:27
Modified files:
sys/arch/amd64/include: cpu.h
sys/arch/arm64/include: cpu.h
sys/arch/i386/include: cpu.h
sys/uvm: uvm_page.c uvm_pdaemon.c uvm_percpu.h
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/19 04:22:51
Modified files:
sys/arch/amd64/include: cpu.h
sys/arch/arm64/include: cpu.h
sys/arch/i386/include: cpu.h
sys/uvm: uvm_page.c uvm_pdaemon.c uvm_percpu.h
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/17 07:17:31
Modified files:
sys/uvm: uvm_amap.c
Log message:
Remove a micro optimization to free pages in batch in amap_wipeout().
The contention on uvm_lock_fpageq() is now reduced by
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/17 07:12:58
Modified files:
usr.bin/systat : uvm.c
usr.bin/vmstat : vmstat.c
sys/arch/amd64/include: cpu.h
sys/arch/arm64/include: cpu.h
sys/arch/i386/include:
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/16 02:53:02
Modified files:
sys/uvm: uvm_amap.c
Log message:
Prevent a NULL dereference in error code path.
Under memory pressure allocating an amap chunk can fail. In such case it
is not
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/10 09:38:11
Modified files:
sys/arch/alpha/alpha: cpu.c
Log message:
Use km_alloc(9) to allocate USPACE instead of uvm_pglistalloc(9).
ok miod@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/10 09:26:18
Modified files:
sys/uvm: uvm_pdaemon.c
Log message:
Use uvmpd_dropswap() in the case of swap shortage.
ok kn@, kettenis@, miod@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/10 09:25:14
Modified files:
sys/uvm: uvm_aobj.c
Log message:
Call uao_dropswap() instead of rerolling it.
ok kn@, kettenis@, miod@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/06 05:18:02
Modified files:
sys/dev/dt : dt_dev.c dt_prov_kprobe.c dt_prov_profile.c
dt_prov_static.c dt_prov_syscall.c dtvar.h
Log message:
Remove (unused) in-kernel
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/04/06 04:59:52
Modified files:
sys/uvm: uvm_anon.c
Log message:
Prevent accounting bug when an anon w/ swap slot is passed to uvm_anon_release()
uvm_anon_release() is always called for anon
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/30 07:33:21
Modified files:
sys/kern : kern_sig.c kern_synch.c sched_bsd.c
sys_process.c
sys/dev/pci/drm: drm_linux.c
sys/sys: proc.h
Log
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/30 06:47:47
Modified files:
sys/uvm: uvm.h
Log message:
Document that pmemrange control data are protected by `uvm.fpageqlock'.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/30 01:41:45
Modified files:
usr.sbin/btrace: bt_parse.y bt_parser.h btrace.c
regress/usr.sbin/btrace: if.bt if.ok
Log message:
Implement else branching logic including 'else if'.
Statement
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/03/24 04:29:35
Modified files:
sys/uvm: uvmexp.h uvm_pdaemon.c
Log message:
Cleanup uvmpd_tune() & document global variable ownership.
- Stop calling uvmpd_tune() inside uvm_pageout().
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/28 06:43:44
Modified files:
sys/kern : kern_sched.c
Log message:
No need to kick a CPU twice when putting a thread on its runqueue.
>From Christian Ludwig, ok claudio@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/27 05:50:33
Modified files:
usr.sbin/btrace: btrace.h
regress/usr.sbin/btrace: str.args str.bt str.ok
Log message:
Printing large tuples require more than 64 chars, bump the string limit.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/27 05:38:12
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Make it possible to check for existing string in maps.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/24 12:42:54
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Check for builtins used inside tuple to ask the kernel to copyout specific data.
Allow to save stacktrace and process name in
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/24 10:05:59
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Implement 'store' for maps.
A current limitation is the value read from a map is converted to an
integer. To preserve the
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/24 09:19:49
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Implement 'store' for all builtins, they are either string or integer.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/12 08:12:09
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Fix tuple & string comparisons in maps.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/12 08:11:06
Modified files:
usr.sbin/btrace: bt_parse.y
Log message:
Trailing spaces
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/07 12:07:42
Modified files:
usr.sbin/btrace: bt_parse.y
Log message:
Prevent tuples to be used as map key, associative array is what we want.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 08:34:11
Modified files:
regress/usr.sbin/btrace: filters.bt mapoverwrite.bt
multiprobe.bt
Log message:
Increase interval's rate to speed up tests.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 08:30:04
Modified files:
regress/usr.sbin/btrace: Makefile
Added files:
regress/usr.sbin/btrace: argn.bt argn.ok
Log message:
Regress test for undefined probe arguments fixed in in
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 08:18:19
Modified files:
regress/usr.sbin/btrace: map.bt map.ok
Log message:
Adapt map regress test to cover associated arrays fixed in btrace.c r1.82.
>From Christian Ludwig.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/02/05 08:11:35
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Print statistics on stderr to be able to redirect bt(5) script output.
>From Christian Ludwig.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/01/25 13:50:58
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Return 0 when accessing an argument not defined in a probe.
Adapted from a fix from Christian Ludwig.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2024/01/23 15:04:15
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Consider the whole tuple when reading a map entry whose key is that tuple.
Previously only the first element of the tuple was
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/10/27 13:18:53
Modified files:
sys/uvm: uvm_pdaemon.c uvm_swap.c uvm_swap.h uvmexp.h
Log message:
Make out-of-swap checks more robust.
Consider that the swap space is full when 99% of it is
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/10/27 13:13:51
Modified files:
sys/uvm: uvm_anon.c
Log message:
Do not decrement the swap counter if the anon is associated to a "bad" slot.
When such anon is freed its content is obviously
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/10/24 04:00:22
Modified files:
sys/uvm: uvm_pdaemon.c
Log message:
Merge two equivalent if blocks.
No functional change, ok tb@
CVSROOT:/cvs
Module name:www
Changes by: m...@cvs.openbsd.org2023/10/24 03:35:58
Modified files:
. : support.html
Log message:
I relocated to the south of France a couple of years ago.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/10/16 05:32:54
Modified files:
sys/uvm: uvm_pdaemon.c
Log message:
Consider required constraint when moving pages from active to inactive lists.
Make sure low pages are deactivated first when
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/16 03:33:28
Modified files:
sys/kern : kern_sysctl.c subr_evcount.c subr_percpu.c
sys/net: pfkeyv2_convert.c if_pfsync.c if_etherip.c if.c
pipex.c
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/13 07:47:58
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Properly evaluate variables when inserting them into a map.
Somehow missed in previous, regression reported by anton@.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/11 13:03:53
Modified files:
regress/usr.sbin/btrace: Makefile
Added files:
regress/usr.sbin/btrace: tuple.bt tuple.ok tupleeval.bt
tupleeval.ok vareval.bt
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/11 13:01:26
Modified files:
usr.sbin/btrace: bt_parse.y bt_parser.h btrace.h btrace.c map.c
Log message:
Implement tuples, needed to export per-CPU scheduling data.
It is now possible to save and
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/03 04:26:35
Modified files:
usr.sbin/btrace: map.c
Log message:
Let builtin process names be stored in maps as string.
ok dv@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/09/02 02:24:40
Modified files:
sys/uvm: uvm_anon.c uvm_fault.c
Log message:
Zap anon pages mappings in uvm_anon_release() instead of in the fault handler.
This makes all code paths
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/08/14 02:33:24
Modified files:
sys/dev/dt : dt_prov_static.c
sys/kern : kern_fork.c kern_sched.c kern_synch.c
sched_bsd.c
Log message:
Extend scheduler
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/08/13 03:52:47
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Add support for storing builtin TID and PID in variables.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/08/13 03:49:47
Modified files:
regress/usr.sbin/btrace: Makefile
Added files:
regress/usr.sbin/btrace: mapoverwrite.bt mapoverwrite.ok
Log message:
Regression test for the use-after-free in
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/08/13 03:48:27
Modified files:
usr.sbin/btrace: map.c
Log message:
Prevent user-after/double free in map insertion.
Freeing arguments tied to statements is not an option because rules are
parsed
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/08/12 01:22:56
Modified files:
sys/uvm: uvm_page.c
Log message:
Add sanity checks in uvm_pagelookup().
ok kettenis@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/08/11 11:53:22
Modified files:
sys/uvm: uvm_pager.c
Log message:
Kill unused variable in uvm_aio_aiodone_pages().
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/08/02 03:19:47
Modified files:
sys/uvm: uvm_map.c uvm_map.h
Log message:
Remove unused vm_map_upgrade() & vm_map_downgrade().
Upgrade/downgrade operations on a `vmmaplk' are no longer
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/05/20 06:48:36
Modified files:
sys/uvm: uvm_map.c uvm_map.h
Log message:
Do not grab the `vmmaplk' recursively, prevent a self-deadlock.
Change the semantic of vm_map_busy() to be able to
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/05/13 03:24:59
Modified files:
sys/uvm: uvm_aobj.c uvm_aobj.h uvm_page.c uvm_pager.c
Log message:
Put back in the simplification of the aiodone daemon.
Previous "breakage" of the swap on arm64
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/04/25 06:36:30
Modified files:
sys/uvm: uvm_map.c uvm_map.h
Log message:
Do not grab the `vmmaplk' recursively, prevent a self-deadlock.
Change the semantic of vm_map_busy() to be able to
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2023/02/24 08:17:48
Modified files:
sys/uvm: uvm_map.c
Log message:
Do not held the vm_map lock while flushing pages in msync(2) and madvise(2).
Mark the VM map as busy instead to prevent any
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/11/12 07:19:08
Modified files:
usr.sbin/btrace: bt_parse.y btrace.c
regress/usr.sbin/btrace: Makefile
Added files:
regress/usr.sbin/btrace: filters.bt filters.ok
Log message:
Add
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/11/11 15:43:09
Modified files:
usr.sbin/btrace: btrace.c
Log message:
Add support for storing builtins arguments into local variables.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/11/11 15:40:42
Modified files:
usr.sbin/btrace: bt_parse.y btrace.c
regress/usr.sbin/btrace: if.bt if.ok
Log message:
Add support for multiple statements in if () blocks.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/11/11 03:51:39
Modified files:
usr.sbin/btrace: btrace.c
Log message:
typo
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/11/09 03:27:01
Modified files:
sys/kern : init_sysent.c syscalls.c
sys/sys: syscall.h syscallargs.h
Log message:
regen
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/11/09 03:26:28
Modified files:
sys/kern : syscalls.master
Log message:
Mark sched_yield(2) as NOLOCK.
All the fields accessed in this syscall are protected by the SCHED_LOCK()
so it isn't
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/11/08 04:06:41
Modified files:
sys/kern : init_sysent.c syscalls.c
sys/sys: syscall.h syscallargs.h
Log message:
Regen
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/11/08 04:05:57
Modified files:
sys/kern : syscalls.master
Log message:
Mark mmap(2), munmap(2) and mprotect(2) as NOLOCK.
Accesses to data structures used by these syscalls are serialized by the
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/11/07 02:43:04
Modified files:
sys/arch/arm64/arm64: db_interface.c pmap.c trap.c
sys/arch/arm64/include: pmap.h
Log message:
Implement db_write_text/bytes() which add support for ddb(4)'s
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/11/04 03:36:45
Modified files:
sys/uvm: uvm_addr.c uvm_fault.c uvm_map.c uvm_map.h
Log message:
Assert the VM map lock is held in function used by mmap/mprotect/munmap.
Also grab the lock in
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/10/31 04:46:24
Modified files:
sys/uvm: uvm_map.c
Log message:
Fix VMMAP_DEBUG code to compile with not-so-recent changes.
If enabled the debug code currently panic the kernel. To
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/10/20 07:31:52
Modified files:
sys/uvm: uvm_vnode.c uvm_vnode.h
Log message:
Access to `u_flags' should be serialized by the `vmobjlock'.
This complete previous fix from gnezdo@. The
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/10/02 05:56:43
Modified files:
usr.bin/ctfconv: ctfconv.c
Log message:
Remove unused DEBUG_LINE define.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/09/21 01:32:59
Modified files:
sys/uvm: uvm_vnode.c uvm_vnode.h
Log message:
Revert UVM_VNODE_CANPERSIST removal, it exposes an issue on arm64.
Found the hardway by miod@ and deraadt@.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/09/18 08:41:54
Modified files:
sys/dev/ofw: fdt.c
Log message:
Revert previous it prevents the PinebookPro and the Rockpro64 to reach userland.
Found by kn@ and myself, ok deraadt@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/09/10 10:14:36
Modified files:
sys/uvm: uvm_vnode.c uvm_vnode.h
Log message:
Get rid of the extra vnode reference known as UVM_VNODE_CANPERSIST.
Back in the 4.4BSD days the VM subystem had a
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/08/31 03:26:04
Modified files:
sys/uvm: uvm_pdaemon.c
Log message:
Introduce a function to trylock a page instead of duplicating the logic.
Stolen from NetBSD.
ok jsg@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/08/30 02:30:58
Modified files:
sys/uvm: uvm_pdaemon.c
Log message:
Move duplicated code to free swap resources into its own function.
ok mlarkin@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/08/29 05:09:31
Modified files:
sys/uvm: uvm_swap.c uvmexp.h
Log message:
Use a rwlock and a mutex to serialize access to global swap variables.
Adapted from NetBSD by tb@.
ok tb@, kn@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/08/22 06:03:32
Modified files:
sys/uvm: uvm_pdaemon.c
Log message:
Simplify locking by using an intermediate lock variable.
While here get rid of the unused returned value of
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/08/18 23:53:19
Modified files:
sys/uvm: uvm_pager.c
Log message:
Grab the mutex before iterating on the global list.
Prevent race reported some months ago.
ok mlarkin@, jsg@, kn@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/08/02 08:04:06
Modified files:
sys/uvm: uvm_pager.c
Log message:
Bring back the direct map optimization when PMAP_PREFER isn't defined.
PMAP_PREFER is checked to prevent cache aliasing issues
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/08/01 08:15:46
Modified files:
sys/uvm: uvm_amap.c uvm_aobj.c uvm_km.c uvm_page.c
uvm_page.h uvm_vnode.c
Log message:
Introduce and use uvm_pagewait() where PG_WANTED
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/07/24 05:00:22
Modified files:
sys/uvm: uvm_aobj.c uvm_aobj.h uvm_page.c uvm_pager.c
Log message:
Revert simplification of the aiodone daemon it breaks swap on arm64.
Found the hard way by
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/07/11 05:33:18
Modified files:
sys/uvm: uvm_aobj.c uvm_aobj.h uvm_page.c uvm_pager.c
Log message:
Simplify the aiodone daemon which is only used for async writes.
- Remove unused support for
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/07/11 05:29:11
Modified files:
sys/uvm: uvm_swap.c
Log message:
Remove asynchronous read support in uvm_swap_get().
Reading pages from swap is always done synchronously. The fault handler
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/07/07 07:52:20
Modified files:
sys/uvm: uvm_vnode.c
Log message:
Revert previous attempt at serializing `uo_refs'.
It is incorrect to look at/modify `uo_refs' without lock in uvm_vnp_sync().
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/06/30 14:28:42
Modified files:
sys/uvm: uvm_pager.c
Log message:
Reduce allocations and possible failures in uvm_pagermapin/out().
. If a direct map exists use it to map single-page
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/06/30 07:54:37
Modified files:
sys/uvm: uvm_swap.c
Log message:
Remove an incorrect KASSERT() introduced in previous.
If uvm_pagermapin() fails that doesn't mean the emergency pages aren't
in
On 29/06/22(Wed) 07:02, Anton Lindqvist wrote:
> On Tue, Jun 28, 2022 at 06:08:18AM -0600, Claudio Jeker wrote:
> > CVSROOT:/cvs
> > Module name:src
> > Changes by: clau...@cvs.openbsd.org 2022/06/28 06:08:18
> >
> > Modified files:
> > sys/kern : kern_sig.c
> >
> > Log
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/06/28 13:39:54
Modified files:
sys/uvm: uvm_swap.c
Log message:
Make sure uvm_swap_get() always sleep and do not return and error.
If no memory was immediately available to decrypt (bounce) a
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/06/28 13:31:30
Modified files:
sys/uvm: uvm_pdaemon.c
Log message:
Consider pmemrange regions when trying to free pages from the inactive list.
Instead of starting with the first page on the
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/06/28 13:23:08
Modified files:
sys/uvm: uvm_pdaemon.c
Log message:
Use new & shiny define for the maximum number of pages of a swap cluster.
ok beck@, kettenis@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/06/28 13:19:34
Modified files:
sys/uvm: uvm_swap.c uvm_swap.h
Log message:
Pre-allocate pages in DMA-reachable region to ensure progress in the swapper.
Currently swap encryption is not done
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/06/28 13:07:40
Modified files:
sys/uvm: uvm_pager.c
Log message:
Reserve a second segment for the page daemon.
This ensures uvm_swap_io() can succeeds even in OOM situations because two
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/06/28 06:10:37
Modified files:
sys/uvm: uvm_pager.c
Log message:
Move the guts of uvm_aio_aiodone() into a separate function.
This will help dealing with error cases.
No functionnal changes.
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/06/28 04:45:55
Modified files:
sys/uvm: uvm_fault.c uvm_pager.c
Log message:
Do not clean PG_BUSY before calling uvm_anon_release().
Fix an assertion reported by gkoehler@.
ok kettenis@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/06/28 04:38:55
Modified files:
sys/uvm: uvm_fault.c
Log message:
Do not consider adjacent pages when doing a CoW.
Those pages should already be entered, this speeds up CoW faults.
Stolen from
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/05/27 05:10:54
Modified files:
sys/nfs: nfs_serv.c
Log message:
Call uvm_vnp_uncache() before VOP_RENAME().
ok kettenis@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/05/12 06:49:31
Modified files:
sys/uvm: uvm_pdaemon.c
Log message:
Consider BUFPAGES_DEFICIT in swap_shortage.
ok beck@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/05/12 06:48:36
Modified files:
sys/uvm: uvm_page.c uvm_page.h
Log message:
Introduce uvm_pagedequeue() to reduce code duplication.
ok kettenis@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/05/04 08:58:26
Modified files:
sys/uvm: uvm.h uvm_map.c uvm_page.c uvm_pdaemon.c
Log message:
Merge swap-backed and object-backed inactive page lists.
ok millert@, kettenis@
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/04/30 11:58:44
Modified files:
sys/uvm: uvm_pdaemon.c
Log message:
Recheck PG_BUSY after locking the page.
Another thread can set the bit if we sleep during rw_enter(9) in which case
the page
On 28/04/22(Thu) 12:12, Martin Pieuchot wrote:
> CVSROOT: /cvs
> Module name: src
> Changes by: m...@cvs.openbsd.org2022/04/28 12:12:33
>
> Modified files:
> sys/uvm: uvm_vnode.c
>
> Log message:
> Always acquire the `vmobjlock' befo
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2022/04/28 12:12:33
Modified files:
sys/uvm: uvm_vnode.c
Log message:
Always acquire the `vmobjlock' before incrementing an object's reference.
1 - 100 of 3441 matches
Mail list logo