summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Remove code to set SAVENAME for CREATE or RENAME requests that get a -vejhb2009-03-101-4/+4
| | | | | | | | | | | | hit in the name cache. cache_lookup() doesn't actually return ENOENT for such requests to force the filesystem to do an explicit lookup, so this was effectively dead code. - Grab the nfsnode mutex while writing to n_dmtime. We don't grab the lock when comparing the time against the cached directory mod time (just as we don't when comparing ctime's for +ve name cache hits) since the attribute caching is already racy for NFS clients as it is. Discussed with: bde
* Remove unused v6 macro aliases for inpcb fields:rwatson2009-03-102-24/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | in6p_ip6_nxt in6p_vflag in6p_flags in6p_socket in6p_lport in6p_fport in6p_ppcb Remove unused v6 macro aliases for inpcb flags: IN6P_HIGHPORT IN6P_LOWPORT IN6P_ANONPORT IN6P_RECVIF IN6P_MTUDISC IN6P_FAITH IN6P_CONTROLOPTS References to in6p_lport and in6_fport in sockstat are also replaced with normal inp_lport and inp_fport references. MFC after: 3 days Reviewed by: bz
* Complete removal of cardbus_write_ivar which was left hanging.gnn2009-03-101-3/+0
|
* Don't print inm_print() chatter when KTR_IGMPV3 is not enabledbms2009-03-101-0/+3
| | | | | | in the KTR_COMPILE mask. Found by: gnn
* bring in ddb "show gpio" support from Cambria branchsam2009-03-101-10/+51
|
* Small cleanup of memory resource allocation from Cambria branch:sam2009-03-101-38/+92
| | | | | | | | | | | | | o encode need for A4 bus space tag hackery according to the memory address; checking for "uart" breaks down with the GPS chip support which is also a uart but does not require the same hackery o encode the correct memory window instead of carving up all of i/o space, potentially with a larger window than a device should have; this likely should be handled in the drivers by using a proper bus alloc call but since some drivers depend on the bus support to figure this out we cannot simply mod them o add optional GPS and RS485 support (conditionally as the support isn't ready yet)
* - Remove a recently added comment from kernel_sysctlbyname() that isn'tjhb2009-03-101-9/+1
| | | | | | | | | needed. - Move the release of the sysctl sx lock after the vsunlock() in userland_sysctl() to restore the original memlock behavior of minimizing the amount of memory wired to handle sysctl requests. MFC after: 1 week
* catch up with r189306; handle delayed activation of resourcessam2009-03-102-25/+57
| | | | Submitted by: jhb
* Remove these files, they refer to module bundles that do not exist anymore.thompsa2009-03-1012-783/+0
|
* Update libusb.3 name and add mlinks for usb.3 and libusb20.3thompsa2009-03-102-4/+7
|
* Add an ABI compat shim for the vfs.bufspace sysctl for sysctl requests thatjhb2009-03-101-0/+27
| | | | | try to fetch it as an int rather than a long. If the current value is greater than INT_MAX it reports a value of INT_MAX.
* Update top and systat for vfs.bufcache now being a long rather than an int.jhb2009-03-102-2/+2
|
* When attaching a geli on boot make sure that it is detachedguido2009-03-101-0/+1
| | | | | upon last close. (needed for a gmirror to properly shutdown upon reboot when a geli is on top the gmirror)
* When swap resides on a mirror and it is not stopped, the mirrorguido2009-03-101-1/+1
| | | | | is degraded upon the next reboot and will have to be rebuild. Thus call swapoff when rebooting (read: when stopping swap1)
* Add tcpp -- TCP parallelism microbenchmark.rwatson2009-03-107-0/+1098
| | | | | | | | | | | | | This tool creates large numbers of TCP connections, each of which will transmit a fixed amount of data, between client and server hosts. tcpp can use multiple workers (typically up to the number of hardware cores), and can use multiple source IPs in order to use an expanded port/IP 4-tuple space to avoid problems from reusing 4-tuples too quickly. Aggregate bandwidth use will be reported after a client run. While by no means a perfect tool, it has proven quite useful in generating and optimizing TCP stack lock contention by easily generating high-intensity workloads. It also proves surprisingly good at finding device driver bugs.
* Do not use bypass for vop_vptocnp() from nullfs, call standardkib2009-03-101-0/+1
| | | | | | | | | implementation instead. The bypass does not assume that returned vnode is only held. Reported by: Paul B. Mahol <onemda gmail com>, pluknet <pluknet gmail com> Reviewed by: jhb Tested by: pho, pluknet <pluknet gmail com>
* Be compatible with LibUSB from sourceforge and close the handle after resetthompsa2009-03-101-1/+5
| | | | Submitted by: Hans Petter Selasky
* Disable zerocopy by default for now. It's causing some problems in pcapcsjp2009-03-101-1/+1
| | | | | | | | | | | | | | consumers which fork after the shared pages have been setup. pflogd(8) is an example. The problem is understood and there is a fix coming in shortly. Folks who want to continue using it can do so by setting net.bpf.zerocopy_enable to 1. Discussed with: rwatson
* When freeing all the resources of the card, it is better to turn offimp2009-03-101-15/+11
| | | | | | | | | | | | the PORTEN and MEMEN bits in the command register than to zero the bars. Use pci_write_ivar directly instead of a one-line wrapper that adds no value. Track verbosity changes in pci. Remove a stray blank line.
* Merge r183430 from vendor/top/dist to head/contrib/top, although withrwatson2009-03-101-0/+0
| | | | | | | | | record-only mergeinfo because an automated merge is confused by the flattening that took place: Move install to install-sh to prevent name-clashes. MFC after: 3 days
* Make a 1:1 mapping between syscons stats and terminal emulators.ed2009-03-106-37/+39
| | | | | | | | | | | | | | | | | | | | After I imported libteken into the source tree, I noticed syscons didn't store the cursor position inside the terminal emulator, but inside the virtual terminal stat. This is not very useful, because when you implement more complex forms of line wrapping, you need to keep track of more state than just the cursor position. Because the kernel messages didn't share the same terminal emulator as ttyv0, this caused a lot of strange things, like kernel messages being misplaced and a missing notification to resize the terminal emulator for kernel messages never to be resized when using vidcontrol. This patch just removes kernel_console_ts and adds a special parameter to te_puts to determine whether messages should be printed using regular colors or the ones for kernel messages. Reported by: ache Tested by: nyan, garga (older version)
* Restore the return statement. It was accidentally removed by rev 188429.nyan2009-03-101-0/+1
|
* Remove now-unused INP_UNMAPPABLEOPTS.rwatson2009-03-101-2/+0
| | | | | MFC after: 3 days Discussed with: bz
* Rename files that collide on case-insensitive file systems by encodingrwatson2009-03-103-0/+0
| | | | | | | | | colliding upper case letters as the lower case letter with a '_' in front. MFC after: 3 days Discussed with: ed Spotted by: Michael David Crawford <mdc at prgmr.com>
* Fix a buglet in revision 189401: when restoring a 64-bit BAR,marcel2009-03-101-1/+1
| | | | | write the upper 32-bits in the adjacent bar. The consequences of the buglet were severe enough though: a machine check.
* Eliminate the last use of the recursive mapping to access user-space pagealc2009-03-101-27/+12
| | | | | | | | | | table pages. Now, all accesses to user-space page table pages are performed through the direct map. (The recursive mapping is only used to access kernel-space page table pages.) Eliminate the TLB invalidation on the recursive mapping when a user-space page table page is removed from the page table and when a user-space superpage is demoted.
* add cfid and geom_redbootsam2009-03-092-1/+7
|
* add geom_redboot, a geom module that exports RedBoot FIS partitions as namedsam2009-03-092-0/+322
| | | | slices in dev/redboot/*
* Fix up the entries for libusb, it seems it existed back in 2002 so it wasthompsa2009-03-091-3/+3
| | | | | | getting removed again. Reported by: Steve Kargl
* Add cfid, a disk interface to CFI flash devices; this enables constructionsam2009-03-095-2/+330
| | | | | | of flash-based filesystems. Note this is not interlocked against the raw CFI device.
* replace if_watchdog w/ private callout; probably can merge this with thesam2009-03-092-14/+21
| | | | calibration work sometime in the future
* remove ar9160Detach; it does nothingsam2009-03-091-14/+1
|
* Fix uninitialized use of ifp for ii.bms2009-03-091-1/+3
| | | | Found by: Peter Holm
* Fix spelling.thompsa2009-03-091-1/+1
|
* Update 20090309 to say that libmap.conf entries for libusb are no longer needed.thompsa2009-03-091-1/+2
|
* Add type specific suspend/resume ata channel functions. Add checks to avoidmav2009-03-093-6/+73
| | | | | crash on detached channel resume. Add placeholder for possible type-specific suspend/resume routines.
* MFp4 //depot/projects/usb 158942,158948thompsa2009-03-093-21/+40
| | | | | | Allow USB to be compiled without ugen support. Submitted by: Hans Petter Selasky
* Fix musb_otg.h include filename.thompsa2009-03-091-1/+1
| | | | Submitted by: Hans Petter Selasky
* - Fix a typo.stas2009-03-091-1/+1
| | | | Spotted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
* Don't call into the TTY layer when inside kdb.ed2009-03-091-1/+1
| | | | | | | We should just leave the underlying TTY objects alone when scrolling around in KDB. It should be handled by Syscons exclusively. Reported by: pluknet gmail com
* Adjust some variables (mostly related to the buffer cache) that holdjhb2009-03-099-53/+60
| | | | | | | | | | | | | | | | | | | address space sizes to be longs instead of ints. Specifically, the follow values are now longs: runningbufspace, bufspace, maxbufspace, bufmallocspace, maxbufmallocspace, lobufspace, hibufspace, lorunningspace, hirunningspace, maxswzone, maxbcache, and maxpipekva. Previously, a relatively small number (~ 44000) of buffers set in kern.nbuf would result in integer overflows resulting either in hangs or bogus values of hidirtybuffers and lodirtybuffers. Now one has to overflow a long to see such problems. There was a check for a nbuf setting that would cause overflows in the auto-tuning of nbuf. I've changed it to always check and cap nbuf but warn if a user-supplied tunable would cause overflow. Note that this changes the ABI of several sysctls that are used by things like top(1), etc., so any MFC would probably require a some gross shims to allow for that. MFC after: 1 month
* - Point libusb users to the ports collection UPDATING file.stas2009-03-091-1/+2
|
* Move the debug.hashstat sysctl tree under DIAGNOSTIC. I measured thejhb2009-03-091-0/+2
| | | | | | | | | debug.hashstat.rawnchash sysctl in particular as taking 7 milliseconds on a 3GHz Intel Xeon (4x2) running 7.1. It accounted for almost a quarter of the total runtime of 'sysctl -a'. It also performs lots of copyout's while holding the namecache lock (this does not attempt to fix that). MFC after: 2 weeks
* Merge IGMPv3 and Source-Specific Multicast (SSM) to the FreeBSDbms2009-03-0923-1398/+6225
| | | | | | | | | | | IPv4 stack. Diffs are minimized against p4. PCS has been used for some protocol verification, more widespread testing of recorded sources in Group-and-Source queries is needed. sizeof(struct igmpstat) has changed. __FreeBSD_version is bumped to 800070.
* Mark the bsdextended rules sysctl as being mpsafe.csjp2009-03-091-2/+2
| | | | Discussed with: rwatson
* Commit missed file in r189587, update directory name for libusb.thompsa2009-03-091-2/+2
| | | | Spotted by: rdivacky
* - Make it possible to disable GPT support by setting LOADER_NO_GPT_SUPPORTjhb2009-03-095-3/+40
| | | | | | | | | | | | in make.conf or src.conf. - When GPT is enabled (which it is by default), use memory above 1 MB and leave the memory from the end of the bss to the end of the 640k window purely for the stack. The loader has grown and now it is much more common for the heap and stack to grow into each other when both are located in the 640k window. PR: kern/129526 MFC after: 1 week
* libusb20 is now installed as libusb, remove the version number from thethompsa2009-03-0912-0/+0
| | | | directory name.
* Install libusb20.so.1 as libusb.so.1, there will be a followup commit to thethompsa2009-03-0913-12/+22
| | | | | | | | | ports tree so that programs use libusb from the base by default. Thanks to Stanislav Sedov for sorting out the ports build. Bump __FreeBSD_version to 800069 Help and testing by: stas
* Add igmp(4) man page, do not connect to build yet.bms2009-03-091-0/+139
|
OpenPOWER on IntegriCloud