Commit Graph

162059 Commits

Author SHA1 Message Date
ad 60dc8508be Add _RB_NFIND: finds the first node greater than or equal to the search key.
From FreeBSD and used by jemalloc.
2007-09-06 23:26:50 +00:00
martin 5bb7297fe4 Remove the (now unused) second 64k page mapped per CPU.
From matthew green, with small changes by me. All bugs are mine.
2007-09-06 20:22:51 +00:00
martin c5afd73c62 Do not call smp_tlb_flush_all() on every pmap_update() - it is too big
a hammer and papers over other problems. We need to revisit this and
fix it correctly soon.
2007-09-06 19:36:33 +00:00
joerg beb47a3000 Add some options and drivers only found in GENERIC_LAPTOP:
- add PMS_SYNAPTICS_TOUCHPAD
- add njata at cardbus
- add re at cardbus
- add stuirda at uhub
- add ugensa at uhub
2007-09-06 18:09:00 +00:00
pooka 3875108e18 document puffs_framev_framebuf_ccpromote() 2007-09-06 18:01:34 +00:00
pooka 08386a8ca4 adapt to new cmpfb signature 2007-09-06 16:09:09 +00:00
pooka 56b35d3b97 Give cmpframe() the ability to shortcircuit the comparison loop by
signalling back that the buffer under examination is not a response
at all.
2007-09-06 16:08:55 +00:00
martti 0f6d8bb8f7 Fixed indentation (it should be <keyword><space><tab><name>tab><comment>). 2007-09-06 11:05:33 +00:00
martti 69ed1f7c4c Fixed indentation (it should be <keyword><space><tab><name><tab><comment>). 2007-09-06 10:24:13 +00:00
jnemeth 8e9c7dbf0c PR/36933 - Robert Elz -- ARPA IPv6 -> IPv6 2007-09-06 09:32:52 +00:00
jnemeth d9fff48060 PR/36931 - Wouter Schoot -- typo 2007-09-06 09:26:21 +00:00
he a37504be16 Remove a now-unused local variable. 2007-09-06 08:52:36 +00:00
he 446d51fb9b Remove a now-unused local variable. 2007-09-06 08:14:30 +00:00
rmind 94fb9a4b80 Fix various possible dereferences via uvmspace_free() of non-initialized *vm.
Also, error case might happen before proc_vmspace_getref() (hi <ad>!).
Thanks CID 4551 and 4552. This is serious, pullup will be requested.

