Commit Graph

278280 Commits

Author SHA1 Message Date
rin e5988cc162 Enable snapper(4) and friends. It works just fine. 2020-07-04 12:00:15 +00:00
rin 298a50bd42 - Adjust location of \n in attach message.
- Convert to aprint_*(9).
2020-07-04 11:55:18 +00:00
rillig b51cedc104 make(1): remove unnecessary _t suffix from VarLoop type 2020-07-04 10:49:09 +00:00
rillig 27435682ca make(1): fix documentation of Var_Subst, clean up other documentation 2020-07-04 10:46:31 +00:00
rillig 1ebd6baaaf make(1): remove unnecessary forward declarations, fix indentation 2020-07-04 10:35:30 +00:00
rillig 512cc40040 make(1): remove unnecessary forward declarations 2020-07-04 10:19:39 +00:00
rillig 40c4e04e76 make(1): add tests for the :S and :C modifiers 2020-07-04 09:21:30 +00:00
bouyer 387aaee01a Fix unset_idtgate() for XENPV, pointed out by yamaguchi@ 2020-07-04 09:03:54 +00:00
ryoon f75ffeda10 man4: Add Linux USB 3.0 debu port to ugensa.4 2020-07-04 08:10:21 +00:00
ryoon ac76789489 usb/ugensa: Support Linux USB 3.0 debugging port serial communication 2020-07-04 08:07:02 +00:00
ryoon d8bdfea95f usbdevs: Regenerate 2020-07-04 08:06:12 +00:00
ryoon 11e94a8068 usbdevs: Add Linux USB 3.0 debugging port serial device 2020-07-04 08:05:26 +00:00
skrll db6bf946c6 Protect with #ifdef _KERNEL 2020-07-04 07:02:35 +00:00
skrll 08ffba536b Trailing whitespace 2020-07-04 06:24:53 +00:00
lukem 564e323839 add missing RCSIDs
(copyrights could be added too - that's up to christos@)
2020-07-04 05:18:37 +00:00
rin 95165b7965 Fix previous; add missing <uvm/uvm.h> include. 2020-07-04 04:59:36 +00:00
rin 8c4e0d2bbb Fix uvmexp.ncolors for some big.LITTLE configuration; it is uncertain
which CPU is used as primary, and as a result, secondary CPUs can
require larger number of colors.

In order to solve this problem, update uvmexp.ncolors via
uvm_page_recolor(9) when secondary CPUs are attached, as done for
other ports like x86.

Pointed out by jmcneill@, and discussed on port-arm@:
http://mail-index.netbsd.org/port-arm/2020/07/03/msg006837.html

Tested and OK'd by ryo@.
2020-07-04 04:39:20 +00:00
lukem 702ffa073c make: fix sign-compare warning
Fix -Wsign-compare warning on amd64, introduced in rev 1.239
2020-07-04 03:08:20 +00:00
lukem 95fccb75a2 NetBSD-ftpd 20200615
Update version to "NetBSD-ftpd 20200615" for changes:
- Increase some buffer sizes.
- Rename blacklist to blocklist.
2020-07-04 01:20:42 +00:00
uwe 71a0f0ceb5 wtouchln - verify/clip input parameters
From Naman Jain in PR lib/55454
2020-07-03 23:28:51 +00:00
rillig f4f4a9077d make(1): reduce line length in var.c 2020-07-03 22:40:55 +00:00
rillig c1dbee04ea make(1): refactor ApplyModifier_SysV to have less indentation 2020-07-03 22:34:22 +00:00
rillig 977d1d3077 make(1): clean up documentation, small refactorings for variables
- document the callback for VarModify
- clearly mark the callbacks
- shorten the documentation for some callback functions
- fix the documentation of VarSYSVMatch
- remove unnecessary null check from VarLoopExpand
- add test for applying modifiers to empty strings
2020-07-03 22:10:42 +00:00
jdolecek 8648f78621 add a cast to (struct statvfs *) for STATVFSBUF_GET() to make sure it's
never assigned to anything else
2020-07-03 19:37:27 +00:00
rillig ec00d0b13b make(1): add another test for the SysV :%=% modifier 2020-07-03 19:29:25 +00:00
pgoyette 1aba634484 Consistent use of comma in lists. 2020-07-03 19:22:38 +00:00
rillig 9215194b8f make(1): add expected test result for modmisc 2020-07-03 19:21:11 +00:00
christos 5a80c6a868 sync with mount.h, always use the structure size. 2020-07-03 19:00:01 +00:00
jdolecek 6471d774f6 don't overallocate (follows similar change to compat/sys/statvfs.h) 2020-07-03 18:49:37 +00:00
rillig 839d614315 make(1): fix bug in :E modifier, introduced in r1.239 today
That case was not covered by the tests before.
2020-07-03 18:41:50 +00:00
rillig abc8b07393 make(1): fix indentation in var.c
Fixing the indentation manually is a tedious task.  indent(1) was no help
since it has several bugs and is not flexible enough for the original
make code.
2020-07-03 17:48:47 +00:00
skrll b1eeadb79c KNF (sort includes) 2020-07-03 17:22:14 +00:00
skrll 4a314e0b78 1 page is enough for memhook now since the merge of the rmind-uvmplock
branch and the removal of sys/arch/arm/arm32/mem.c

The last users of memhook don't care about number of CPUs or page colours.
2020-07-03 17:14:23 +00:00
rillig dfddd9d1ba make(1): add Hash_ForEach to avoid duplicate code 2020-07-03 17:03:09 +00:00
rillig aa9c7243ec make(1): fix indentation and alignment 2020-07-03 17:00:47 +00:00
maxv ef06fc5cad hardclock_ticks -> getticks() 2020-07-03 16:23:02 +00:00
maxv 0da96df8e5 In cpu_uarea_{alloc,free}:
- My previous change in this file was not correct, kremove does not free
   the underlying PA, which caused a very slow leak under memory pressure.
   Rework to correctly free the PA.
 - Add a second redzone, this time after the stack, to catch several stack
   overflows. The main concern is read overflows which leak the heap that
   follows the stack.
 - UVM_KMF_WAITVA doesn't fail, so remove error check.
 - Add KASSERTs.
2020-07-03 16:17:24 +00:00
maxv f235863a23 Enable trace-cmp. 2020-07-03 16:12:16 +00:00
maxv 0cdc224fdb Sync trace-pc and trace-cmp. 2020-07-03 16:11:11 +00:00
maxv 81c09e8431 Print the backend name when attaching. 2020-07-03 16:09:54 +00:00
maxv 66af4cddad more 2020-07-03 16:07:52 +00:00
rillig 51f9ee534b make(1): make code for the :E and :R modifiers simpler 2020-07-03 15:42:43 +00:00
rillig 6315badb6d make(1): add test for :R modifier 2020-07-03 15:41:37 +00:00
rillig 5686930b74 make(1): add more tests for :H, :T and :E modifiers 2020-07-03 15:33:01 +00:00
skrll 3b3140f5f6 KNF 2020-07-03 15:31:25 +00:00
rillig 2ea85ac206 make(1): clean up code for the :H and :T modifiers 2020-07-03 15:24:31 +00:00
rillig ab6a4b146c make(1): add test for :H and :T modifiers with several words 2020-07-03 15:22:35 +00:00
rillig ff424d034e make(1): add missing test for the :H and :T modifiers 2020-07-03 14:59:17 +00:00
rillig 1ea1146121 make(1): refactor ApplyModifiers
Previously, ApplyModifiers was 1200 lines long and pretty complicated.
Now each of the complicated modifiers has its own function, which reduces
the indentation and makes it possible to use early returns.
2020-07-03 14:14:04 +00:00
christos d6527692c4 don't overallocate (requested by maxv@) 2020-07-03 14:08:53 +00:00