OpenBSD cvs log

created 2019-07-20T01:26:07Z
begin 2019-07-15T00:00:00Z
end 2019-07-16T00:00:00Z
path src/sys
commits 14

date 2019-07-15T00:35:10Z
author jsg
files src/sys/arch/amd64/amd64/bios.c log diff annotate
src/sys/arch/i386/i386/bios.c log diff annotate
message store smbios date string in globally visible var for drm
ok mlarkin@ kettenis@

date 2019-07-15T00:52:52Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
src/sys/dev/pci/drm/include/linux/dmi.h log diff annotate
src/sys/dev/pci/drm/include/linux/kconfig.h log diff annotate
src/sys/dev/pci/drm/include/linux/mod_devicetable.h log diff annotate
message Add dmi functions used by drm_panel_orientation_quirks.c and enable

ok mlarkin@ kettenis@

date 2019-07-15T00:57:44Z
author jsg
files src/sys/dev/pci/drm/i915/i915_drv.c log diff annotate
message Replace local method of determining rasops rotation with

ok mlarkin@ kettenis@
tested by kettenis@ on Asus T100HA

date 2019-07-15T01:05:01Z
author jsg
files src/sys/dev/pci/drm/drm_linux.c log diff annotate
message put smbios date access under NBIOS > 0 instead of CONFIG_DMI

date 2019-07-15T03:35:23Z
author jsg
files src/sys/dev/pci/drm/include/linux/pci.h log diff annotate
message add PCI_BUS_NUM()

date 2019-07-15T03:37:32Z
author jsg
files src/sys/dev/pci/drm/amd/powerplay/hwmgr/smu_helper.c log diff annotate
message unstub phm_irq_process()

date 2019-07-15T04:11:03Z
author visa
files src/sys/kern/exec_script.c log diff annotate
src/sys/kern/kern_descrip.c log diff annotate
src/sys/kern/kern_exec.c log diff annotate
src/sys/kern/sys_pipe.c log diff annotate
message Do not relock fdp in fdrelease(). This prevents unnecessary locking
in the common case.

OK mpi@

date 2019-07-15T08:35:48Z
author mlarkin
files src/sys/arch/amd64/amd64/pmap.c log diff annotate
message Fix a direct map bug that affected machines with > 1023GB physical
memory (or, more precisely, those machines that had physical memory
regions extending past physical address 1023GB).

ok kettenis

date 2019-07-15T09:05:46Z
author semarie
files src/sys/kern/sys_pipe.c log diff annotate
message revisit pipe initialization and buffer management

- in dopipe(), get an already zeroed struct (PR_ZERO) instead of manually initialize each member (in pipe_create)
- rename pipespace() and pipe_free_kmem() to pipe_buffer_realloc() and pipe_buffer_free(): it is more evident that the functions works on the same thing
- in pipe_buffer_free(), return early and move the if-body as function body

No functional change intented.

ok anton@ visa@ mpi@

date 2019-07-15T12:28:06Z
author bluhm
files src/sys/kern/uipc_proto.c log diff annotate
src/sys/kern/uipc_usrreq.c log diff annotate
src/sys/sys/unpcb.h log diff annotate
message Convert struct unpcb malloc(9) to pool_get(9).
OK mpi@ visa@

date 2019-07-15T12:40:42Z
author bluhm
files src/sys/netinet/in_pcb.c log diff annotate
src/sys/netinet/in_pcb.h log diff annotate
src/sys/netinet/in_proto.c log diff annotate
message Initialize struct inpcb pool not on demand, but during initialization.
Removes a global variable and avoids MP problems.
OK mpi@ visa@

date 2019-07-15T14:56:45Z
author beck
files src/sys/kern/vfs_lookup.c log diff annotate
src/sys/kern/vfs_syscalls.c log diff annotate
message Make realpath posixly correct by changing the kernel implementation
to not succeed on final path components that do not exist.
The original implmentation succeeded in these cases.

ok bluhm@

date 2019-07-15T15:05:21Z
author beck
files src/sys/kern/vfs_syscalls.c log diff annotate
message revert unintended change that snuck in last commit

date 2019-07-15T20:44:48Z
author mpi
files src/sys/kern/kern_resource.c log diff annotate
src/sys/kern/sched_bsd.c log diff annotate
src/sys/sys/sched.h log diff annotate
message Stop calling resched_proc() after changing the nice(3) value of a process.

Changing the scheduling priority of a process happens rarely, so it isn't
strictly necessary to update the current priority of every threads

Moreover resched_proc() isn't well suited to perform this action: it doesn't
consider the state of each thread nor move them to another runqueue.

ok visa@