OpenBSD cvs log

created 2024-10-07T08:53:27Z
begin 2024-10-01T00:00:00Z
end 2024-10-02T00:00:00Z
path src/sys
commits 9

date 2024-10-01T06:17:46Z
author jsg
files src/sys/dev/pci/drm/include/drm/drm_accel.h log diff annotate
message add ACCEL_MAX_MINORS for 6.6.53 drm

date 2024-10-01T06:18:20Z
author jsg
files src/sys/dev/pci/drm/include/linux/fs.h log diff annotate
message add MINORBITS for 6.6.53 drm

date 2024-10-01T06:19:39Z
author jsg
files src/sys/dev/pci/drm/include/linux/xarray.h log diff annotate
message add DEFINE_XARRAY_ALLOC for 6.6.53 drm

date 2024-10-01T06:30:40Z
author jsg
files src/sys/dev/pci/drm/drm_drv.c log diff annotate
message drm: Use XArray instead of IDR for minors

From Michal Winiarski
d2e3d344e20e605378556610811549249298d0aa in linux-6.6.y/6.6.53
5fbca8b48b3050ae7fb611a8b09af60012ed6de1 in mainline linux

date 2024-10-01T06:36:45Z
author jsg
files src/sys/dev/pci/drm/drm_drv.c log diff annotate
src/sys/dev/pci/drm/drm_file.c log diff annotate
src/sys/dev/pci/drm/drm_internal.h log diff annotate
src/sys/dev/pci/drm/include/drm/drm_file.h log diff annotate
message accel: Use XArray instead of IDR for minors

From Michal Winiarski
f6b589e361538285fdad8cf62143e3cf3b2c8b2a in linux-6.6.y/6.6.53
45c4d994b82b08f0ce5eb50f8da29379c92a391e in mainline linux

date 2024-10-01T06:41:22Z
author jsg
files src/sys/dev/pci/drm/drm_drv.c log diff annotate
message drm: Expand max DRM device number to full MINORBITS

From Michal Winiarski
e615cd84dcf834e83b333bfb690fc2032b3fdb85 in linux-6.6.y/6.6.53
071d583e01c88272f6ff216d4f867f8f35e94d7d in mainline linux

date 2024-10-01T06:46:19Z
author jsg
files src/sys/dev/pci/drm/drm_drv.c log diff annotate
message remove unused variable

date 2024-10-01T08:28:34Z
author claudio
files src/sys/kern/kern_sig.c log diff annotate
src/sys/kern/sys_process.c log diff annotate
src/sys/sys/proc.h log diff annotate
message Adjust ptrace interface to properly suport single threaded continue.

Introduce P_TRACESINGLE flag to instruct the trapped thread to not
wakeup the other threads (via single_thread_clear). This must be done
like this since ptrace must wake just the single thread to ensure it
runs first and gets the ps_xsig value from ptrace.

Modern gdb depends on this for multi-threaded processes, when a breakpoint
is hit gdb fixes up the trapping instruction and then single steps over
it with only that thread. After that single step gdb continues with all
threads. If all threads are run like now it is possible that one of the
other threads hits a breakpoint before the single step is done which results
in an assertion in gdb (because that is not expected).
OK mpi@

date 2024-10-01T09:22:25Z
author claudio
files src/sys/kern/kern_resource.c log diff annotate
src/sys/sys/resourcevar.h log diff annotate
message Make it more obvious which ruadd argument is the source and which one is
the destination by adding const to the source pointer.

OK tb@