summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update the list of the process flags. Note that the lists of pendingkib2010-03-051-3/+15
| | | | | | | signals for process and its threads are distinct. Reviewed by: jilles MFC after: 2 weeks
* fix a memory leak when deleting RED queuesluigi2010-03-051-0/+6
|
* MFx86: the part of r204641nyan2010-03-051-2/+7
| | | | | | | | | In order to do that cleanly, lapic_setup_clock(), on both ia32 and amd64, now accepts as arguments the desired sources to handle, and returns the actual ones (LAPIC_CLOCK_NONE is forbidden because otherwise there is no meaning in calling such function). This allows to bring out into commont x86 code the handling part for machdep.lapic_allclocks tunable, which is retained.
* Don't spam dmesg with "registered firmware ..." when module is compiledsobomax2010-03-051-2/+13
| | | | | | | into kernel, unless there is a verbose boot flag set. There is no real need to have this information printed. MFC after: 1 week
* Use our preferred license text (no more "voices in his head"). While here,joel2010-03-047-99/+55
| | | | | | | | | | | also move to a 2-clause license. From n_hibma@: "The 3rd clause was originally there for a reason, but I guess that it is safe to assume that no one can assume endorsement by me or anyone else without prior consent on anything really, so we might as well remove that clause." Approved by: n_hibma
* Remove stale references to libkrb5.imp2010-03-041-11/+12
| | | | | | | | Rejigger the SUBDIR setting a smidge: we now set all the libraries that depend on something else, and then SUBDIR+= the rest. A separate commit will fix the SUBDIR style to be the same as the rest of the tree.
* put calls to gzclose() under ifdef COMPRESS_USER_CORES to preventalfred2010-03-041-1/+1
| | | | | | undefined symbols on kernels without this option. Reported by: Alexander Best
* portability fixesluigi2010-03-042-2/+17
|
* don't use keywords as variable names.luigi2010-03-041-7/+7
|
* moused is useful even without usb, so remove comment asking if it is.imp2010-03-041-1/+0
|
* Use our standard license text. No more voices in the authors head. :-)joel2010-03-0411-88/+88
| | | | Approved by: trasz
* Fix an obvious lock escape and fix a typo in a comment.nwhitehorn2010-03-041-2/+4
|
* make the listing of queues/pipes/schedulers handle the case ofluigi2010-03-041-4/+19
| | | | data size increasing while we fetch the info.
* fix handling of setsluigi2010-03-041-5/+13
|
* reduce diffs with the cross-platform version (windows needsluigi2010-03-041-0/+14
| | | | some extra initialization)
* use callout_drain() (outside the lock) when unloading the module.luigi2010-03-041-4/+7
| | | | | | This prevents a potential deadlock. Submitted by: Francesco Magno
* improve compatibility with RELENG_7.2luigi2010-03-041-0/+14
|
* remove stale commentluigi2010-03-041-2/+0
|
* ed(1): make WARNS=6 cleanuqs2010-03-042-7/+1
| | | | | | | | Although argc and argv are never read after the longjmp is complete, gcc is not clever enough to see that and needlessly warns about it. So add volatile to silence the compiler. Approved by: ed (the co-mentor, not ed(1))
* mount_nwfs(8): make WARNS=6 cleanuqs2010-03-042-8/+13
| | | | | | | | uid_t and gid_t are unsigned. While initializing them to -1 and later checking against -1 to see if they are still at their default usually works, introduce two new flags and stop the inband signalling. Approved by: ed (co-mentor)
* Let the afterinstall target ignore failures from running chflags. Thisscottl2010-03-041-1/+1
| | | | | | | allows it to work over NFS, and puts it back into conformance with other 'schg' utlitilties in the system. Reviewed by: ed
* Remove no-op of WARNS?=edwin2010-03-041-1/+0
| | | | Submitted by: Ulrich Sp??rlein <uqs@spoerlein.net>
* Add links to cam(4).mav2010-03-049-8/+12
|
* Reflect added CAM ATA support.mav2010-03-041-28/+51
|
* - Implement -3 option (show previous, this and next month) option.edwin2010-03-043-206/+266
| | | | | | | | | - Add -A option (months after this month). - Add -B option (months before this month). - Fix highlighting of today in year overview. - Fix aligning of "foreign" characters. MFC after: 2 weeks
* Patch some more concurrency issues here. This expands the page tablenwhitehorn2010-03-041-23/+43
| | | | | lock to cover the PVOs, and removes the scratchpage PTEs from the PVOs entirely to avoid the system trying to be helpful and rewriting them.
* Rework smu(4) to be asynchronous. It turns out that the combination ofnwhitehorn2010-03-041-73/+181
| | | | | | the automatic fan management and the polling in smu_run_cmd() was putting my system interrupt load at 20%. This change reduces that to 0.4%.
* Enable the use of nanosleep() instead of using pause() and signals.gshapiro2010-03-041-0/+1
| | | | | | | | This Makefile change can be removed when the next version of sendmail is imported as it will have this built in to the FreeBSD conf.h section. Submitted by: John Marshall MFC after: 3 days
* Remove some unused cruft.neel2010-03-041-47/+0
|
* Add support for CPUs with cache coherent DMA. The two main changes are:neel2010-03-044-10/+35
| | | | | | | | | | | | - We don't need to fall back to uncacheable memory to satisfy BUS_DMA_COHERENT requests on these CPUs. - The bus_dmamap_sync() is a no-op for these CPUs. A side-effect of this change is rename DMAMAP_COHERENT flag to DMAMAP_UNCACHEABLE. This conveys the purpose of the flag more accurately. Reviewed by: gonzo, imp
* Updated rtld for n32 support.imp2010-03-042-153/+315
| | | | | Submitted by: jmallet@ Obtained from: NetBSD
* Make the n32 scripts actually generate, ummm, n32 binaries... <blush>imp2010-03-042-2/+2
| | | | Submitted by: jmallet
* Make 'make manlint' happy. No actual visible change.delphij2010-03-031-5/+1
|
* When returning error from msdosfs_lookup(), make sure that *vpp is NULL.kib2010-03-031-3/+6
| | | | | | | lookup() KASSERTs this condition. Reported and tested by: pho MFC after: 3 weeks
* Use ABI neutral macrosaimp2010-03-032-29/+51
| | | | Submitted by: jmallet
* __main and __gccmain are no longer required, so eliminate them.imp2010-03-031-3/+0
| | | | Submitted by: jmallet@
* Cast these to intmax_t before printing to fix build bustage. Betterimp2010-03-031-7/+9
| | | | solutions welcome.
* sched_getparam was just plain broke for time-sharerrs2010-03-032-10/+27
| | | | | | | | | | | | | | | | | | | | | | | | processes. It did not return an error but instead just let garbage be passed back. This I fix so it actually properly translates the priority the process is at to a posix's high means more priority. I also fix it so that if the ULE scheduler has bumped it up to a realtime process you get back a sane value i.e. the highest priority (63 for time-share). sched_setscheduler() had the setting of the timeshare class priority disabled. With some notes about rejecting the posix high numbers is greater priority and use nice instead. This fix also adjusts that to work, with the cavet that a t-s process may well get bumped up or down i.e. the setscheduler() will NOT change the nice value only the current priority. I think this is reasonable considering if the user wants to play with nice then he can. At least all the posix'ish interfaces now respond sanely. MFC after: 3 weeks
* Adds bwn(4) to NOTES.weongyo2010-03-031-0/+2
|
* Looks like S8 and SP are reversed in setjmp, so longjmp doesn't workimp2010-03-031-2/+2
| | | | | | as well as one would hope.... Submitted by: Arten Belevich
* - Make function of finding an available drive name a macro.lulf2010-03-031-14/+12
| | | | | | | | - Move check of /dev/ prefix and copy into a function to save code duplication. This also fixes a bug where the /dev/ prefix could not be used when creating volumes on the command line. Tested by: Niclas Zeising <niclas.zeising - at - gmail.com>
* - Fix spelling.lulf2010-03-031-1/+1
| | | | Pointed out by: Pawel Worach <pawel.worach - at - gmail.com>, b. f. <bf1783 - at - googlemail.com>
* Hook up the bwn driver.weongyo2010-03-031-0/+3
| | | | Pointed by: nwhitehorn
* Give make kernel-toolchain a one-liner here. Although documented inimp2010-03-031-0/+1
| | | | build(7), many people look here for a quick reminder...
* fixes an attached-at-boot issue that bwn(4) using device_identifyweongyo2010-03-033-69/+12
| | | | | | | interface didn't be attached automatically at boot time so changes a approach to attach children based on leveraging some newbus niceties. Submitted by: nwhitehorn
* Add a missing ar9285_reset.c file.rpaulo2010-03-031-1/+1
|
* Add some more supported controllers.mav2010-03-031-5/+18
| | | | Crosslink with CAM ATA man pages.
* Use expand_number(3) from libutil instead of home-grown function to parsesobomax2010-03-035-154/+41
| | | | | | | human-friendly power-of-two numbers (i.e. 2k, 5M etc). Suggested by: many MFC after: 1 week
* Remove C99 initializer, since dominant style is to use non-C99 initializers.glebius2010-03-031-3/+3
| | | | Requested by: jhb
* Remove last traces of <utmp.h>.ed2010-03-033-3/+3
|
OpenPOWER on IntegriCloud