Commit Graph

603 Commits

Author SHA1 Message Date
christos cf1b9a81ef regen 2024-05-20 01:40:44 +00:00
christos eafd8a950e regen 2024-05-19 22:27:15 +00:00
martin 3fd84419c8 PR kern/57626: instead of an (arbitrary) FAKE_PAGE_SHIFT (and always
using 4k pages), query the hypervisor for the real page size of the host
kernel and use that for architectures that do not have compile time
constant page sizes.
2023-09-24 09:33:26 +00:00
ad a332a8c53a Regen. 2023-09-23 18:21:43 +00:00
ad ef0f79c8d1 Back out recent change to replace pool_cache with then general allocator.
Will return to this when I have time again.
2023-09-12 16:17:21 +00:00
ad 90520be389 Regen. 2023-09-10 14:46:18 +00:00
ad 960de9c410 Regen. 2023-09-09 18:28:48 +00:00
andvar aeb27b06e1 fix typos in comments. 2023-08-17 14:19:49 +00:00
christos 63ea783feb regen 2023-07-28 18:20:28 +00:00
christos 5e697ece84 Regen 2023-07-10 02:37:05 +00:00
hannken 88d3450436 Regen. 2023-06-15 09:15:13 +00:00
thorpej 6ffff4f242 Garbage-collect the remaining vestiges of netisr. 2022-09-03 02:47:59 +00:00
mlelstv c57aea46e3 provide pmap_wired_count macro. 2022-08-22 13:22:10 +00:00
thorpej be4026be97 Regen for:
Make kqueue event status for vnodes shareable, and for stacked file systems
like nullfs, make the upper vnode share that status with the lower vnode.

And, lo, NetBSD 9.99.99.

Fixes PR kern/56713.
2022-07-18 04:32:35 +00:00
hannken c3e6fdfefb Regen. 2022-05-03 13:55:29 +00:00
hannken b4444624ac Regen. 2022-05-03 08:35:11 +00:00
yamaguchi 5ed34580b8 Added a kernel option to run LACP on a half duplex interface 2022-03-31 01:36:47 +00:00
thorpej 1c0099b06d regen for "struct sigaltstack" -> "stack_t" 2021-11-01 05:26:27 +00:00
thorpej 051986d92d Regen for:
Overhaul of the EVFILT_VNODE kevent(2) filter:

- Centralize vnode kevent handling in the VOP_*() wrappers, rather than
  forcing each individual file system to deal with it (except VOP_RENAME(),
  because VOP_RENAME() is a mess and we currently have 2 different ways
  of handling it; at least it's reasonably well-centralized in the "new"
  way).
- Add support for NOTE_OPEN, NOTE_CLOSE, NOTE_CLOSE_WRITE, and NOTE_READ,
  compatible with the same events in FreeBSD.
- Track which kevent notifications clients are interested in receiving
  to avoid doing work for events no one cares about (avoiding, e.g.
  taking locks and traversing the klist to send a NOTE_WRITE when
  someone is merely watching for a file to be deleted, for example).

In support of the above:

- Add support in vnode_if.sh for specifying PRE- and POST-op handlers,
  to be invoked before and after vop_pre() and vop_post(), respectively.
  Basic idea from FreeBSD, but implemented differently.
- Add support in vnode_if.sh for specifying CONTEXT fields in the
  vop_*_args structures.  These context fields are used to convey information
  between the file system VOP function and the VOP wrapper, but do not
  occupy an argument slot in the VOP_*() call itself.  These context fields
  are initialized and subsequently interpreted by PRE- and POST-op handlers.
- Version VOP_REMOVE(), uses the a context field for the file system to report
  back the resulting link count of the target vnode.  Return this in tmpfs,
  udf, nfs, chfs, ext2fs, lfs, and ufs.

