summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add new committer rstone to committers-src.dotrstone2010-04-201-0/+4
|
* MFV: zlib 1.2.5.delphij2010-04-2018-74/+117
|
* Fix another instance of lapic_cyclic_clock_func.rpaulo2010-04-201-2/+2
|
* Make sure that we free the passed in data message if we don't actuallyimp2010-04-201-3/+12
| | | | | | | insert it onto the queue. Also, fix a mtx leak if someone turns off devctl while we're processing a messages. MFC after: 5 days
* Bump minor version of config to reflect the new option remappingimp2010-04-201-1/+1
| | | | | | | | | | | | | feature. The kernel makefiles have specifically not been bumped because nothing uses this new feature and doing so forces everybody to recompile for no good reason. This chnage will be MFC'd where the kernel version numbers for amd64 and ia64 will be bumped, since those are the only two that have use the option remapping feature. Once merged, this will give a better error message to folks that are using buildkernel without buildworld or kernel-toolchain to update their kernels. MFC after: 3 days
* It's not necessary to reset the chip every time an input overflow eventbrucec2010-04-201-12/+3
| | | | | | | | | | occurs. In addition, the delay when programming the short cable fix should be 100us, not 100ms. PR: kern/64556 Submitted by: Thomas Hurst <tom at hur.st> Approved by: rrs (mentor) MFC after: 1 week
* Add myself and list bz@ as my mentor.anchie2010-04-201-0/+2
| | | | Approved by: bz (mentor)
* Make this file more C++ friendly.imp2010-04-201-1/+3
|
* Add the necessary hooks for dtrace cyclic module.rpaulo2010-04-201-1/+10
|
* Rename the cyclic global variable lapic_cyclic_clock_func to justrpaulo2010-04-204-10/+10
| | | | | cyclic_clock_func. This will make more sense when we start developing non x86 cyclic version.
* The amd64 version of the cyclic dtrace module is a verbatim copy of therpaulo2010-04-202-134/+1
| | | | | i386 version, so instead having a copy of the same file, use Makefile foo to include the i386 version on amd64.
* Free() is not allowed to modify errno, remove safety brackets around it [1].kib2010-04-201-13/+5
| | | | | | | | | Add small optimization, do not copy a string to the buffer that is to be freed immediately after. Noted by: jh [1] Reviewed by: jh MFC after: 2 weeks
* Fix compilation in the !SMP case.attilio2010-04-201-0/+6
| | | | | | | | Keep the interrupts disabled in order to avoid preemption problems. Reported by: tinderbox, b.f. <bf1783 at googlemail dot com> MFC: 2 weeks X-MFC: r206878
* Remove svn:executable prop.rpaulo2010-04-205-0/+0
|
* The cache_enter(9) function shall not be called for doomed dvp.kib2010-04-203-1/+11
| | | | | | | | | | | | | | | | Assert this. In the reported panic, vdestroy() fired the assertion "vp has namecache for ..", because pseudofs may end up doing cache_enter() with reclaimed dvp, after dotdot lookup temporary unlocked dvp. Similar problem exists in ufs_lookup() for "." lookup, when vnode lock needs to be upgraded. Verify that dvp is not reclaimed before calling cache_enter(). Reported and tested by: pho Reviewed by: kan MFC after: 2 weeks
* Slightly modernize realpath(3).kib2010-04-203-9/+66
| | | | | | | | | | | SUSv4 requires that implementation returns EINVAL if supplied path is NULL, and ENOENT if path is empty string [1]. Bring prototype in conformance with SUSv4, adding restrict keywords. Allow the resolved path buffer pointer be NULL, in which case realpath(3) allocates storage with malloc(). PR: kern/121897 [1] MFC after: 2 weeks
* Update highest_tsn variables when sliding mapping arrays.tuexen2010-04-201-0/+6
|
* Really print the nr_mapping array when it should be printed.`tuexen2010-04-201-1/+1
| | | | MFC after: 3 days.
* o Add do-not-fragment option support to ping6(8).maxim2010-04-202-6/+16
| | | | | | PR: bin/145759 Submitted by: pluknet MFC after: 1 month
* Eliminate an unnecessary call to pmap_remove_all(). If a page belongs toalc2010-04-201-1/+2
| | | | | an object whose reference count is zero, then that page cannot possibly be mapped.
* Add gpart and glabel to the release CD mfsroot. Even if sysinstallnwhitehorn2010-04-201-1/+4
| | | | | | | | cannot partition disks on powerpc, this will allow the user to. PR: powerpc/93203 Obtained from: ia64 MFC after: 1 week
* For the experimental NFS client doing an NFSv4 mount,rmacklem2010-04-201-3/+6
| | | | | | | | | | set the NFSCLFLAGS_RECVRINPROG while doing recovery from an expired lease in a manner similar to r206818 for server reboot recovery. This will prevent the function that acquires stateids for I/O operations from acquiring out of date stateids during recovery. Also, fix up mutex locking on the nfsc_flags field. MFC after: 1 week
* getblk lockmgr is mostly used as a msleep() and may lead too easilly toattilio2010-04-191-0/+1
| | | | | | | false positives. Whitelist it. Reported by: Erik Cederstrand <erik at cederstrand dot dk>
* Fix a deadlock in the shutdown code:attilio2010-04-191-7/+12
| | | | | | | | | | | | | | | | | | | | | | | | | When performing a smp_rendezvous() or more likely, on amd64 and i386, a smp_tlb_shootdown() the caller will end up with the smp_ipi_mtx spinlock held, busy-waiting for other CPUs to acknowledge the operation. As long as CPUs are suspended (via cpu_reset()) between the active mask read and IPI sending there can be a deadlock where the caller will wait forever for a dead CPU to acknowledge the operation. Please note that on CPU0 that is going to be someway heavier because of the spinlocks being disabled earlier than quitting the machine. Fix this bug by calling cpu_reset() with the smp_ipi_mtx held. Note that it is very likely that a saner offline/online CPUs mechanism will help heavilly in fixing similar cases as it is likely more bugs of this type may arise in the future. Reported by: rwatson Discussed with: jhb Tested by: rnoland, Giovanni Trematerra <giovanni dot trematerra at gmail dot com> MFC: 2 weeks Special deciation to: anyone who made possible to have 16-ways machines in Netperf
* With r206844, CSUM_TCP is also set for CSUM_TSO case. Modifyyongari2010-04-196-133/+125
| | | | | drivers to take into account for the change. Basically CSUM_TSO should be checked before checking CSUM_TCP.
* MFV of tzdata2010i, r206865edwin2010-04-193-11/+111
| | | | | | - Marocco does have DST this year between May and August. - Historical data for Taiwan - Argentina / San Luis does not do DST this year.
* Fix ddb(4) "show geom addr" command when INVARIANTS is enabled. Don'tjh2010-04-191-7/+13
| | | | | | | assert that the topology lock is held when g_valid_obj() is called from debugger. MFC after: 1 week
* Dump the AR_PHY_TURBO register on the AR5416. This register holds 11nrpaulo2010-04-191-0/+1
| | | | | | configurations. Sponsored by: iXsystems, inc.
* fix 64-bit buildluigi2010-04-191-2/+4
| | | | Reported by: Robert Noland
* whitespace fixes (trailing whitespace, bad indentationluigi2010-04-198-59/+61
| | | | after a merge, etc.)
* Don't clear other flags (e.g. CSUM_TCP) when setting CSUM_TSO. This wasken2010-04-191-1/+1
| | | | | | | causing TSO to break for the Xen netfront driver. Reviewed by: gibbs, rwatson MFC after: 7 days
* Slightly different handling of printf/snprintf for unaligned uint64_t,luigi2010-04-193-36/+40
| | | | | | | which should improve readability, and also to ease the port to platforms that do not support %llu MFC after: 3 days
* Fix brokenness in top on big-endian 32-bit systems introduced whennwhitehorn2010-04-191-1/+1
| | | | | | | changing format_k2 to take a long long. Because itoa is defined as a K&R C function, without prototyping its arguments, format_k2 passed a 64-bit value, but itoa() received only the first word, showing '0' in all memory fields.
* Get delayed SACK working again.tuexen2010-04-191-0/+4
| | | | MFC after: 3 days.
* Revert r206755. It causes some laptops to stop booting.rpaulo2010-04-191-1/+0
|
* Partially MFp4 #176265 by pjd@:delphij2010-04-191-5/+12
| | | | | | | | | | | | - Properly initialize and destroy system_taskq. - Add a dummy implementation of taskq_create_proc(). Note: We do not currently use system_taskq in ZFS so this is mostly a no-op at this time. Proper system_taskq initialization is required by newer ZFS code. Ok'ed by: pjd MFC after: 2 weeks
* Fix MALTA64 build.jmallett2010-04-191-2/+2
|
* Remove unused file.jmallett2010-04-192-172/+0
|
* o) Eliminate the "stand" frame and its use. Use CALLFRAME_* everywhere.jmallett2010-04-197-349/+237
| | | | | | | | | | | | | | | | | o) Use <machine/asm.h> macros for register-width, etc., rather than doing it by hand in a few more assembly files. o) Reduce diffs between various bits of TLB refill code in exception.S and between interrupt processing code. o) Use PTR_* to operate on registers that are pointers (e.g. sp). o) Add and use a macro, CLEAR_PTE_SWBITS rather than using the mysteriously-named WIRED_SHIFT to select bits to truncate when loading PTEs. o) Don't doubly disable interrupts by moving zero to the status register, especially since that has the nasty side-effect of taking us out of 64-bit mode. o) Use CLEAR_STATUS to disable interrupts the first time. o) Keep SR_PX set as well as SR_[KSU]X when doing exception processing. This is the bit that determines whether 64-bit operations are allowed. o) Don't enable interrupts until configure_final(), like most other ports.
* o) Fix XKPHYS physical address extraction. Also define cache coherencyjmallett2010-04-195-43/+49
| | | | | | | | | attributes for XKPHYS. o) Make coprocessor 0 accessor function macros for register+selector registers take the full name so that e.g. (as done in this commit), prid selector 1 can be written through mips_wr_ebase() rather than mips_wr_prid1(). o) Allow for sign extension of 32-bit segment addresses. o) Remove an unused MIPS-I register number.
* vm_thread_swapout() can safely dirty the page before rather than afteralc2010-04-191-1/+1
| | | | acquiring the page queues lock.
* o) Add a VM find-space option, VMFS_TLB_ALIGNED_SPACE, which searches thejmallett2010-04-1814-34/+88
| | | | | | | | | | | | | | | | | | | | | address space for an address as aligned by the new pmap_align_tlb() function, which is for constraints imposed by the TLB. [1] o) Add a kmem_alloc_nofault_space() function, which acts like kmem_alloc_nofault() but allows the caller to specify which find-space option to use. [1] o) Use kmem_alloc_nofault_space() with VMFS_TLB_ALIGNED_SPACE to allocate the kernel stack address on MIPS. [1] o) Make pmap_align_tlb() on MIPS align addresses so that they do not start on an odd boundary within the TLB, so that they are suitable for insertion as wired entries and do not have to share a TLB entry with another mapping, assuming they are appropriately-sized. o) Eliminate md_realstack now that the kstack will be appropriately-aligned on MIPS. o) Increase the number of guard pages to 2 so that we retain the proper alignment of the kstack address. Reviewed by: [1] alc X-MFC-after: Making sure alc has not come up with a better interface.
* Avoid extraneous recovery cycles in the experimental NFS clientrmacklem2010-04-182-4/+30
| | | | | | | | | | | | | | when an NFSv4 server reboots, by doing two things. 1 - Make the function that acquires a stateid for I/O operations block until recovery is complete, so that it doesn't acquire out of date stateids. 2 - Only allow a recovery once every 1/2 of a lease duration, since the NFSv4 server must provide a recovery grace period of at least a lease duration. This should avoid recoveries caused by an out of date stateid that was acquired for an I/O op. just before a recovery cycle started. MFC after: 1 week
* sh: Add testcases for double-quotes within quoted ${var+-...} (non-POSIX).jilles2010-04-181-0/+44
| | | | | | POSIX leaves things like "${var+"word"}" undefined. We follow traditional ash behaviour here. Hence, these testcases also work on stable/8.
* Remove a nonsensical test from vm_pageout_clean(). A page can't be in thealc2010-04-181-2/+0
| | | | | | | inactive queue and have a non-zero wire count. Reviewed by: kib MFC after: 3 weeks
* Delete svn:executable prop.rpaulo2010-04-181-0/+0
|
* Revert r206649.kib2010-04-181-18/+13
| | | | | | | | | Simplify the presented declaration of struct sigaction, noting the caveat in the text. Real layout of the structure and exposed implementation namespace only obfuscates the usage. Submitted by: bde MFC after: 3 days
* There is no justification for vm_object_split() setting PG_REFERENCED on aalc2010-04-181-1/+0
| | | | | | page that it is going to sleep on. Eliminate it. MFC after: 3 weeks
* Restore previous order.pjd2010-04-181-1/+1
|
* Style fixes.pjd2010-04-181-66/+54
|
OpenPOWER on IntegriCloud