summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* This commit was generated by cvs2svn to compensate for changes in r178843,dfr2008-05-0810-265/+4161
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import com_err from heimdal-1.1dfr2008-05-0817-322/+4218
| |
* | Add a new awk script which parses informations returned by the newlyattilio2008-05-071-0/+24
| | | | | | | | | | | | | | | | added sysctl debug.witness.graphs and returns all the graphs involving Giant lock creating an appropriate script in DOT format which can be plotted immediately. Submitted by: Michele Dallachiesa <michele dot dallachiesa at poste dot it>
* | Add a new witness sysctl which returns the relations between any lockattilio2008-05-071-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and its children in the form: "parent","child" so that head and bottom of an oriented graph can be easilly detected and various form of diagrams can be build. The sysctl is called debug.witness.graphs and it is read-only; in order to get the list of relations, a simple: #sysctl debug.witness.graphs will do the trick. This approach has been choosen in order to support easilly things like the DOT format and such. Soon, an auto-explicative awk script, which filters simple informations returned by the sysctl and converts them into a real DOT script, will be committed to the repository between examples. Discussed with: rwatson
* | - Use the name returned by device_get_nameunit(9) for the name of themarius2008-05-076-58/+49
| | | | | | | | | | | | | | | | | | | | | | | | counter-timer timecounter so the associated SYSCTL nodes don't clash on machines having multiple U2P and U2S bridges as well as establishing a clear mapping between these bridges and their timecounter device. - Don't bother setting up a "nice" name for the IOMMU, just use the name returned by device_get_nameunit(9), too. - Fix some minor style(9) bugs. - Use __FBSDID in counter.c MFC after: 1 week
* | Use a sledgehammer cast (that was in the original patch to boot) tojhb2008-05-071-1/+1
| | | | | | | | | | quiet a warning on 64-bit platforms now that 'size' is an int and not a size_t.
* | Don't explicitly drop Giant around d_open/d_fdopen/d_close for MPSAFEjhb2008-05-071-20/+5
| | | | | | | | | | | | | | | | drivers. Since devfs is already marked MPSAFE it shouldn't be held anyway. MFC after: 2 weeks Discussed with: phk
* | Fix reading the address of a znode_phys from a znode on 64-bit platformsjhb2008-05-071-3/+3
| | | | | | | | | | | | | | | | where sizeof(pointer) != sizeof(int). MFC after: 1 week PR: amd64/123456 Submitted by: KOIE Hidetaka | hide koie.org
* | The debug.sizeof.znode sysctl returns an int, not a size_t. This can causejhb2008-05-071-2/+3
| | | | | | | | | | | | | | | | a hang on 64-bit platforms. MFC after: 1 week PR: amd64/123456 Submitted by: KOIE Hidetaka | hide koie.org
* | Only output details about the current working directory of a process ifjhb2008-05-071-1/+2
| | | | | | | | | | | | | | | | | | the vnode pointer is not NULL. This avoids spurious warnings in fstat -v output for kernel processes. MFC after: 1 week PR: amd64/123456 Submitted by: KOIE Hidetaka | hide koie.org
* | Keep versions on a dependency chain to exclude even remote possiblitykan2008-05-071-1/+1
| | | | | | | | of private version ever getting index 2.
* | Tag FILE's _bf as being part of the public ABI as well due to the in-treejhb2008-05-071-1/+1
| | | | | | | | sort(1) referencing it.
* | Fix conflicts after heimdal-1.1 import and add build infrastructure. Importdfr2008-05-07184-14351/+5420
| | | | | | | | all non-style changes made by heimdal to our own libgssapi.
* | This commit was generated by cvs2svn to compensate for changes in r178825,dfr2008-05-071483-48403/+252590
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Vendor import of Heimdal 1.1dfr2008-05-071493-49127/+253906
| | |
* | | Include a very basic (and beta) tool for stressing disks using the POSIXadrian2008-05-072-0/+197
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AIO calls. This small program queues up a controllable number of concurrent AIO read operations w/ controllable io size against a disk or regular file. There are a few other things to add (notably optional write support!) but it works well enough at the present time to stress the AIO code out relatively harshly in the disk IO case.
* | | - change function name from *_vdir to *_vnode becausedaichi2008-05-071-21/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VSOCK has been added as cache target. Now they process not only VDIR but also VSOCK. - fixed panic issue caused by cache incorrect free process by "umount -f" Submitted by: Masanori OZAWA <ozawa@ongs.co.jp> MFC after: 1 week
* | | Install the mpilib headers from mpt(4) into /usr/include/dev/mpt/mpilib.jhb2008-05-072-1/+7
| | | | | | | | | | | | | | | | | | This allows <sys/mpt_ioctl.h> to be used from userland. Prodded by: scottl
* | | Fix spelling in comment.julian2008-05-061-1/+1
| | |
* | | Add a new personality to mpt(4) devices to allow userland applications tojhb2008-05-065-1/+892
| | | | | | | | | | | | | | | | | | | | | | | | | | | perform various operations on a controller. Specifically, for each mpt(4) device, create a character device in devfs which accepts ioctl requests for reading and writing configuration pages and performing RAID actions. MFC after: 1 week Reviewed by: scottl
* | | fix buildkmacy2008-05-061-3/+3
| | |
* | | Update the date on the man-page to reflect the date that the '-u name'gad2008-05-061-1/+1
| | | | | | | | | | | | change was committed, instead of when I had first started writing it...
* | | Specify the full path to the md5(1) binary so the script willmtm2008-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | still work even if it's not in the shell's path. PR: conf/122215 MFC after: 1 week
* | | Fix the problem with the C++ exception handling for the multithreadedkib2008-05-063-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | programs. From the PR description: The gcc runtime's _Unwind_Find_FDE function, invoked during exception handling's stack unwinding, is not safe to execute from within multiple threads. FreeBSD' s dl_iterate_phdr() however permits multiple threads to pass through it though. The result is surprisingly reliable infinite looping of one or more threads if they just happen to be unwinding at the same time. Introduce the new lock that is write locked around the dl_iterate_pdr, thus providing required exclusion for the stack unwinders. PR: threads/123062 Submitted by: Andy Newman <an at atrn org> Reviewed by: kan MFC after: 2 weeks
* | | Remove libc_r's remnant code.davidxu2008-05-061-16/+0
| | |
* | | only build iw_cxgb on i386 and amd64kmacy2008-05-061-1/+9
| | |
* | | Add a comment stating not to bump the FBSDprivate version.deischen2008-05-061-1/+3
| | | | | | | | | | | | Don't inherit the public namespace from the private namespace.
* | | When testing whether to enter the audit argument gathering code, ratherrwatson2008-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than checking whether audit is enabled globally, instead check whether the current thread has an audit record. This avoids entering the audit code to collect argument data if auditing is enabled but the current system call is not of interest to audit. MFC after: 1 week Sponsored by: Apple, Inc.
* | | replace spaces added in last change with tabskmacy2008-05-051-5/+5
| | |
* | | conditionally define PANIC_IF, remove 'unlikely'kmacy2008-05-051-4/+3
| | |
* | | add rdma to build for i386 and amd64kmacy2008-05-051-0/+3
| | |
* | | LINT fixeskmacy2008-05-052-4/+4
| | |
* | | add iw_cxgb to the buildkmacy2008-05-052-1/+15
| | |
* | | add makefiles for rdmakmacy2008-05-056-0/+61
| | |
* | | add rcv_nxt, snd_nxt, and toe offload id to FreeBSD-specifickmacy2008-05-052-2/+12
| | | | | | | | | | | | extension fields for tcp_info
* | | add malloc flag to blist so that it can be used in ithread contextkmacy2008-05-053-12/+14
| | | | | | | | | | | | Reviewed by: alc, bsdimp
* | | conditionally define PANIC_IFkmacy2008-05-051-0/+2
| | |
* | | Revert back to accessing FILE internals directly.jhb2008-05-051-11/+19
| | | | | | | | | | | | (Sorry, forgot to commit this earlier.)
* | | Fix a few edge cases with error handling in cpufreq(4)'s CPUFREQ_GET()jhb2008-05-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | method: - If the last of the child cpufreq drivers returns an error while trying to fetch its list of supported frequencies but an earlier driver found the requested frequency, don't return an error to the caller. - If all of the child cpufreq drivers fail and the attempt to match the frequency based on 'cpu_est_clockrate()' fails, return ENXIO rather than returning success and returning a frequency of CPUFREQ_VAL_UNKNOWN. MFC after: 3 days PR: kern/121433 Reported by: Eugene Grosbein eugen ! kuzbass dot ru
* | | import support for iwarp on Chelsio T3 cardkmacy2008-05-0517-0/+9155
| | | | | | | | | | | | Supported by Chelsio Inc.
* | | Use a better approach to force the interrupt which should work forbz2008-05-052-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | all cards/modes. In addition to the intr forcing added with rev. 1.205 adopt the other places to use the same logic. We need to exclude a few chips/revisions (5700, 5788) from using the enhanced version and fall back to the old way as that is the only method they support. Tested by: phk Suggested by: davidch, Broadcom (thanks a lot for the help!) MFC after: 16 days
* | | Import basic common and iwarp kernel RDMA infrastructure.kmacy2008-05-0532-0/+15395
| | | | | | | | | | | | Supported by: Chelsio Inc.
* | | Retire the __fgetcookie(), __fgetpendout(), and __fsetfileno() accessorsjhb2008-05-054-36/+0
| | | | | | | | | | | | as we aren't hiding FILE's internals anymore.
* | | Go back to fondling FILE internals.jhb2008-05-051-1/+1
| | |
* | | Note that FILE's __cookie is also part of the public ABI.jhb2008-05-051-1/+1
| | |
* | | Expose FILE's internals to the world again in all their glory. Restorejhb2008-05-0511-144/+195
| | | | | | | | | | | | | | | all the previous inline optimizations as well. FILE is back to using __mbstate_t, struct pthread *, and struct pthread_mutex *.
* | | o Convert whitespaces to tabs.maxim2008-05-051-2/+2
| | |
* | | o Terminate "case" with "esac" not "fi".maxim2008-05-051-1/+1
| | | | | | | | | | | | Reported by: Randy Bush
* | | Do not read away the target directory entry when encountering deletedkib2008-05-053-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | files after a seekdir(). The seekdir shall set the position for the next readdir operation. When the _readdir_unlocked() encounters deleted entry, dd_loc is already advanced. Continuing the loop leads to premature read of the target entry. Submitted by: Marc Balmer <mbalmer at openbsd org> Obtained from: OpenBSD MFC after: 2 weeks
* | | Spell KDB_REQ_REBOOT correctly.peter2008-05-051-1/+1
| | |
OpenPOWER on IntegriCloud