Joseph Koshy
a07d350c16
Document the PMC_F_CALLCHAIN flag and the kern.hwpmc.callchaindepth
...
tunable.
Sponsored by: FreeBSD Foundation and Google Inc.
2007-12-07 08:29:46 +00:00
Joseph Koshy
b6010f9e61
Introduce pmcstat(8) changes for summarizing hwpmc(4) callchain records in
...
in textual form and in gmon.out format.
Update manual page.
Sponsored by: FreeBSD Foundation and Google Inc.
2007-12-07 08:26:21 +00:00
Joseph Koshy
d07f36b075
Kernel and hwpmc(4) support for callchain capture.
...
Sponsored by: FreeBSD Foundation and Google Inc.
2007-12-07 08:20:17 +00:00
Kip Macy
2de2af32a0
Add padding for anticipated functionality
...
- vimage
- TOE
- multiq
- host rtentry caching
Rename spare used by 80211 to if_llsoftc
Reviewed by: rwatson, gnn
MFC after: 1 day
2007-12-07 01:46:13 +00:00
Randall Stewart
41eee5558c
- More fixes for lock misses on the transfer of data to
...
the sent_queue. Sometimes I wonder why any code
ever works :-)
- Fix the pad of the last mbuf routine, It was working improperly
on non-4 byte aligned chunks which could cause memory overruns.
MFC after: 1 week
2007-12-07 01:32:14 +00:00
Ed Maste
a723a5482e
Allow simultaneous opens of the device for issuing commands to the
...
controller. This is merged from Adaptec driver build 11669.
2007-12-07 00:22:23 +00:00
Xin LI
1fa8f5f051
Turn MPASS(0) into panic with more obvious reason why the assertion
...
is failed.
2007-12-07 00:00:21 +00:00
John Baldwin
8120bb7e3a
Regen.
2007-12-06 23:37:26 +00:00
John Baldwin
695e8d536c
Add freebsd32 compat wrappers for msgctl() and __semctl() using
...
kern_msgctl() and kern_semctl().
MFC after: 1 week
2007-12-06 23:36:57 +00:00
John Baldwin
3c39e0d8d4
Add freebsd32 compat wrappers for msgctl() and _semctl() using
...
kern_msgctl() and kern_semctl().
MFC after: 1 week
2007-12-06 23:35:29 +00:00
John Baldwin
d43c6fa4fe
Move 32-bit SYSV IPC structure definitions into freebsd32_ipc.h.
...
MFC after: 1 week
2007-12-06 23:23:16 +00:00
Xin LI
745973bd99
size_max should be unsigned, as such, use size_t here.
2007-12-06 23:19:05 +00:00
Olivier Houchard
91f2b6797a
Erm, add a missing else, we do not want to increase the mapping counters for
...
both kernel and userland when we create a pv for pmap_kernel.
Reported by: Mark Tinguely <tinguely AT casselton DOT net>
MFC After: 3 days
2007-12-06 23:17:24 +00:00
John Baldwin
74427aa423
Move several data structure definitions out of freebsd32_misc.c and into
...
freebsd32.h instead.
MFC after: 1 week
2007-12-06 23:11:27 +00:00
Julian Elischer
dbec798a76
Remove more dup'd code
...
MFC After: 1 week
2007-12-06 22:48:24 +00:00
Julian Elischer
90b3552e6e
remove duped code
...
Reviewed By: gnn
MRC after: 1 week
2007-12-06 22:44:24 +00:00
Julian Elischer
bf3ce91a99
No need to assert that a == b when we just set a = b.
2007-12-06 22:40:17 +00:00
Ulf Lilleengen
884d1375fc
- Add support for all geom class command options in the Fixit environment by
...
pointing GEOM_LIBRARY_PATH to the geom libraries.
PR: misc/113543
Submitted by: Ed Schouten <ed -at- fxq.nl>
Approved by: pjd (mentor)
MFC after: 1 day
2007-12-06 20:25:31 +00:00
Kip Macy
8160baf419
Change uint8_t to equivalent base language type and add line break where 80
...
characters is exceeded in bit macros
Requested by: Bruce Evans
2007-12-06 19:11:14 +00:00
Ed Maste
718b6516c0
Add new controllers supported by rev 1.64 and 1.65 of aac_pci.c
2007-12-06 18:31:57 +00:00
Ed Maste
8af086fd5c
Add more PCI ID's from Adaptec's driver, including two requested
...
by Daniel Kamm.
Adaptec RAID 51245
Adaptec RAID 51645
Adaptec RAID 52445
Adaptec RAID 5405
Sun STK RAID REM
Sun STK RAID EM
SG-XPCIESAS-R-IN
SG-XPCIESAS-R-EX
2007-12-06 18:25:29 +00:00
Dag-Erling Smørgrav
6c7faee24f
Simpler version of the previous commit.
2007-12-06 09:31:13 +00:00
John Baldwin
f97a705a99
Only attach to a GPT partition if it has the GPT_ENT_TYPE_FREEBSD type.
...
XXX: This only works currently with GEOM_GPT which only exists in 6.x.
XXX: I didn't add 'mbroffset' support for a GPT partition holding a BSD
label as I'm not sure if they use relative or absolute offsets.
MFC after: 3 days
2007-12-06 09:20:27 +00:00
John Baldwin
b850a685ce
Add several missing comma's in the fancy syscall parsing case before
...
some arguments that are parsed (e.g., semctl command names).
MFC after: 3 days
2007-12-06 08:49:43 +00:00
Daniel Eischen
396a73603d
Set the tcb (thread control block) in the child process after a fork.
...
This protects against a race with an upcall in the parent during the
fork which can clobber the parent's tcb before the vm space is copied
in the child. The child then gets a corrupted tcb that is either null
or that points to another thread that doesn't exist in the child (after
a fork, only the fork()ing thread exists in the child).
Reported by: Arno J. Klaassen (arno at heho / snv / jussieu / fr)
2007-12-06 06:04:01 +00:00
Kip Macy
208e56cb04
Respect the fact that the value a may be constant so cast to const uint8_t *
2007-12-06 04:00:59 +00:00
Marcel Moolenaar
5aaa8fefdf
Add a BSD disklabel backend to g_part:
...
o Disklabels can have between 8 and 20 partitions (inclusive).
o No device special file is created for the raw partition.
o Switch ia64 to use this backend.
o No support for boot code yet.
2007-12-06 02:32:42 +00:00
Ed Maste
e9faf6c240
Add PCI IDs for additional cards:
...
AOC-USAS-S4i
AOC-USAS-S8i
AOC-USAS-S4iR
AOC-USAS-S8iR
AOC-USAS-S8i-LP
AOC-USAS-S8iR-LP
2007-12-06 02:10:07 +00:00
Nate Lawson
52604c49a6
Hold Giant over the entire execution of the suspend path instead of
...
dropping it after each call into newbus. This doesn't fix any known
problems but seems more correct.
Submitted by: Marko Zec <zec / icir.org>
2007-12-06 01:39:23 +00:00
Randall Stewart
9c04b2966d
- optimize the initialization of the SB max variables.
...
- Missing lock when sending data and moving it to the
outqueue.
- If a mbuf alloc fails during moving to outqueue the
reassembly of the old mbuf chain was incorrect.
- some_taken becomes a counter in sctputil.c instead of a set to 1.
- Fix a panic to be only under invarients and have a proper recovery.
- msg_flags needed to be set.to the value collected not or'd.
MFC after: 1 week
2007-12-06 00:22:55 +00:00
Kip Macy
32089e4962
Fix bit macros to work on multi-byte types
...
MFC after: 1 day
2007-12-05 23:48:03 +00:00
Philip Paeps
e383ee75af
Fix a use-after-free.
...
Submitted by: Ilja van Sprundel <ilja -at- netric.org>
Reviewed by: secteam
MFC after: 1 day
2007-12-05 19:32:59 +00:00
Philip Paeps
6c3c35e413
Plug two potential (root-only, local) information leaks. buf is not
...
initialized before use and returned integrally instead of up to size.
Submitted by: Ilja van Sprundel <ilja -at- netric.org>
Reviewed by: secteam
MFC after: 1 day
2007-12-05 19:32:07 +00:00
David E. O'Brien
817a9ffcc4
style(9)
2007-12-05 18:00:41 +00:00
David E. O'Brien
77454fb40f
Reenable the Amd build. 'make world' passed on my amd64 8-CURRENT system.
2007-12-05 17:54:59 +00:00
Jung-uk Kim
cd765a6594
Teach dhclient(8) about net80211 link (association) status.
...
Reviewed by: brooks
MFC after: 3 days
2007-12-05 17:13:45 +00:00
David E. O'Brien
aa1670f3e4
Put stock 6.1.5 file into HEAD.
2007-12-05 16:57:05 +00:00
David E. O'Brien
1e2f6b2e5f
Not sure why mbr deleted this file - its useful.
2007-12-05 16:56:42 +00:00
David E. O'Brien
66a621602d
Teach Amd how to unmount.
2007-12-05 16:50:48 +00:00
David E. O'Brien
f6ab204a30
Accidently created the file with the wrong name.
2007-12-05 16:49:16 +00:00
David E. O'Brien
018facb941
'amu_autofs_prot.h'
2007-12-05 16:47:52 +00:00
David E. O'Brien
c8c5072580
Adjust for new files added to 6.1.5, and files retired from 6.0.10p1.
...
Also TCP Wrappers is now supported.
Also tweak the MK_HESIOD.
2007-12-05 16:40:05 +00:00
David E. O'Brien
3059d0275b
Update for version 6.1.5.
2007-12-05 16:38:29 +00:00
David E. O'Brien
5f03573d96
We now have to use part of the vendor supplied xdr_func.c.
...
util renamed to strutil to be more clear of its purpose.
2007-12-05 16:27:03 +00:00
David E. O'Brien
065b518c8b
These now need to link with libamu.
2007-12-05 16:25:43 +00:00
David E. O'Brien
105f3b4415
Add new BUILD_* knobs, and switch our definition & setting of BUILD_*
...
and configured settings.
2007-12-05 16:23:34 +00:00
David E. O'Brien
c640c5f4d9
Autoconf would have created a symlink from conf/autofs/autofs_default.h
...
to autoamu_autofs_prot.h. It is easier to just create shell header within
the Bmake framework.
For now it's a stub - fill out when we know our Autofs direction.
2007-12-05 16:21:44 +00:00
David E. O'Brien
6c35d3a23a
2005-05-28 Erez Zadok <ezk@cs.sunysb.edu>
...
* libamu/alloca.c: remove file from distro.
2007-12-05 16:18:44 +00:00
David E. O'Brien
654a1788fb
2005-10-02 Erez Zadok <ezk@cs.sunysb.edu>
...
* libamu/strutil.c: rename from util.c to explain better purpose
of file.
2007-12-05 16:16:56 +00:00
David E. O'Brien
0b9f1067ff
2005-03-05 Ion Badulescu <ionut@moisil.badula.org>
...
* amd/amfs_inherit.c: removed, dead code
2007-12-05 16:05:26 +00:00