summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Restore the previous VESA mode after BIOS POST, just in case.jkim2010-05-181-0/+1
|
* Provide missing members for Book-E pmap (and fix build).raj2010-05-181-0/+2
|
* Remove unnecessary pointer increment. A wrong pointer may be passed tojkim2010-05-181-4/+4
| | | | | | | | free(9) and it can cause kernel panic when there are multiple graphics controllers in the system. Tested by: Brandon Gooch (jamesbrandongooch at gmail dot com) MFC after: 3 days
* Add a sentence to the man page explaining that the -d optionbcr2010-05-181-1/+4
| | | | | | | | | can only be used when ntpd is compiled with DEBUG support. PR: docs/138206 Submitted by: Oliver Pinter (oliver dot pntr at gmail dot com) MFC after: 5 days Approved by: roberto
* Add a device description.rpaulo2010-05-181-0/+2
|
* The page queues lock is no longer required by vm_page_set_invalid(), soalc2010-05-182-5/+7
| | | | | | | | | eliminate it. Assert that the object containing the page is locked in vm_page_test_dirty(). Perform some style clean up while I'm here. Reviewed by: kib
* Retry reads that fail with EINTR. This fixes a problemkientzle2010-05-182-12/+20
| | | | with bsdtar failing on SIGINT.
* Only use the cache after the early stage of loading. This isrdivacky2010-05-186-33/+29
| | | | | | | | | | because calling mmap() etc. may use GOT which is not set up yet. Use calloc() instead of mmap() in cases where this was the case before (sparc64, powerpc, arm). Submitted by: Dimitry Andric (dimitry andric com) Reviewed by: kan Approved by: ed (mentor)
* Allow the experimental NFSv4 client to use cached attributesrmacklem2010-05-181-2/+7
| | | | | | | when a write delegation is held. Also, add a missing mtx_unlock() call for the ACL debugging code. MFC after: 5 days
* Fix Sibyte SMP kernel breakage caused by r208249.neel2010-05-181-0/+2
| | | | | We need to include the header file that provides declaration of the smp_topo_none() function.
* Adds the file I forgot to add... that handlesrrs2010-05-181-0/+68
| | | | | | the mpwait.S for RMI Approved by: JC
* Adds JC's cleanup patches that fix it sorrs2010-05-185-19/+30
| | | | | | | | we call an platform dependant topo function as well as clean up all the XLR specific ifdefs around smp platform init. Obtained from: JC
* - Round up the journal size to the block size so we don't confuse fsck.jeff2010-05-181-4/+8
| | | | | | | | | | | Reported by: Mikolaj Golub <to.my.trociny@gmail.com> - Only require 256k of blocks per-cg when trying to allocate contiguous journal blocks. The storage may not actually be contiguous but is at least within one cg. - When disabling SUJ leave SU enabled and report this to the user. It is expected that users will upgrade SU filesystems to SUJ and want a similar downgrade path.
* Add a sanity check for a negative args.fhsize to the experimentalrmacklem2010-05-171-1/+1
| | | | | | NFS client. MFC after: 5 days
* Prevent unloading a kld for a driver that has subinterfaces (vlan and/orjhb2010-05-171-9/+3
| | | | | | | | | | | | | | | | | wlan interfaces) from being automatically reloaded via devd shutdown event handlers. - Revert part of my previous changes to call ifn_stop on subinterfaces when an interface is detached. It is better to destroy the interfaces first so that an 'ifconfig foo0.blah down' doesn't result in ifconfig auto-loading if_foo.ko. The ifconfig command will not be invoked if foo0.blah is gone when ifn_stop() is called. Furthermore, it is not necessary to explicitly invoke ifn_stop() after the subinterface is destroyed as devd will already do that. - Pass -n to ifconfig when destroying interfaces so that destroying a cloned interface does not kldload any drivers. Reviewed by: dougb MFC after: 4 days
* Ignore failures from removing multicast addresses from the parent (trunk)jhb2010-05-171-13/+14
| | | | | | | | | | | | | | | | | | interface when tearing down a vlan interface. If a trunk interface is detached, all of its multicast addresses are removed before the ifnet departure eventhandlers are invoked. This means that all of the multicast addresses are removed before the vlan interfaces are removed which causes the if_delmulti() calls in the vlan teardown to fail. In the VLAN_ARRAY case, this left vlan interfaces referencing a no longer valid parent interface. In the !VLAN_ARRAY case, the eventhandler gets stuck in an infinite loop retrying vlan_unconfig_locked() forever. In general the callers of vlan_unconfig_locked() do not expect nor handle failure, so I believe it is safer to ignore the errors and tear down as much of the vlan state as possible. Silence from: net@ MFC after: 4 days
* Use better type for siginfo (volatile sig_atomic_t instead of int).pjd2010-05-171-1/+2
| | | | Pointed out by: jh
* Slightly improve wording.ivoras2010-05-171-1/+2
|
* Removed ar(1)'s support for compressed archives. This change removeskaiw2010-05-177-40/+11
| | | | | | | | | | | | | | ar(1)'s dependencies on compressor libraries -lz, -lbz2 and -llzma and fixes building HEAD on some versions of FreeBSD[78]. Option -j and -z is now accepted but ignored. Compressed ar(1) archives are not useful without a ld(1) that can read them. Also, the current ar(1) compression scheme prevents random access of archive members and needs to be redesigned anyway. Submitted by: kientzle (original patch) Reviewed by: delphij Discussed on: -current mailing list
* Fix build.delphij2010-05-171-1/+1
|
* Make mvs_if.c to not be always linked statically into the kernel.mav2010-05-172-2/+2
| | | | Link it same way as mvs.c.
* On entry to pmap_enter(), assert that the page is busy. While I'malc2010-05-1613-30/+150
| | | | | | | | | | | | | | | | | | | | here, make the style of assertion used by pmap_enter() consistent across all architectures. On entry to pmap_remove_write(), assert that the page is neither unmanaged nor fictitious, since we cannot remove write access to either kind of page. With the push down of the page queues lock, pmap_remove_write() cannot condition its behavior on the state of the PG_WRITEABLE flag if the page is busy. Assert that the object containing the page is locked. This allows us to know that the page will neither become busy nor will PG_WRITEABLE be set on it while pmap_remove_write() is running. Correct a long-standing bug in vm_page_cowsetup(). We cannot possibly do copy-on-write-based zero-copy transmit on unmanaged or fictitious pages, so don't even try. Previously, the call to pmap_remove_write() would have failed silently.
* Teach gpart about bootcode on APM.nwhitehorn2010-05-162-1/+27
|
* Pull OF_quiesce() out of the MI Open Firmware layer and entirely intonwhitehorn2010-05-166-67/+35
| | | | | | PPC ofw_machdep.c, in recognition of its state as a machine specific hack. Requested by: marius
* allocate ipv6 flows from the ipv6 flow zonekmacy2010-05-163-2/+2
| | | | | | reported by: rrs@ MFC after: 3 days
* On SIGINFO print current values on stderr.pjd2010-05-161-44/+68
|
* Reorganize slightly in preparation for making lzma and bz2 support conditional.kientzle2010-05-162-4/+10
|
* It is not necessary (and in some cases harmful) to hardcode ata_kauai'snwhitehorn2010-05-161-2/+3
| | | | | | IRQ to 39 on K2 devices, as well as Shasta ones. Reported by: Andreas Tobler
* Enable smu(4) to report fan speeds on late-model Powermac G5s.nwhitehorn2010-05-161-5/+28
|
* Fix userland build by making io_task available only for the kernel and bypjd2010-05-162-0/+5
| | | | | | providing taskq_dispatch_safe() macro. MFC after: 1 week
* This pushes all of JC's patches that I have in place. Irrs2010-05-1621-614/+501
| | | | | | | | | | | am now able to run 32 cores ok.. but I still will hang on buildworld with a NFS problem. I suspect I am missing a patch for the netlogic rge driver. JC check and see if I am missing anything except your core-mask changes Obtained from: JC
* Correct an error of omission in r202897: Now that amd64 uses the direct mapalc2010-05-161-0/+14
| | | | | | | to access the message buffer, we must explicitly request that the underlying physical pages are included in a crash dump. Reported by: Benjamin Kaduk
* Relocate interrupt sense setting for K2 SATA from the ATA driver to thenwhitehorn2010-05-162-15/+25
| | | | | | | OFW PCI layer and read the sense directly from the device tree instead of guessing. MFC after: 1 week
* This adds back the Iterator to the sctprrs2010-05-169-332/+235
| | | | | | | | | code base. We now properly have ONE thread that services all VNET's. Also we purge out the old timer based iterator code which had multiple LOR's and other issues. MFC after: 3 days
* Add a comment about the proper use of vm_object_page_remove().alc2010-05-161-1/+2
| | | | MFC after: 1 week
* On PowerMac11,2 and (presumably) PowerMac12,1, we need to quiesce thenwhitehorn2010-05-166-0/+72
| | | | | | | | | | firmware in order to take over control of the SMU. Without doing this, the firmware background process doing fan control will run amok as we take over the system and crash the management chip. This is limited to these two machines because our kernel is heavily dependent on firmware accesses, and so quiescing firmware can cause nasty problems.
* On SMP G5 systems, sometimes the power-mode-data property is only foundnwhitehorn2010-05-161-0/+5
| | | | on CPU 0, so look there if it is not otherwise available.
* Add support for the U4 PCI-Express bridge chipset used in late-generationnwhitehorn2010-05-169-864/+1491
| | | | | | | | | | Powermac G5 systems. MSI and several other things are not presently supported. The U3/U4 internal device support portions of this change were contributed by Andreas Tobler. MFC after: 1 week
* Allow to configure UMA usage for ZIO data via loader and turn it on bypjd2010-05-161-29/+31
| | | | | | | default for amd64. On i386 I saw performance degradation when UMA was used, but for amd64 it should help. MFC after: 3 days
* Add task structure to zio and use it instead of allocating one.pjd2010-05-164-10/+80
| | | | | | | | | This eliminates the only place where we can sleep when calling zio_interrupt(). As a side-effect this can actually improve performance a little as we allocate one less thing for every I/O. Prodded by: kib MFC after: 1 week
* Add the ofw_bus_if.h dependency introduced with r207585.marius2010-05-161-1/+5
|
* The whole point of having dedicated worker thread for each leaf VDEV was topjd2010-05-161-105/+22
| | | | | | | | | | | | | | | avoid calling zio_interrupt() from geom_up thread context. It turns out that when provider is forcibly removed from the system and we kill worker thread there can still be some ZIOs pending. To complete pending ZIOs when there is no worker thread anymore we still have to call zio_interrupt() from geom_up context. To avoid this race just remove use of worker threads altogether. This should be more or less fine, because I also thought that zio_interrupt() does more work, but it only makes small UMA allocation with M_WAITOK. It also saves one context switch per I/O request. PR: kern/145339 Reported by: Alex Bakhtin <Alex.Bakhtin@gmail.com> MFC after: 1 week
* Use setresuid/setresgid to drop privilegeskevlo2010-05-161-2/+8
|
* Fix deadlock between zfs_dirent_lock and zfs_rmdirmm2010-05-164-4/+50
| | | | | | | | OpenSolaris onnv revision: 11321:506b7043a14c Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6847615) MFC after: 3 days
* Fix perfomance problem with ZFS prefetch caching [1]mm2010-05-163-16/+92
| | | | | | | | | | | Add statistics for ZFS prefetch (sysctl kstat.zfs.misc.zfetchstats) Partial import of OpenSolaris onnv revision 10474:0e96dd3b905a Reported by: jhell@dataix.net (private e-mail) [1] Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6859997, 6868951) MFC after: 3 days
* Correct compilation error introduced in last commit.mjacob2010-05-161-2/+2
| | | | | | | | X-MFC: 208119 MFC after: 1 week Sponsored By: Panasas Pointy Hat to: Me Noticed by: Rob
* Disable bypass for the vop_advlockpurge(). The vop is called afterkib2010-05-161-0/+1
| | | | | | vop_revoke(), the v_data is already destroyed. Reported and tested by: ed
* - fixes a bug that it didn't initialize the ratectl after association;weongyo2010-05-151-3/+9
| | | | | | | | | | | so ni_txrate returned 0 which is a invalid result. - The fourth argument of ieee80211_ratectl_tx_complete() could be not NULL. Reported by: Gustau P?rez <gperez at entel.upc.edu> Tested by: Gustau P?rez <gperez at entel.upc.edu>, Ian FREISLICH <ianf at clue.co.za> MFC after: 3 days
* Whap. Hook up some wires that were forgotten a few months ago and restoremjacob2010-05-152-18/+15
| | | | | | | the zombie device timeout code and the loop down time code and the fabric hysteresis code. MFC after: 1 week Sponsored By: Panasas
* Fix a mismerge in r206001.marius2010-05-151-3/+3
| | | | | | PR: 146614 Approved by: jfv (implicit) MFC afer: 3 days
OpenPOWER on IntegriCloud