summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use dtrace -s instead of /bin/sh for DTrace scripts.rpaulo2014-06-263-119/+114
|
* Fix whitspace indentation from spaces to tabs.bz2014-06-261-64/+64
| | | | | | No functional changes. MFC after: 2 weeks
* Introduce opt_netfpga.h and allow setting NF10BMAC_64BIT from mips kernelbz2014-06-264-2/+8
| | | | | | | | | configs. Switch the BERI_NETFPGA_MDROOT to 64bit by default. Give we have working interrupts also cleanup the extra polling CFLAGS from the module Makefile. MFC after: 2 weeks
* Add support for emulating the move instruction: "mov r/m8, imm8".tychon2014-06-261-0/+15
| | | | Reviewed by: neel
* Allow switching between 32bit and 64bit bus width data access at compilebz2014-06-262-19/+41
| | | | | | | | | time by setting NF10BMAC_64BIT and using a REGWTYPE #define to set correct variable and return value widths. Adjust comments to indicate the 32 or 64bit register widths. MFC after: 2 weeks
* Rather than using a constant use sizeof(val) allowing for the lengthbz2014-06-261-1/+1
| | | | | | to automatically change as we switch between 32/64bit. MFC after: 2 weeks
* In preparation for 64bit mode remove all the _4 from the function andbz2014-06-261-58/+58
| | | | | | | | macro names, rename val4 to val, and m4 to md. No functional change. MFC after: 2 weeks
* Delay the call to crhold() in vm_map_insert() until we know that we won'talc2014-06-261-9/+4
| | | | | | | | | | have to undo it by calling crfree(). This reduces the total number of calls by vm_map_insert() to crhold() and crfree() by 45% in my tests. Eliminate an unnecessary variable from vm_map_insert(). Reviewed by: kib Tested by: pho
* Fix build with WITHOUT_INET6.ume2014-06-261-0/+2
| | | | | Spotted by: bf MFC after: 1 week
* Remove duplicated includes.pjd2014-06-264-9/+2
| | | | Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
* - Exclude loopback address rather than loopback interface.ume2014-06-261-13/+27
| | | | | | | | | | | - style(9) TODO: When AI_ADDRCONFIG is specified, getaddrinfo() can be quite slow for system with many interfaces. We should have some kernel sysctls to report IPv4/IPv6 status. Spotted by: melifaro MFC after: 1 week
* Remove not needed initialisation code.hselasky2014-06-261-11/+2
|
* Document EINVAL as per POSIX.pluknet2014-06-262-2/+10
| | | | | | | | This also follows r124335-r124336, r225827. PR: 191382 MFC after: 1 week Sponsored by: Nginx, Inc.
* Allow MODE SENSE commands through Write Exclusive persistent reservation,mav2014-06-263-4/+33
| | | | | | | | as required by SPC-4. Report that fact in persistent reservation capabilities. MFC after: 2 weeks
* Add READ BUFFER and improve WRITE BUFFER SCSI commands support.mav2014-06-264-22/+113
| | | | | | | | | This gives some use to 512KB per-LUN buffers, allocated for Copan-specific processor code and not used. It allows, for example, to test transport performance and/or correctness without accessing the media, as supported by Linux version of sg3_utils. MFC after: 2 weeks
* Bring the following change from the illumos-joyent repository:rpaulo2014-06-2619-40/+2297
| | | | | | | | | | | | commit 78e24ab6803bbe11ba37642624e1498ede5b239d Author: Bryan Cantrill <bryan@joyent.com> Date: Thu Oct 31 01:20:54 2013 OS-1688 DTrace count() with histogram OS-2360 DTrace full width distribution histograms OS-2361 DTrace frequency trails MFC after: 2 weeks
* MFV r267843: update file/libmagic to 5.19.delphij2014-06-26362-7574/+40468
|\ | | | | | | MFC after: 2 weeks
| * Vendor import of file 5.19.delphij2014-06-24357-7261/+40350
| |
* | Improve r264388 removing namespace pollution previously introduced indavide2014-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | <sys/time.h>. INT64_MAX actually requires __INT64_C() hack to get the type right on exotic architectures (e.g. on ones with 63-bit ints or long 0x7fffffffffffffff is unsigned int or long). The hardcoded LL suffix is good enough to avoid these problems for SBT_MAX (it makes the type always signed long long, without overflow since long long has at least 64 bits). Many thanks to Bruce Evans for the time spent me to explain this. Reported by: bde Reviewed by: bde
* | Retire IP_RSSCPUID ; the right thing to do is query the RSS bucket;adrian2014-06-262-6/+12
| | | | | | | | | | | | | | | | | | map the bucket to an RSS queue, then map the queue to a CPU ID. This way the bucket->queue and queue->CPU mapping can change over time. Introduce IP_RSSBUCKETID - which instead looks up the RSS bucket. User applications can then map the RSS bucket to a CPU.
* | Add another RSS method to query the indirection table entries.adrian2014-06-262-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | There's 128 indirection table entries which correspond to the low 7 bits of the 32 bit RSS hash. Each value will correspond to an RSS bucket. (Then each RSS bucket currently will map to a CPU.) This is a more explicit way of figuring out which RSS bucket is in each RSS indirection slot. It can be inferred by the other methods but I'd rather drivers use something more simplified and explicit.
* | Correct buffer size.delphij2014-06-261-1/+1
| | | | | | | | | | Submitted by: Sascha Wildner <swildner dragonflybsd org> MFC after: 2 weeks
* | Use correct length for buffer.delphij2014-06-251-1/+1
| | | | | | | | | | Submitted by: Sascha Wildner <swildner dragonflybsd org> MFC after: 2 weeks
* | Expose the amount of resident and wired memory from the guest's vmspace.grehan2014-06-253-5/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is different than the amount shown for the process e.g. by /usr/bin/top - that is the mappings faulted in by the mmap'd region of guest memory. The values can be fetched with bhyvectl # bhyvectl --get-stats --vm=myvm ... Resident memory 413749248 Wired memory 0 ... vmm_stat.[ch] - Modify the counter code in bhyve to allow direct setting of a counter as opposed to incrementing, and providing a callback to fetch a counter's value. Reviewed by: neel
* | Expand r261243 even further and ignore any I/O port resources assigned tojhb2014-06-251-5/+14
| | | | | | | | | | | | | | | | PCI root bridges except for the one known-valid case on x86 where bridges claim the I/O port registers used for PCI config space access. Tested by: Hilko Meyer <hilko.meyer@gmx.de> MFC after: 1 week
* | Lock devstat updates in block backend to make it usable. Polish lock names.mav2014-06-252-96/+87
| | | | | | | | | | MFC after: 2 weeks Sponsored by: iXsystems, Inc.
* | MFV r258381:pfg2014-06-251-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | 4251 libdtrace leaks open file handles Illumos commit: 93ed8d0d4b068b95d0bb50d57bb854df462a8485 (partial) Reference: https://www.illumos.org/issues/4251 Discussed with: Robert Mustacchi Obtained from: Illumos MFC after: 1 week
* | Introduce fine-grained CTL locking to improve SMP scalability.mav2014-06-254-498/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split global ctl_lock, historically protecting most of CTL context: - remaining ctl_lock now protects lists of fronends and backends; - per-LUN lun_lock(s) protect LUN-specific information; - per-thread queue_lock(s) protect request queues. This allows to radically reduce congestion on ctl_lock. Create multiple worker threads, depending on number of CPUs, and assign each LUN to one of them. This allows to spread load between multiple CPUs, still avoiging congestion on queues and LUNs locks. On 40-core server, exporting 5 LUNs, each backed by gstripe of SATA SSDs, accessed via 6 iSCSI connections, this change improves peak request rate from 250K to 680K IOPS. MFC after: 2 weeks Sponsored by: iXsystems, Inc.
* | Allow to use iSCSI immediate data by several ctl_datamove() calls.mav2014-06-251-10/+9
| | | | | | | | | | | | | | | | | | While for FreeBSD client that is only a minor optimization, VMWare client doesn't support additional data requests after all data being sent once as immediate. MFC after: 1 week Sponsored by: iXsystems, Inc.
* | Introduce $RA_SERVER to set default whois server.ume2014-06-251-4/+6
| | | | | | | | | | | | Requested by: nork Reviewed by: nork MFC after: 1 week
* | * Handle ++x as well as x++ while converting.marcel2014-06-251-7/+54
| | | | | | | | | | | | | | | | | | * Add special case handling where normal conversion would not work (some APIs have special names) * Fix conversion for function calls involving ifnet Submitted by: Sreekanth Rupavatharam <rupavath@juniper.net> Obtained from: Juniper Networks, Inc.
* | MFV r260708pfg2014-06-252-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4427 pid provider rejects probes with valid UTF-8 names This make use of Solaris' u8_validate() which we happen to use since r185029 for ZFS. Illumos Revision: 1444d846b126463eb1059a572ff114d51f7562e5 Reference: https://www.illumos.org/issues/4427 Obtained from: Illumos MFC after: 2 weeks
* | Remove example cvsup config files.gavin2014-06-257-269/+5
| | | | | | | | MFC after: 1 week
* | Drop references to updating over csup from build(7).gavin2014-06-251-4/+2
| | | | | | | | MFC after: 1 week
* | Drop example variables for updating over csup. These have not functionedgavin2014-06-251-12/+0
| | | | | | | | | | | | since r251084. MFC after: 1 week
* | Remove an nunnecessary reference to csup.gavin2014-06-251-1/+1
| |
* | Remove csup(1) and its associated cpasswd(1) tool.gavin2014-06-2564-20672/+5
| | | | | | | | | | | | | | | | With the move by the FreeBSD Project away from CVSup as a distribution mechanism, there is no longer a need to keep this in base. Approved by: mux (around a year ago), silence on -hackers X-MFC-after: never
* | Mark send-pr info page as an obsolete filebapt2014-06-251-0/+1
| |
* | xen/virtio: fix balloon drivers to not mark pages as WIREDroyger2014-06-252-68/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent the Xen and VirtIO balloon drivers from marking pages as wired. This prevents them from increasing the system wired page count, which can lead to mlock failing because of hitting the limit in vm.max_wired. In the Xen case make sure pages are zeroed before giving them back to the hypervisor, or else we might be leaking data. Also remove the balloon_{append/retrieve} and link pages directly into the ballooned_pages queue using the plinks.q field in the page struct. Sponsored by: Citrix Systems R&D Reviewed by: kib, bryanv Approved by: gibbs dev/virtio/balloon/virtio_balloon.c: - Don't allocate pages with VM_ALLOC_WIRED. dev/xen/balloon/balloon.c: - Don't allocate pages with VM_ALLOC_WIRED. - Make sure pages are zeroed before giving them back to the hypervisor. - Remove the balloon_entry struct and the balloon_{append/retrieve} functions and use the page plinks.q entry to link the pages directly into the ballooned_pages queue.
* | Add fpu_kern.9 man page to the install.kib2014-06-251-0/+7
| | | | | | | | | | Sponsored by: The FreeBSD Foundation MFC after: 1 week
* | Add m_pulldown and m_unshare to MLINKS.kevlo2014-06-251-0/+2
| |
* | Fixed an IIC timing issue between the glxiic master and a slave ofdaichi2014-06-251-7/+15
| | | | | | | | | | | | | | | | | | | | peripheral devices. When transmitting (rx) from slave to master, sometimes nAKC delays. As a result, some slaves fails their transmission. Submitted by: Masanori OZAWA <ozawa@ongs.co.jp> Reviewed by: brix MFC after: 1 week
* | Continue the crusade towards a dev_clone()-free kernel, removing itsdavide2014-06-255-155/+2
| | | | | | | | | | | | | | | | | | usage from dtrace. The dtrace code already uses cdevpriv(9) since FreeBSD 8, so this change should be quite harmless. Reviewed by: markj Approved by: markj MFC after: never
* | Now that vm_map_insert() sets MAP_ENTRY_GROWS_{DOWN,UP} on the stack entriesalc2014-06-251-6/+7
| | | | | | | | | | | | | | | | that it creates (r267645), we can place the check that blocks map entry coalescing on stack entries in vm_map_simplify_entry() where it properly belongs. Reviewed by: kib
* | Make sure that the sub-makes for unwind.h start from the CURDIRimp2014-06-243-3/+3
| | | | | | | | | | | | (/usr/src) tree rather than the OBJDIR (/usr/obj) tree. This fixes broken incremental builds with the canonical MAKESYSPATH workaround of .../share/mk. This is a gross kludge.
* | Unbreak installation of the rtld tests.markj2014-06-241-0/+1
| | | | | | | | X-MFC-With: r267679
* | Catch up with many years of changes:wollman2014-06-241-13/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Document PF_LOCAL as being an alias for PF_UNIX o Document POSIX standardization of this interface using AF_* constants rather than PF_* constants, and note the three particular families which POSIX standardizes. o Note anticipated POSIX standardization of SOCK_CLOEXEC. o Delete from listing protocol families that FreeBSD doesn't support (in some cases, like PF_PUP, has never supported). o Add to listing some current protocol families that have been introduced in the last decade or so. o Document the correspondence of PF_* and AF_* constants. We should probably change the documentation to make the AF_* constants primary, but this commit does not do so. Reviewed by: kevlo@ MFC after: 1 month
* | Apply vendor fixes for big endian support and 20GBps/25GBps link speeds.delphij2014-06-245-26/+55
| | | | | | | | | | | | | | Many thanks to Emulex for their continued support of FreeBSD! Submitted by: Venkata Duvvuru <VenkatKumar.Duvvuru Emulex.Com> MFC after: 3 days
* | Correct memset size.delphij2014-06-241-1/+1
| | | | | | | | | | | | Submitted by: Sascha Wildner (swildner at dragonflybsd dot org) Reviewed by: Kashyap Desai <kashyap.desai avagotech.com> MFC after: 2 weeks
* | Clarify the expected usage of I2C 7-bit slave addresses on ioctl(2)loos2014-06-242-4/+18
| | | | | | | | | | | | | | | | | | | | interface. While here add the cross reference to iic(4) on iicbus(4). CR: D210 Suggested by: jmg MFC after: 1 week
OpenPOWER on IntegriCloud