Commit Graph

275704 Commits

Author SHA1 Message Date
ad c70743cce9 Mark uvm_map_entry_cache with PR_LARGECACHE. 2020-04-04 21:17:02 +00:00
kamil 068c592bb4 Add new example kernel module: current_time
Submitted by Apurva Nandan.
2020-04-04 21:15:04 +00:00
christos 42413888fc silence lint. 2020-04-04 21:13:20 +00:00
christos 9dd097b5c2 Always include the sampling member so that the struct size is consistent. 2020-04-04 21:00:03 +00:00
ad 3b26322cff vrelel(): clear VV_MAPPED with the vnode still locked. 2020-04-04 20:54:42 +00:00
ad e1c1e00642 Regen. 2020-04-04 20:52:18 +00:00
ad c90f9c8c81 Merge the remaining changes from the ad-namecache branch, affecting namei()
and getcwd():

- push vnode locking back as far as possible.
- do most lookups directly in the namecache, avoiding vnode locks & refs.
- don't block new refs to vnodes across VOP_INACTIVE().
- get shared locks for VOP_LOOKUP() if the file system supports it.
- correct lock types for VOP_ACCESS() / VOP_GETATTR() in a few places.

Possible future enhancements:

- make the lookups lockless.
- support dotdot lookups by being lockless and inferring absence of chroot.
- maybe make it work for layered file systems.
- avoid vnode references at the root & cwd.
2020-04-04 20:49:30 +00:00
christos d361eb2a3d Switch x86 to the new binutils. 2020-04-04 20:47:56 +00:00
christos 1ddbc14e50 Regen everyone! 2020-04-04 20:45:42 +00:00
thorpej 7f4d3fb1f5 Man page for _lwp_gettid(2).
(Not yet installed, pending adding the libc stub.)
2020-04-04 20:31:11 +00:00
thorpej 4626c667bc Regen for _lwp_gettid(2). 2020-04-04 20:27:27 +00:00
ad 53a0f3bd01 preempt_needed(), preempt_point(): simplify the definition of these and
key on ci_want_resched in the interests of interactive response.
2020-04-04 20:21:53 +00:00
thorpej 851998c374 NetBSD 9.99.53 -- struct lwp changed. 2020-04-04 20:21:26 +00:00
thorpej 98a9cebbb6 Add support for lazily generating a "global thread ID" for a LWP. This
identifier uniquely identifies an LWP across the entire system, and will
be used in future improvements in user-space synchronization primitives.

(Test disabled and libc stub not included intentionally so as to avoid
multiple libc version bumps.)
2020-04-04 20:20:12 +00:00
ad dac58e129b - sched_idle(): if a migration took place, rather than going idle briefly
to avoid stealing back the LWP, remember the target CPU and avoid it.

- sched_preempted(): only choose a totally idle CPU; in the interests of
  overall throughput it's better to make use of SMT / slow CPUs.
