summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Document pmcstat's inability to handle 32 bit executables on thejkoshy2005-10-181-0/+4
| | | | | | AMD64 while I work on a fix. Noticed by: ps
* - Use BUS_DMASYNC_PREWRITE in em_get_buf(), as the adapter is about to readcognet2005-10-181-3/+4
| | | | | | | | | | | | the descriptors set. - In em_process_receive_interrupts(), call bus_dmamap_sync() for the descriptors set each time we modify one descriptor, instead of doing it only at the function exit, to make sure the adapters know he can re-use the descriptor. This helps on arm with write-back data cache (and possibly on other arches with bounce pages, I don't know) under heavy network load. Without this, if we attempt to process more than num_rx_desc descriptors, the adapter would just stop processing rx interrupts.
* Redo physical/logical CPU count.jkim2005-10-172-6/+8
| | | | Suggested by: jhb
* Add support for kernel modules with a single PT_LOAD section.peter2005-10-171-6/+9
| | | | | | | | | | | | | | While here, support up to four sections because it was trivial to do and cheap. (One pointer per section). For amd64 with "-fpic -shared" format .ko files, using a single PT_LOAD section is important to avoid wasting about 1MB of KVM and physical ram for the 'gap' between the two PT_LOAD sections. amd64 normally uses .o format kld files and isn't affected normally. But -fpic -shared modules are actually possible to produce and load... (And with a bugfix to binutils, we can build and use plain -shared .ko files without -fpic) i386 only wastes 4K per .ko file, so that isn't such a big deal there.
* Micro optimization for context switch. Eliminate code for saving gs.basedavidxu2005-10-172-15/+2
| | | | | | | | | | and fs.base. We always update pcb.pcb_gsbase and pcb.pcb_fsbase when user wants to set them, in context switch routine, we only need to write them into registers, we never have to read them out from registers when thread is switched away. Since rdmsr is a serialization instruction, micro benchmark shows it is worthy to do. Reviewed by: peter, jhb
* Hook ipfwpcap into the build tree.phk2005-10-171-0/+1
|
* Add a small tool which captures packets on a DIVERT socket and writesphk2005-10-172-0/+320
| | | | | | | them as pcap (tcpdump) format data to a file or pipe. Volunters wanted for: manpage Contributed by: P Kern <pkern@cns.utoronto.ca>
* Allow the process name to be in square brackets ([]) in _find_processes().jhb2005-10-171-1/+1
| | | | | | PR: conf/82430 Submitted by: Pavel Volkov pol at iib dot ru MFC after: 1 week
* Another bit of sx(4) removal.jhb2005-10-171-3/+0
|
* Strip the $a, $t and $d symbols if we're using DDB. There are useless andcognet2005-10-171-0/+3
| | | | confusing in a backtrace.
* Remove a spurious newline. The TAILQ_INIT() is part of the 'faster tailqjhb2005-10-171-1/+0
| | | | | | deletion' example. MFC after: 1 week
* Document that changes to nsswitch.conf might be needed whenbz2005-10-171-1/+3
| | | | | | | | | compiling with NO_NIS. [ also see make.conf(5) and nsswitch.conf(5) ] Reviewed by: ru Requested by: dougb (and bin/87221) MFC: 22 days
* style(9) nitlet:imp2005-10-171-1/+2
| | | | | | | | | | | foo() { } to foo() { }
* Make sure that files included using ".include <foo>" are reallyru2005-10-171-17/+16
| | | | | | | | looked for in the system make file directory or in the specified -m paths instead of always looking in the other -I and .PATH specified paths. (Commit log shamelessly stolen from NetBSD.) Reviewed by: yar
* Split displaying number of physical and logical cores.jkim2005-10-172-4/+6
|
* Obtain true uptime through clock_gettime(CLOCK_MONOTONIC, struct *timespec)andre2005-10-172-25/+7
| | | | | | instead of subtracting 'bootime' from 'now'. Sponsored by: TCP/IP Optimization Fundraise 2005
* Remove now redundant NO_SHARED.ru2005-10-171-2/+0
| | | | Reviewed by: imp
* Use the clock count register as a timecounter, as it's more accurate.cognet2005-10-171-16/+13
|
* Add a valuable piece of Usenet advice about storing passwords. :-)philip2005-10-171-0/+4
| | | | Obtained from: jpd on comp.unix.bsd.freebsd.misc
* fixed a kernel crash when IPv6 PIM-SM routing is enabled and a PIM register ↵suz2005-10-171-9/+17
| | | | | | | message is received Obtained from: KAME MFC After: 3 days
* In __option_is_short(), avoid calling isprint() on key characters outsidetjr2005-10-171-1/+3
| | | | | | | | the range allowed by that function, resulting in undefined behaviour. Our undefined behaviour in multibyte locales happened to differ from glibc's, resulting in errors parsing option strings. Obtained from: Corinna Vinschen (Red Hat)
* Minor commentary correctionimp2005-10-171-3/+3
|
* xterm-basic:ache2005-10-171-2/+2
| | | | | 1) use standard vt100 as/ae instead of ^N/^O which not works in real xterm 2) Remove ^O from me, it not belongs there
* Unconditionally mount a CD9660 filesystem as read-only, instead ofrodrigc2005-10-172-4/+8
| | | | returning EROFS if we forget to mount it as read-only.
* Use the actual sector size of the media instead of hard-coding it to 2048.rodrigc2005-10-172-6/+24
| | | | | This eliminates KASSERTs in GEOM if we accidentally mount an audio CD as a cd9660 filesystem.
* Unconditionally mount a UDF filesystem as read-only, instead ofrodrigc2005-10-171-2/+4
| | | | returning an EROFS if we forget to mount it as read-only.
* Check against 8019 rather than 8029 for reading in the MAC addr sinceimp2005-10-171-1/+1
| | | | | | | the former is the ISA part, not the latter. MFC After 6.0 is unfrozen (this bug doesn't exist in 6.0 because I didn't MFC the rtl80x9 changes for ISA due to an error on my part)
* - Fix typo.flz2005-10-171-1/+1
| | | | | Approved by: ssouhlal MFC after: 1 week
* Use __pid_t instead of pid_t for sigqueue as other functions.davidxu2005-10-161-1/+1
|
* Update nwfs_lookup() to match the current cache_lookup() API.truckman2005-10-161-26/+11
| | | | | | | | | cache_lookup() has returned a ref'ed and locked vnode since vfs_cache.c:1.96, dated Tue Mar 29 12:59:06 2005 UTC. This change is similar to the change made to smbfs_lookup() in smbfs_vnops.c:1.58. Tested by: "Antony Mawer" ant AT mawer.org MFC after: 2 weeks
* Reflect mpsafety of the underlying filesystem in the nullfs image.kris2005-10-161-0/+1
| | | | | | | | | | I benchmarked this by simultaneously extracting 4 large tarballs (basically world images) on a 4-processor AMD64 system, in a malloc-backed md. With this patch, system time was reduced by 43%, and wall clock time by 33%. Submitted by: jeff MFC after: 1 week
* Apply the same fix to a potential race in the ISDOTDOT code intruckman2005-10-162-6/+8
| | | | | | | | cd9660_lookup() that was used to fix an actual race in ufs_lookup.c:1.78. This is not currently a hazard, but the bug would be activated by marking cd9660 as MPSAFE. Requested by: bde
* Apply the same fix to a potential race in the ISDOTDOT code intruckman2005-10-161-1/+3
| | | | | | | | | ext2_lookup() that was used to fix an actual race in ufs_lookup.c:1.78. This is not currently a hazard, but the bug would be activated by marking ext2fs as MPSAFE. Requested by: bde MFC after: 2 weeks
* Correct the type of the temporary variable used by ufs_lookup.c:1.78truckman2005-10-161-1/+1
| | | | | | | to fix the race condition in the ufs_lookup() ISDOTDOT code. Noticed by: bde MFC after: 12 days
* Use new functions to call into drivers methods.phk2005-10-161-39/+27
|
* Make ttyconsolemode() call ttsetwater() so that drivers don't have to.phk2005-10-167-6/+1
|
* Use new (inline) functions for calls into driver.phk2005-10-164-11/+7
|
* Make ttsetcompat() staticphk2005-10-162-3/+1
|
* Add a bunch of inline functions to call the drivers tty implementing methods.phk2005-10-161-0/+76
|
* we know it is called rpclose() so call it directly.phk2005-10-161-1/+1
|
* Eliminate two unused arguments to ttycreate().phk2005-10-1615-17/+19
|
* Re-implement rev.1.76 with respect to the code size.sobomax2005-10-162-30/+44
|
* Backout previous commit - for some reason it overflows space constrains onsobomax2005-10-162-64/+48
| | | | amd64. Better version will follow.
* Add some files which kris found on an old server.netchild2005-10-161-0/+1862
|
* Reduce diffs from i386/i386/machdep.cnyan2005-10-161-9/+5
|
* For AMD processors, nullify CPUID.HTT. FreeBSD has no need for theobrien2005-10-162-0/+18
| | | | | information it conveys, and it is only confusing people. This fixes incorrect output in the previous commit.
* The BCM5401 dspcode load on media changes also appliesgrehan2005-10-161-0/+2
| | | | | | | | to the 100/1000 BCM5400 phy. This fixes the problem with the GEM port not syncing up on Sawtooth G4's. Obtained from: NetBSD Reported by: Ben Rosengart <ben + freebsd org at narcissus net>
* Forced commit to note that the previous commit referred to r1.67, not r1.66kris2005-10-160-0/+0
| | | | Pointed out by: bde
* Mempage should be 1024 not 4096. This fixes the multiple 16-bit cardsimp2005-10-161-1/+1
| | | | | | | | failing to work in, eg, Soekris boxes. This is a critcal fix for 6.0. MFC After: ASAP
* Add new option `q', which makes second stage loader quiet unless autobootsobomax2005-10-163-49/+74
| | | | | | is disabled or fails. MFC after: 1 week
OpenPOWER on IntegriCloud