summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Large memory mappings are always CPU local and always done with interruptsjmallett2010-04-231-2/+2
| | | | | | | disabled. Be doubly-sure that we don't try to do a TLB shootdown on SMP systems for those mappings. Submitted by: C. Jayachandran
* sh: Add some more tests for ${v#...} and ${v%...}.jilles2010-04-231-0/+46
| | | | These pass on stable/8 as well.
* Address some WITNESS panics that occur when using the via driver.rnoland2010-04-234-8/+10
| | | | | | | | Some of these cases should be safe in a non-atomic fashion, however since all of the driver ioctls are locked, a lot of work is required to fix it correctly. Just don't sleep now. MFC after: 2 weeks
* Remove one zero from the double-0.bz2010-04-231-2/+2
| | | | | | This code doesn't have a license to kill. MFC after: 3 days
* - Take libinstall.a out of pkg_install and make it a proper shared library.flz2010-04-2343-210/+250
| | | | | | | | | | | - Rework the wrapper support to check libpkg version as well as pkg_install version. - Add libfetch to _prebuild_libs. - There are no new features introduced. Notes: the API is not stable, so basically, do not use libpkg in your projects for now. Also there's no manpage for libpkg yet, because the API will change drastically. I repeat, do not use libpkg for now.
* * Fix compilation when using SCTP_AUDITING_ENABLED.tuexen2010-04-233-42/+24
| | | | | | | | | * Fix delaying of SACK by taking out old optimization code which does not optimize anymore. * Fix fast retransmission of chunks abandoned by the "number of retransmissions" policy. MFC after: 3 days.
* Add and describe GEOM_PART_EBR.marcel2010-04-231-0/+5
|
* Implement the resize command for resizing partitions. Without newmarcel2010-04-232-1/+134
| | | | | | | size, the partition in question is resized to fill all available space. Quality work by Andrey! Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru>
* Implement the resize verb and add support for resizing partitionsmarcel2010-04-238-4/+222
| | | | | | for all schemes but EBR. Quality work by Andrey! Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru>
* Fix compilation error.neel2010-04-231-1/+1
| | | | tick.c:298:5: error: "KDTRACE_HOOKS" is not defined
* When the experimental NFS client is handling an NFSv4 server rebootrmacklem2010-04-228-36/+91
| | | | | | | | | | | | with delegations enabled, the recovery could fail if the renew thread is trying to return a delegation, since it will not do the recovery. This patch fixes the above by having nfscl_recalldeleg() fail with the I/O operations returning EIO, so that they will be attempted later. Most of the patch consists of adding an argument to various functions to indicate the delegation recall case where this needs to be done. MFC after: 1 week
* If a conditional jump instruction has the same jt and jf, do not performjkim2010-04-224-20/+62
| | | | the test and jump unconditionally.
* Use a more obvious prefix for the USB control (endpoint 0) transfers ratherthompsa2010-04-229-55/+55
| | | | than default_*.
* Properly name the sxlocks, mutexes and condvars.thompsa2010-04-225-31/+33
|
* Use SX_DUPOK rather than making the string unique.thompsa2010-04-221-2/+2
|
* Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this hadthompsa2010-04-2258-106/+121
| | | | | | the illusion of a tunable setting but was always turned on regardless. MFC after: 1 week
* Document the new USB notification types.thompsa2010-04-221-1/+55
|
* Intialize interrupt moderation control register. The magic valueyongari2010-04-221-0/+3
| | | | | | | | | was chosen by lots of trial and errors. The chosen value shows good interrupt moderation without additional latency. Without this change, controller can generate more than 140k interrupts per second under high network load. Submitted by: xclin <xclin <> cs dot nctu dot edu dot tw >
* Fix compilation with WITHOUT_CRYPT or WITHOUT_OPENSSL options.pjd2010-04-223-5/+22
| | | | | Reported by: Andrei V. Lavreniyuk <andy.lavr@reactor-xg.kiev.ua> MFC after: 3 days
* Now that we properly set write-combining on the pages that back the GART,rnoland2010-04-222-5/+8
| | | | | | disable snooping on radeons. MFC after: 2 weeks
* Allow to modify directory's content even if the ZFS_NOUNLINK (SF_NOUNLINK,pjd2010-04-221-0/+13
| | | | | | | | sunlnk) flag is set. We only deny dirctory's removal or rename. PR: kern/143343 Reported by: marck MFC after: 3 days
* re-write scatter gather memory allocation yet again...rnoland2010-04-226-113/+62
| | | | | | | | | | This time, abandon the use of busdma and start interacting with the VM system directly. Make use of the new kmem_alloc_attr() which allows us to easily allocate non-contiguous pages to back the GART table. This should help a lot when starting or restarting X after the system has been running for a while and memory has become fragmented. MFC after: 2 weeks
* Rework how drm maps are handled.rnoland2010-04-2223-168/+201
| | | | | | | | | | | | * On 32 bit platforms we steal the upper 4 bits of the map handle to store a unique map id. * On 64 bit platforms we steal the upper 24 bits. Resolves issues where the offsets that are handed to mmap may overlap the VRAM on some cards. Tested on: radeon, intel, mga, and via. This will break nouveau. I will spin new patches shortly.
* Remove explicit setting of NO_CTF in WMAKEENV and in the make call fornetchild2010-04-221-2/+2
| | | | | | | | | | | | the buildkernel. This way makeoptions WITH_CTF=yes not only works when compiling the tradtitional way, but also when using buildkernel. This does not enable the CTF part of the world, it still defaults to without CTF info. The cross/build-tools/bootstrap targets are not affected by this, they still have and should keep the explicit NO_CTF. Notified by: np
* Do the ctfmerge (= all symbols, not only symbols from one object file) fornetchild2010-04-221-0/+5
| | | | | | KLDs too. Noticed by: np
* Revert r206179 (by imp) and do something similar which is more consistentnetchild2010-04-222-2/+3
| | | | | | | | | | with all other corresponding CTF places by changing the corresponding code which is generated by config(8). Or in short, move the '@' from the variable definition to the use of the variable. [1] While I'm here break up a long line. [2] Discussed with: imp [1,2], bde [2]
* Also add the usb mode to the devd string as the usb controller can work in boththompsa2010-04-211-0/+4
| | | | | | host or device (gadget) modes. Suggested by: HPS
* ln: Allow a trailing slash when creating a link to a directory.jilles2010-04-211-14/+13
| | | | | | | | | | | | | | | | | | | | In the 'ln source... directory' synopsis, the basename of each source determines the name of the created link. Determine this using basename(3) instead of strrchr(..., '/') which is incorrect if the pathname ends in a slash. The patch is somewhat changed to allow for basename(3) implementations that change the passed pathname, and to fix the -w option's checking also. The code to compare directory entries only applies to hard links, which cannot be created to directories using ln. Example: ln -s /etc/defaults/ /tmp This should create a symlink named defaults. PR: 121568 Submitted by: Ighighi MFC after: 1 week
* Change usb devd events from fake attach to a notify. The ugen device is not athompsa2010-04-213-75/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | proper device_t so it faked the devctl event to appear like one, this is now a notify which allows more information to be passed. We notify for both the device attach/detach and for each usb interface. A devd rule can now match on the interface properties, including composite devices which may have a uvideo interface and also usound and possibly uhid too. An example to match a umass device with a scsi subclass and BBB protocol would be notify 100 { match "system" "USB"; match "subsystem" "INTERFACE"; match "type" "ATTACH"; match "intclass" "0x08"; match "intsubclass" "0x06"; match "intprotocol" "0x50"; action ... }; The old attach devctl event has been retained for the moment to make merging to 8.1 easier. This was never compatible with 7.x or earlier due to the ugen regex change needed. Reviewed by: warner MFC after: 1 week
* Fix of r206904, \nanchie is needed instead of \anchie.anchie2010-04-211-1/+1
| | | | | Approved by: bz (mentor) Reported by: danfe, zec
* Fix typo.kib2010-04-211-1/+1
| | | | | | Submitted by: emaste Pointy hat to: kib (who needs much bigger wardrobe) MFC after: 1 week
* C language does not has references, it provides pointers.kib2010-04-211-2/+2
| | | | | Suggested by: bde MFC after: 2 weeks
* Provide compat32 shims for kinfo_proc sysctl. This allows 32bit ps(1) tokib2010-04-212-4/+212
| | | | | | | | | | mostly work on 64bit host. The work is based on an original patch submitted by emaste, obtained from Sandvine's source tree. Reviewed by: jhb MFC after: 1 week
* Extract the code to copy-out struct rusage32 from struct rusagekib2010-04-212-33/+28
| | | | | | | into the new function. Reviewed by: jhb MFC after: 1 week
* Remove the reference to DD mode, and replace with Expert mode. Also, makebrucec2010-04-212-16/+14
| | | | | | | | | | | | sure the "Q = Finish" text is visible. Reword the boot manager screen to try and avoid confusion, and make the order of the menu items match that in sysinstall. PR: bin/142916 Submitted by: Jeremy Chadwick <freebsd at jdc.parodius.com> Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 week
* Make the "Q = Finish" text visible when running sysinstall as a normalbrucec2010-04-212-12/+11
| | | | | | | | application. Reword the boot manager screen to try and avoid confusion. Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 week
* Use correct bus_dma_tag_t for TX frames.bschmidt2010-04-211-2/+4
| | | | | | Reported by: Andreas Nilsson <andrnils at gmail.com> Approved by: rpaulo (mentor) MFC after: 3 days
* Add standards section, improve wording, taking into account the handlingkib2010-04-211-6/+8
| | | | | | | of NULL and changed type in declaration. Suggested by: bde MFC after: 2 weeks
* Move realpath(3) prototype to a POSIX section.kib2010-04-211-1/+1
| | | | | Noted by: bde MFC after: 2 weeks
* indent.pro example: actually install the sample fileavg2010-04-212-0/+4
|
* Fix bug introduced in r198317: Don't leak a file descriptor after scanning ↵randi2010-04-211-0/+2
| | | | | | | for network devices. Approved by: cperciva (mentor) MFC after: 1 week (original commit + bugfix)
* Apply threshold filter to root node in calltree view.fabient2010-04-211-5/+10
| | | | MFC after: 3days
* Comply with the new cyclic dtrace module variable namerpaulo2010-04-211-2/+2
| | | | (cyclic_clock_func).
* As was done in r155238 for i386 and in r155239 for amd64, clear the carrykib2010-04-211-1/+2
| | | | | | | | flag for ia32 binary executed on amd64 host in get_mcontext(). PR: kern/92110 (one more time) Reported by: stas MFC after: 1 week
* Avoid memory access after free. Use the (shortend) copy for thebz2010-04-211-1/+1
| | | | | | | | ipsec mtu lookup as well. PR: kern/145736 Submitted by: Peter Molnar (peter molnar.cc) MFC after: 3 days
* Add myself to committers-src.dot.randi2010-04-211-0/+2
| | | | Approved by: cperciva (mentor)
* When CPUTYPE is defined to any value, on amd64 platform "mmx" isdelphij2010-04-211-1/+1
| | | | | | | | | | | | available through MACHINE_CPU, indicating the CPU supports that feature, as done by revision 138685. This changeset adds "mmx" into the default amd64 MACHINE_CPU list when no CPUTYPE is specified to provide consistent behavior. PR: amd64/145593 Submitted by: mm MFC after: 2 weeks
* Merge @176820, @176822, @177156 to tcpp from P4 to HEAD:rwatson2010-04-212-13/+39
| | | | | | | | | | | | | | | | Improve accuracy of connection data transfer math. Disable Nagle's algorithm to avoid delaying transfers of data -- will want to refine this to combine payload with header transfer, however. Now that we're running w/o Nagle, try to send the initial data burst with the header in a single TCP segment. Prefer %zu to %ju for size_t. MFC after: 1 week Sponsored by: Juniper, Inc.
* add new committer rstone to committers-src.dotrstone2010-04-201-0/+4
|
* MFV: zlib 1.2.5.delphij2010-04-2018-74/+117
|
OpenPOWER on IntegriCloud