2020-04-04 20:17:58 +00:00
christos d8e96a2d4f Infrastructure for putting kernel+modules in /netbsd/kernel and
/netbsd/modules respectively instead of /netbsd and
/stand/<arch>/<version>/modules.  This is only supported for x86,
and is turned off by default. To try it, add KERNEL_DIR=yes in your
/mk.conf and install a system from that build.
2020-04-04 19:50:53 +00:00
is f6bfb0c4d8 Multilink fragment protocol type. 2020-04-04 19:46:01 +00:00
christos 8809b7dc13 fix netsmb, libgnuctf 2020-04-04 19:26:51 +00:00
kamil 52363f3637 Avoid copying zero-sized objects (from the NULL address)
Detected with UBSan
2020-04-04 19:24:51 +00:00
jdolecek 9cd2b890e6 remove also files.netsmb from here 2020-04-04 19:02:53 +00:00
christos 1aa528a00a smb is no more. 2020-04-04 17:57:16 +00:00
christos c260c42c09 remove smbfs 2020-04-04 17:56:22 +00:00
christos 70d892721f Adjust for field rename. 2020-04-04 17:25:39 +00:00
christos 4bf07a2182 more smb removal. 2020-04-04 17:20:16 +00:00
is 5dd3aa2241 Multilink PPP: sanity check of option values, storage of remote MRRU. 2020-04-04 17:12:33 +00:00
christos 82bbf8637f We don't have smbfs anymore. 2020-04-04 17:05:06 +00:00
christos ec53555ab5 gnuctf is only binutils=234 2020-04-04 17:00:05 +00:00
ad 9f344847ca Make makelists() a little bit faster. 2020-04-04 16:40:50 +00:00
jdolecek 2b7b5c0573 smbfs is no more 2020-04-04 16:25:17 +00:00
christos a874618c5e const for psignal 2020-04-04 16:14:11 +00:00
jdolecek 9f48300a54 note SMBFS and nsmb removal 2020-04-04 16:07:40 +00:00
jdolecek 68e97caa11 mark nsmb major obsolete 2020-04-04 16:06:10 +00:00
christos 1a8140ac32 fix libgnuctf 2020-04-04 16:05:39 +00:00
jdolecek 30f38bbb3f remove nsmb(4) 2020-04-04 16:04:36 +00:00
christos 1e0e781857 fix sets for new binutils 2020-04-04 16:04:01 +00:00
jdolecek f5deac875d remove some leftover nsmb(4) references from kernel configs 2020-04-04 15:56:25 +00:00
christos f8f567bba7 gssapi needs crypto 2020-04-04 15:45:45 +00:00
jdolecek 1e03bcd0cf remove SMBFS and nsmb(4) - kernel part
it's unmaintained and supports only obsolete SMB1
2020-04-04 15:43:21 +00:00
jdolecek b28734a61b remove SMBFS and nsmb/netsmb - userland part 2020-04-04 15:39:13 +00:00
jdolecek fea2af3136 remove mount_smbfs(8)/nsmb(4) references 2020-04-04 15:32:42 +00:00
christos 32fea0b104 Add --noinhibit-exec and --no-dynamic-linker 2020-04-04 15:30:46 +00:00
christos 55db262da0 Apply fix for --noinhibit-exec from:
https://www.mail-archive.com/bug-binutils@gnu.org/msg33090.html
2020-04-04 15:30:05 +00:00
ad ad9ce02e55 Enable MONITOR/MWAIT idle on AMD chips, except some buggy Ryzens. 2020-04-04 14:49:35 +00:00
jdolecek 3c3cd44a0c enable Rx checkum offload (i.e. skip) for xen netback; it works well
as long as netfront in DomU is configured to fill the checksum

documentation will be updated to recommend how the flags should be setup
on each side of the xennet(4)/xvif(4) pair
2020-04-04 14:45:37 +00:00
mlelstv 06d11bb0d0 also print the LWP reference count. 2020-04-04 13:59:16 +00:00
mlelstv 946cdc57b6 When collecting zpool devices, skip disks with wedges so that a
concurrent test of a wedge on that disk doesn't fail.
2020-04-04 13:45:22 +00:00
reinoud 22a7e85942 Indent the makefs(8) options for UDF like the other filesystems described. 2020-04-04 13:44:57 +00:00
christos e9be03e610 Linker semantics have changed; we now don't automatically link dependent
libraries from other DSO's. For example in /usr/bin/passwd:
ld: krb5_passwd.o: undefined reference to symbol \
	'UI_UTIL_read_pw_string@@OPENSSL_1_1_0'
ld: /usr/obj/amd64-x86_64/release/lib/libcrypto.so.14: error adding symbols: \
	DSO missing from command line
2020-04-04 13:33:14 +00:00
mlelstv ab334d6077 regen 2020-04-04 13:18:26 +00:00
mlelstv 4de39225f4 Add Edimax AC600 ids. 2020-04-04 13:18:11 +00:00