OK by <wrstuden>.
2007-09-06 04:00:44 +00:00
xtraeme a0b933c5b2 CID 4498: print_entry() returning without freeing 'fp'.
Ok by rmind@.
2007-09-06 03:01:55 +00:00
rmind 7b2bfeb941 uid_find: Destroy mutex before free.
From CID: 4555
2007-09-06 02:03:06 +00:00
rmind 93f0cb5cdf do_sys_sendmsg: Plug a possible leak.
From CID: 4535
2007-09-06 01:21:00 +00:00
rmind 27ad3d8619 nfs_mount: Plug a possible leaks.
Invented in 1.114 rev.
From CID: 4534
2007-09-06 01:11:44 +00:00
joerg 8fe0ea8b87 Document that amd64 and i386 have cgd in GENERIC. 2007-09-06 00:34:49 +00:00
joerg 2b7b64c970 Enable CGD in GENERIC for amd64 and i386. 2007-09-06 00:31:08 +00:00
agc bfcfc227d3 Make it more obvious what "refuse" is compatible with.
Grammar--
2007-09-05 22:42:54 +00:00
pooka d7dbef6aec move static KASSERT from mount to init 2007-09-05 22:34:17 +00:00
bouyer 94525f8950 Re-enable interrupts before checking for RAS; pointed out by YAMAMOTO Takashi. 2007-09-05 19:30:01 +00:00
bouyer d61110de20 Switch to dynamically-sized grant tables, available since Xen-3.1.0.
This removes a hard limit that would prevent a guest from running with more
than 7 virtual network interface.
If running on a hypervisor that doesn't support GNTTABOP_query_size, fall back
to a 4-pages grant table, so this change is backward-compatible.
2007-09-05 19:15:42 +00:00
pooka 059aa1fbbc fix usage. from Karl Jenkinson 2007-09-05 17:15:35 +00:00
xtraeme ea959a70c5 Remove ONEWIRE_NOWAIT, it's unused now. 2007-09-05 15:39:22 +00:00
rillig c68448a666 The layout of the website has changed. Fixed improper capitalization of
NetBSD.
2007-09-05 15:29:10 +00:00
xtraeme f5ad59004f onewire_lock: remove the flags argument and change the return type to void.
This function is not expected to return an int, because rw_enter() will
always succeed.
2007-09-05 15:24:07 +00:00
xtraeme c5c7ad7f7c Fix up the it(4) example. 2007-09-05 14:18:55 +00:00
xtraeme 12204718f1 Improve the EVENTS section. 2007-09-05 13:21:16 +00:00
xtraeme 5779f29ae2 Mention that I added support to handle envsys(4) events. 2007-09-05 12:45:51 +00:00
xtraeme 019fd89d16 Improve grammar. 2007-09-05 12:35:08 +00:00
xtraeme 7d70bbe22b Improve the EVENTS section. 2007-09-05 12:05:14 +00:00
mgrooms 324a68d0b7 Sort sainfo sections on insert and improve matching logic. 2007-09-05 06:55:44 +00:00
jnemeth 2c21568896 yet more caddr_t fallout 2007-09-05 05:36:19 +00:00
dyoung 99975917cd We cannot sleep in a software interrupt, so do not sockaddr_dl_alloc(...,
M_WAITOK).  Instead, sockaddr_dl_init() a sockaddr_dl on the stack.
2007-09-05 05:29:35 +00:00
bouyer 26281fbd54 Fix build failure when for kernel with options LOCKDEBUG.
Pointed out by Christoph Egger.
2007-09-04 21:19:11 +00:00
xtraeme 9622f8ee94 s/ENVSYS_FMONDRVSTATE/ENVSYS_FMONSTCHANGED/. Noticed by Manuel Bouyer@. 2007-09-04 20:46:00 +00:00
xtraeme f0d0cd6d25 Explain the events that this driver will send to powerd(8). 2007-09-04 17:27:41 +00:00
xtraeme f1a8abb9c7 Xref powerd(8). 2007-09-04 17:19:51 +00:00
xtraeme 29742be0c4 Only three events are reported now:
normal
	state-changed
	user-capacity

But there's a fourth argument passed to the script that will report
current state description.
2007-09-04 16:59:49 +00:00
xtraeme debeab5278 - Use a ENVSYS_BATTERY_STATE sensor rather than ENVSYS_GSTRING.
- Use ENVSYS_FMONSTCHANGED on the ENVSYS_BATTERY_STATE sensor to monitor
  state changes.
2007-09-04 16:56:30 +00:00
xtraeme b5822e79d4 Update to match current code. 2007-09-04 16:55:02 +00:00
xtraeme 6263ca5fa3 Update to match current kernel code. 2007-09-04 16:54:37 +00:00
xtraeme 5b53183e98 - Remove ENVSYS_GSTRING and the genstr member from envsys_data_t.
(at least three or four persons were against it).
- Add a new sensor type: ENVSYS_BATTERY_STATE, this uses value_cur
  and some predefined values in a static table, like ENVSYS_DRIVE.
- Move all static tables to sysmon_envsys_tables.c and use a function
  on it to retrieve a pointer to the struct of the specified type.
- Rename the ENVSYS_FMONDRVSTCHANGED to ENVSYS_FMONSTCHANGED and make
  it generic for Battery state and drive sensors (this flag enables
  monitoring on these sensors when state has been changed).
- Update sysmon_penvsys_event() to report state changes on
  ENVSYS_BATTERY_STATE sensors and remove other type of events, with
  PENVSYS_EVENT_STATE_CHANGED they are not necessary anymore.
2007-09-04 16:54:02 +00:00
pooka 96356ccdfd init tbr_callout in all cases (hi ad!) 2007-09-04 14:17:16 +00:00
yamt 7f9dc6bf93 compilation fixes. (simple_lock/unlock -> mutex_spin_enter/exit) 2007-09-04 13:50:26 +00:00
tls ae75a5cdbe This program is a host tool, so when we use newfangled C features like
PRIxyz we have to ensure it still builds on hosts with Old compilers.
Noticed while building a cross-toolchain on FreeBSD 4.
2007-09-04 00:34:58 +00:00
pooka 89e48410c4 * don't allow the file server to specify a node size to be VSIZENOTSET
* KASSERT that VNOVAL == VSIZENOTSET
2007-09-04 00:11:38 +00:00
drochner dce09ea075 clean up some definitions around rune_t which are not needed anymore 2007-09-03 20:31:56 +00:00