riscv64 TLB flush optimization

2021-09-29 Thread Mark Kettenis
The diff below optimizes TLB flushes a bit, attempting to flush a whole range instead of individual pages in pmap_remove() and only do a flush when we actually insert a mapping in pmap_enter(). This survived a make build on my machine, but some further testing would be appreciated. Index:

Re: Variable type fix in parse.y (all of them)

2021-09-29 Thread Theo de Raadt
OK deraadt

Variable type fix in parse.y (all of them)

2021-09-29 Thread Christian Weisgerber
The oft-copied parse.y code declares some variables as "unsigned char *" but passes them to functions that take "char *" arguments and doesn't make any use of the unsigned property. For OpenBSD's clang, -Wpointer-sign has been disabled by default, but when that code is built elsewhere, the

ipsec ipsp init

2021-09-29 Thread Alexander Bluhm
Hi, These global initialized variables behave poorly with MP. I would like to put the tdb pool init into an init function. ok? bluhm Index: netinet/ip_ipsp.c === RCS file: /data/mirror/openbsd/cvs/src/sys/netinet/ip_ipsp.c,v