Commit Graph

4910 Commits

Author SHA1 Message Date
mycroft e0fa548a12 Optimize the run queue frobnication, and add some more DIAGNOSTIC checks. 1994-09-09 02:56:54 +00:00
mycroft 289bc175c6 Another tiny optimization. 1994-09-08 21:56:14 +00:00
mycroft a90cca9558 Add a simple pv_page garbage collector (currently disabled). 1994-09-08 21:03:43 +00:00
mycroft 4116a4243e Various changes:
* Inline some functions.
* Eliminate redundant calls to pmap_page_index().
* Reduce the number of TLB flushes in accordance with the i386 SSWG.
* Inline pmap_remove() in pmap_remove_all().  (Most if it is unnecessary.)
* Allocate pv_entry's in pages, and keep a list of free entries in each page,
and a list of pages with free entries.  (Trying to reduce malloc() overhead,
and improve locality of reference.)
* Remove a couple of macros that aren't really useful.
* Remove pmap_kernel() completely.
1994-09-07 20:48:52 +00:00
mycroft d884d26b32 Trivial change of no significance. 1994-09-07 20:32:45 +00:00
mycroft 9d4125d1ec A few small optimizations. 1994-09-07 20:32:00 +00:00
mycroft 6dd2f9eed2 vm_object_page_clean() expects to be able to use vm_page_deactivate() on a
locked page.  Make that work.  This also obviates the need for vm_fault() to
bogusly activate a page before deactivating it.  Finally, make sure the
semantics of vm_object_deactive_pages() don't change.
1994-09-07 20:25:07 +00:00
mycroft e4bc47c9fc Remove bogus attempt to map the interrupt pins here. The BIOS is supposed to
do it anyway.
1994-09-06 01:25:22 +00:00
pk 09301847a4 Compile `pamap.c' and `cache.c' with normal compiler rules.
Let's pretend this was a bug in some previous version of gcc...
1994-09-05 06:31:34 +00:00
mycroft 3e334ba9a6 New iBCS2 code from Scott. 1994-09-05 01:28:57 +00:00
mycroft faa18f6ce6 New iBCS2 code from Scott. 1994-09-05 01:08:43 +00:00
mycroft 584de55692 Missed an iobase that should be u_short. 1994-09-05 00:21:40 +00:00
pk cdca6c22c4 Don't clobber our input arguments. 1994-09-02 08:13:20 +00:00
mycroft 6c66af544c Fix some ugly code. 1994-09-02 05:12:12 +00:00
jtc b3b55d02f1 Misc changes to make this file more like the asm.h headers used by other
architectures:
	Renamed _C_FUNC() to _C_LABEL()
	Renamed _ASM_FUNC() to _ASM_LABEL()
	Merged _BEGIN_ENTRY with _ENTRY
	Renamed _END_ENTRY to _PROF_PROLOGUE

When assembling with profiling enabled, set up stack frame before calling
mcount() in _PROF_PROLOGUE.  Also omit emitting .long 0's, as they are no
longer used by the profiling code.
1994-09-02 05:02:47 +00:00
mycroft b1f0fa317e Decrease shm_nused when a segment is deleted. 1994-08-31 21:47:36 +00:00
chopps bf10f9424c cleanup diagnostic messages 1994-08-31 02:13:01 +00:00
chopps 41a2d35564 fix uninitialized use of mask. 1994-08-30 23:06:48 +00:00
pk cdf3d1ed89 mknod() must release its new vnode. 1994-08-30 19:42:22 +00:00
deraadt 5aa2f1e6bb remove an un-aligned access 1994-08-30 17:01:57 +00:00
briggs e696d464eb Use vn.h instead of forcing NVN to 0. 1994-08-30 11:04:17 +00:00
mycroft c996edc7e1 Display emulation type. 1994-08-30 06:22:10 +00:00
mycroft 9ea30b3bf3 Check for bad p_emul. 1994-08-30 06:19:44 +00:00
mycroft 227e4cb85c Make sure p_emul is copied on fork. 1994-08-30 06:16:25 +00:00
mycroft 016425e503 Clean up some debugging code. 1994-08-30 05:37:14 +00:00
chopps c7401f5866 catch mis-aligned access errors on the 040. 1994-08-30 05:35:31 +00:00
mycroft 2f710a54ee Convert process, file, and namei lists and hash tables to use queue.h. 1994-08-30 03:04:28 +00:00
mycroft bd61aa9ae3 Add {LIST,TAILQ}_INSERT_BEFORE(). 1994-08-30 03:01:30 +00:00
mycroft f5faab89e9 Use VCALL(), not VOCALL(), and simplify union_advlock(). 1994-08-30 03:01:01 +00:00
mycroft c8899c8f8e Fix an off-by-one error reported by Mike Hartman. 1994-08-30 01:31:11 +00:00
mycroft 90b0e68767 Clean up deleted files. 1994-08-29 23:12:23 +00:00
cgd e67ae11432 no more floppy bins; these now done by crunch. 1994-08-29 23:10:58 +00:00
mycroft f5232de492 Patch to fix `reassignbuf: NULL' messages, from cgd. 1994-08-29 01:47:02 +00:00
mycroft 8bed574dcd Clean up deleted files. 1994-08-26 20:07:34 +00:00
mycroft a13c1b15cc Minor. 1994-08-26 12:43:17 +00:00
deraadt de20d2cf67 Re-enable EISA reset code -- definately needed now. do RX_DISCARD_TOP_PACK
before leaving splhigh(), to give incoming packets a better chance.
1994-08-26 12:11:44 +00:00
deraadt 2a316aaed4 an annoying tab 1994-08-26 10:57:27 +00:00
glass 891ca8ce21 my kernel config 1994-08-26 05:07:00 +00:00
deraadt a7b2e0ee19 tmpmap page for sun4 1994-08-25 20:58:36 +00:00
deraadt 9670b47cb7 sun4: don't use openprom 1994-08-25 20:57:38 +00:00
deraadt 6c2b49032b fix debugging stuff, from dean 1994-08-25 20:18:25 +00:00
deraadt 2558d359af emulate setreuid/setregid better. 1994-08-25 07:13:55 +00:00
paulus 4eba4f38de Fix for bug pointed out by Chuck Cranor in determining whether we
have a bus error or a MMU fault.
1994-08-25 06:18:55 +00:00
paulus c4b36eb4d8 now that we have vn.h, use it 1994-08-25 06:17:28 +00:00
paulus c08d8df629 Fix from Chuck Cranor to avoid null dereference on startup. 1994-08-25 06:16:29 +00:00
paulus c673fc8fb3 Bug fixes from Chuck Cranor. 1994-08-25 06:15:39 +00:00
paulus ce95ef366a added USPACE 1994-08-25 06:14:29 +00:00
paulus f860dc0110 added major number for vn device 1994-08-25 06:13:49 +00:00
paulus 44e8ac8704 minor changes to options 1994-08-25 05:57:10 +00:00
cgd ec29b60850 gwr's slightly cleaner way to do that last... 1994-08-25 03:04:28 +00:00