NetBSD 9.99.92.
2021-10-20 03:13:14 +00:00
thorpej 8c412c830b Regen for eventfd(2) and timerfd(2). 2021-09-19 15:52:04 +00:00
ozaki-r 58bf21983f Rump-ify ALTQ (librumpnet_altq.so) 2021-07-14 03:19:23 +00:00
dholland 2c78619879 Regen. 2021-07-02 16:57:15 +00:00
dholland a132dee94d Regen. 2021-06-29 22:40:06 +00:00
dholland 0c749716e7 Regen. 2021-06-29 22:37:11 +00:00
dholland 4a638e88a3 Regen. 2021-06-16 01:52:39 +00:00
yamaguchi f0101d0e08 Add a new link-aggregation pseudo interface named lagg(4)
- FreeBSD's lagg(4) based implementation
 - MP-safe and MP-scalable
2021-05-17 04:07:41 +00:00
christos 2a72b2ad75 PR/55781: Ruslan Nikolaev: rump_init() does differentiate when all CPUs are
initialized
2020-11-04 22:06:38 +00:00
martin 5f6c9b1187 Add turnstile_print prototype for LOCKDEBUG 2020-11-04 19:27:53 +00:00
christos a7bda7d7ba regen 2020-11-02 18:56:15 +00:00
christos e71b1b1e70 PR/55664: Ruslan Nikolaev: Fix:
1. A race condition (bug) in sys/rump/librump/rumpkern/intr.c since
   rumpuser_cv_signal() is called without holding a mutex
2. sleepq is implemented using a single (global) conditional
   variable; that should be done per each sleepq separately
2020-11-01 20:58:38 +00:00
riastradh 61fd7d67f5 [ozaki-r] Add wg files 2020-08-20 21:28:00 +00:00
riastradh d18c7c1a89 regen 2020-08-14 00:55:02 +00:00
kamil 52d61e4d3d Remove old compat include of rump_syscallshotgun.h
It was separated in 2016 and is no longer needed.
2020-06-14 23:38:25 +00:00
kamil f39d324fdc Fix header compatibility with C++
This file is OS-agnostic and cannot include OS specific headers.

The fallback for NetBSD specific symbol __BEGIN_DECLS didn't work as it was
misspelled as _BEGIN_DECLS.
2020-06-14 22:12:58 +00:00
dholland a3e1f5bd7e Regen with new makesyscalls.
(the large diff of rump_syscalls.h has been checked and was the point
of the makesyscalls change)
2020-06-11 03:45:30 +00:00
kamil f1494b8e65 Regenerate syscalls
Respect syscall alias names in rump.

No binary change in this version.

The previous commit was interrupted in the middle by CVS network outage.
2020-06-02 17:23:21 +00:00
kamil 5973a35f2d Regenerate native NetBSD syscalls
The only change is rump repecting syscall alias names.

No binary change.
2020-06-02 17:02:32 +00:00
ad 2c626bbc9e Regen. 2020-05-30 20:16:34 +00:00
rin 16cf775ed6 Regen. 2020-05-27 02:04:37 +00:00
ad 7551c863fb Regen. 2020-05-26 22:06:11 +00:00
christos 9aa2a9c323 Add ACL support for FFS. From FreeBSD. 2020-05-16 18:31:45 +00:00
ad a8497e6541 Regen. 2020-05-12 23:18:03 +00:00
thorpej e8cbcd2cdd Regen for futex call relocation. 2020-04-26 19:16:35 +00:00
thorpej 4206b0ab03 Regen for native futex calls. 2020-04-26 18:59:47 +00:00
bouyer 70195d9f2a Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor
2020-04-25 15:42:14 +00:00
thorpej a1ae221d59 Regen for removal of _lwp_gettid(2). 2020-04-22 21:25:17 +00:00
ad e1c1e00642 Regen. 2020-04-04 20:52:18 +00:00
thorpej 4626c667bc Regen for _lwp_gettid(2). 2020-04-04 20:27:27 +00:00
ad 7946929d7b Regen. 2020-03-23 23:28:47 +00:00
ad 57fc25cc35 Regen. 2020-03-23 18:43:48 +00:00