summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Regenerate after r235388.marius2012-05-132-30/+24
|
* - Get rid of debugging support in order to get rid of the V8-specific Cmarius2012-05-131-20/+18
| | | | | | | | | | | compiler frame size used there so this whole thing is V8/V9-agnostic. - Use 32-bit function alignment as GCC does when using UltraSPARC I or higher optimizations. - Don't waste delay slots when possible. Unfortunately, this still doesn't make libcompiler_rt a viable replacement for libgcc on sparc64 though as once installed instead, buildworld times increase by nearly 60% (which isn't related to these assembler functions).
* Fix config_lazy_lock so that thread caching isn't used forjasone2012-05-133-10/+19
| | | | single-threaded applications.
* Fix two cases in the new NFS server where a tsleep() isrmacklem2012-05-121-6/+9
| | | | | | | | | | | | | used, when the code should actually protect the tested variable with a mutex. Since the tsleep()s had a 10sec timeout, the race would have only delayed the allocation of a new clientid for a client. The sleeps will also rarely occur, since having a callback in progress when a client acquires a new clientid, is unlikely. in practice, since having a callback in progress when a fresh clientid is being acquired by a client is unlikely. MFC after: 1 month
* Import dtracetoolkit into cddl/contribgnn2012-05-121007-0/+78392
|\
* | Revert previous failed cp.gnn2012-05-121008-78856/+0
| |
* | Import dtracetoolkit into cddl/contribgnn2012-05-121007-0/+78392
|\ \ | |/
| * Add the remaining scripts from the DTraceToolkit, version 0.99, to thegnn2012-05-121006-0/+77925
| | | | | | | | | | | | vendor tree. http://www.brendangregg.com/dtrace.html#DTraceToolkit
* | Setup the CPU port and broadcast map on the AR7240, rather thanadrian2012-05-122-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | depending upon the bootloader initialising it. The aim is to eventually support a full switch set and reinitialisation rather than relying on a consistent bootloader setup. Remove the port flood config from arswitch.c, it's not yet used and it's totally incorrect. Whilst I'm here, also add in a comment describing why the full switch reset is disabled. Obtained from: Linux (OpenWRT) - Values
* | Remove leading .Ns macro to silence mdoc(7) warning.gjb2012-05-121-2/+1
| |
* | Add new pager type, OBJT_MGTDEVICE. It provides the device pagerkib2012-05-124-10/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | which carries fictitous managed pages. In particular, the consumers of the new object type can remove all mappings of the device page with pmap_remove_all(). The range of physical addresses used for fake page allocation shall be registered with vm_phys_fictitious_reg_range() interface to allow the PHYS_TO_VM_PAGE() to work in pmap. Most likely, only i386 and amd64 pmaps can handle fictitious managed pages right now. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
* | mdoc(7) markup cleanup.gjb2012-05-122-3/+3
| |
* | Add a facility to register a range of physical addresses to be usedkib2012-05-124-13/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for allocation of fictitious pages, for which PHYS_TO_VM_PAGE() returns proper fictitious vm_page_t. The range should be de-registered after consumer stopped using it. De-inline the PHYS_TO_VM_PAGE() since it now carries code to iterate over registered ranges. A hash container might be developed instead of range registration interface, and fake pages could be put automatically into the hash, were PHYS_TO_VM_PAGE() could look them up later. This should be considered before the MFC of the commit is done. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
* | Fix mdoc(7) markup.gjb2012-05-123-7/+7
| |
* | .. oops, include setting the MTU.adrian2012-05-121-1/+4
| |
* | Document what the flood register setting does.adrian2012-05-121-1/+8
| |
* | * Add in the AR7240 global control field for setting the maximum frameadrian2012-05-121-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | size for the AR7240. * Include SM/MS macros, thanks to ath_hal(4). * This field is for normal packets, VLAN and other headers are added to this by the switch device. * Set the MTU to 1536, to match what is done in Linux. Use the SM macro to write this field. Obtained from: Atheros (AR7240 datasheet), Linux OpenWRT (MTU default)
* | Split the code from vm_page_getfake() to initialize the fake page structkib2012-05-122-1/+18
| | | | | | | | | | | | | | | | | | vm_page into new interface vm_page_initfake(). Handle the case of fake page re-initialization with changed memattr. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
* | Assert that the page passed to vm_page_putfake() is unmanaged.kib2012-05-121-0/+1
| | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
* | sparc64/zfs boot: take advantage of new libzfsboot capabilitiesavg2012-05-128-156/+55
| | | | | | | | | | | | | | Also drop the now unneeded compatibility shims. Tested by: marius MFC after: 1 month
* | Minor mdoc nits.joel2012-05-122-4/+4
| |
* | Assert that fictitious or unmanaged pages do not appear onkib2012-05-121-0/+9
| | | | | | | | | | | | | | | | active/inactive lists. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
* | zfs boot code: use %j and uintmax_t instead %ll and uint64_t in printfsavg2012-05-122-11/+13
| | | | | | | | | | | | | | This is to silence warnings that result from different definitions of uint64_t on different architectures, specifically i386 and sparc64. MFC after: 1 month
* | Provide in the association change notification the received ABORT chunktuexen2012-05-1210-135/+107
| | | | | | | | | | | | if case of SCTP_COMM_LOST or SCTP_CANT_STR_ASSOC as required by RFC 6458. MFC after: 3 days
* | Commit the change forgotten in r235356.kib2012-05-121-1/+1
| | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
* | Set formatting width and offset in DB_COMMAND(9).gjb2012-05-121-1/+1
| |
* | Fix an mdoc(7) nit.gjb2012-05-121-1/+1
| |
* | Make the vm_page_array_size long. Remove redundand zero initializationkib2012-05-121-4/+4
| | | | | | | | | | | | | | | | for vm_page_array_size and nearby variablees. Sponsored by: The FreeBSD Foundation Reviewed by: alc MFC after: 1 month
* | Remove end of line whitespace.joel2012-05-126-10/+10
| |
* | Minor mdoc nit.joel2012-05-121-1/+1
| |
* | Remove duplicate config bits.adrian2012-05-121-4/+0
| | | | | | | | Submitted by: juli
* | Add glue/support for the SAM9XE512-based Ethernut 5 boards. Currently,marius2012-05-125-0/+364
| | | | | | | | | | | | | | | | all integrated and on-board peripherals except the DataFlash (at91_spi(4) and at45d(4) still need to be unb0rken) and NAND Flash (missing NAND framework) are working. AFAICT, this makes FreeBSD the first operating system besides Nut/OS supporting Ethernut 5 out of tree.
* | Docuement requirement to alter some sysctls when using igb(4) withgjb2012-05-121-1/+9
| | | | | | | | | | | | | | | | | | jumbo frames. PR: 153738 Submitted by: Tom Judge (tom!tomjudge.com) Discussed with: jfv (in part, a long time ago...) MFC after: 1 week
* | Revert this - I disabled it whilst hwpmc is/was broken.adrian2012-05-121-1/+1
| |
* | Flip on WN1043ND switch PHY support.adrian2012-05-123-5/+35
| | | | | | | | | | | | | | | | * Add the i2c bitbang bus; * Add the etherswitch/rtl8366rb drivers; * "fix" the USB GPIO configuration so USB actually works. Submitted by: Stefan Bethke <stb@lassitu.de>
* | mdoc: use Po and Pc macros instead of parens. Also avoid starting a linejoel2012-05-122-6/+8
| | | | | | | | with Ns.
* | add a zfs spa_t change missed in r235329avg2012-05-121-1/+1
| | | | | | | | | | | | | | | | sys/cddl/boot is obviously not under sys/boot... Pointed out by: Jan Beich <jbeich@tormail.org> Pointyhat to: avg MFC after: 1 month
* | Regenerate src.conf(5) for mdoc(7) and typo corrections.gjb2012-05-125-15/+11
| | | | | | | | | | | | PR: 167804 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* | Remove tab from kernel configuration option. This is consistent with the restjoel2012-05-121-1/+1
| | | | | | | | of our manual pages.
* | Add opt_wlan.h includes, so IEEE80211_* configuration changes areadrian2012-05-125-0/+6
| | | | | | | | | | | | correctly picked up. Noticed by: Justin Hibbits, whilst debugging @ BSDCan
* | General mdoc(7) and typo fixes.gjb2012-05-1213-42/+48
| | | | | | | | | | | | PR: 167804 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* | mdoc: remove redundant paragraph macro.joel2012-05-121-1/+0
| |
* | mdoc: remove redundant Pp and end a display block with Ed.joel2012-05-121-1/+1
| |
* | Convert the if_vr(4) driver model to the interrupt filter model and userpaulo2012-05-122-12/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a taskqueue. This gives a 16% performance improvement under high load on slow systems, especially when vr shares an interrupt with another device, which is common with the Alix x86 boards. Contrary to the other devices, I left the interrupt processing for loop in because there was no significant difference in performance and this should avoid enqueuing more taskqueues unnecessarily. We also decided to move the vr_start_locked() call inside the for loop because we found out that it helps performance since TCP ACKs now have a chance to go out quicker. Reviewed by: yongari (older version, same idea) Discussed with: yongari, jhb
* | Add two functions xpt_batch_start() and xpt_batch_done() to the CAM SIM KPImav2012-05-127-1/+32
| | | | | | | | | | | | | | | | | | to allow drivers to handle request completion directly without passing them to the CAM SWI thread removing extra context switch. Modify all ATA/SATA drivers to use them. Reviewed by: gibbs, ken MFC after: 2 weeks
* | PR# 165923 reported intermittent write failures for dirtyrmacklem2012-05-128-2/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | memory mapped pages being written back on an NFS mount. Since any thread can call VOP_PUTPAGES() to write back a dirty page, the credentials of that thread may not have write access to the file on an NFS server. (Often the uid is 0, which may be mapped to "nobody" in the NFS server.) Although there is no completely correct fix for this (NFS servers check access on every write RPC instead of at open/mmap time), this patch avoids the common cases by holding onto a credential that recently opened the file for writing and uses that credential for the write RPCs being done by VOP_PUTPAGES() for both NFS clients. Tested by: Joel Ray Holveck (joelh at juniper.net) PR: kern/165923 Reviewed by: kib MFC after: 2 weeks
* | Add more obsolete files.antoine2012-05-121-0/+24
| |
* | zfs boot: try to set vfs.root.mountfrom from currdev as a fallbackavg2012-05-121-2/+16
| | | | | | | | | | | | | | | | | | | | This way with the new zfsloader there is no need to explicitly set zfs root filesystem either via vfs.root.mountfrom or fstab. It should be automatically picked up from currdev which is by default is set from bootfs. Tested by: Florian Wagner <florian@wagner-flo.net> (x86) MFC after: 1 month
* | zfsboot/zfsloader: support accessing filesystems within a poolavg2012-05-1212-187/+784
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In zfs loader zfs device name format now is "zfs:pool/fs", fully qualified file path is "zfs:pool/fs:/path/to/file" loader allows accessing files from various pools and filesystems as well as changing currdev to a different pool/filesystem. zfsboot accepts kernel/loader name in a format pool:fs:path/to/file or, as before, pool:path/to/file; in the latter case a default filesystem is used (pool root or bootfs). zfsboot passes guids of the selected pool and dataset to zfsloader to be used as its defaults. zfs support should be architecture independent and is provided in a separate library, but architectures wishing to use this zfs support still have to provide some glue code and their devdesc should be compatible with zfs_devdesc. arch_zfs_probe method is used to discover all disk devices that may be part of ZFS pool(s). libi386 unconditionally includes zfs support, but some zfs-specific functions are stubbed out as weak symbols. The strong definitions are provided in libzfsboot. This change mean that the size of i386_devspec becomes larger to match zfs_devspec. Backward-compatibility shims are provided for recently added sparc64 zfs boot support. Currently that architecture still works the old way and does not support the new features. TODO: - clear up pool root filesystem vs pool bootfs filesystem distinction - update sparc64 support - set vfs.root.mountfrom based on currdev (for zfs) Mid-future TODO: - loader sub-menu for selecting alternative boot environment Distant future TODO: - support accessing snapshots, using a snapshot as readonly root Reviewed by: marius (sparc64), Gavin Mu <gavin.mu@gmail.com> (sparc64) Tested by: Florian Wagner <florian@wagner-flo.net> (x86), marius (sparc64) No objections: fs@, hackers@ MFC after: 1 month
* | mdoc: end list context with El.joel2012-05-121-0/+1
| |
OpenPOWER on IntegriCloud