summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* If the IdlePDPT is not present, PAE is not activekevlo2012-09-101-1/+0
|
* Note that -quit terminates successfully.des2012-09-101-1/+1
| | | | Requested by: jmg@
* Add some colour to make it easy (well, easier) to see what the currentadrian2012-09-101-1/+49
| | | | | | | selected rates and current sample rates are. (Note: when run under high traffic and with -s 0.1 the display becomes very mesmerising. You've been warned.)
* POSIX requires sigevent to be visible after mqueue.h is included.davidxu2012-09-101-1/+1
|
* Process CPU-Time Clocks option is supported, define _POSIX_CPUTIME.davidxu2012-09-101-0/+1
|
* Add missing prototype for clock_getcpuclockid.davidxu2012-09-101-0/+11
|
* Keep this file relatively up to date (taken from f.b.o/adminstration)eadler2012-09-101-7/+8
| | | | MFC after: 3 days
* Sync access file date recommendationeadler2012-09-103-6/+8
| | | | | | Change from CVS to svn for canconical source of information MFC after: 3 days
* Properly define true/false when defining __bool_true_false_are_definedgshapiro2012-09-101-0/+2
| | | | | | | for filters which pull in mfapi.h before stdbool.h. Issue reported by Petr Rehor, maintainer of amavisd-milter port. MFC after: 3 days
* Add a simple printf() based debug facility to the new nfs client.rmacklem2012-09-093-1/+11
| | | | | | | | | | Use it for a printf() that can be harmlessly generated for mmap()'d files. It will be used extensively for the NFSv4.1 client. Debugging printf()s are enabled by setting vfs.nfs.debuglevel to a non-zero value. The higher the value, the more debugging printf()s. Reviewed by: jhb MFC after: 2 weeks
* At least from A70M FCH chipsets AMD started to use their real vendor IDmav2012-09-091-1/+2
| | | | | | | | | (1022) in HPET. But according to report they still haven't fixed problem with level-triggered interrupts. Make workaround used for earlier chipsets apply to this new ID also. PR: amd64/171355 MFC after: 3 days
* Allow shared lookups for nullfs mounts, if lower filesystem supportskib2012-09-094-46/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it. There are two problems which shall be addressed for shared lookups use to have measurable effect on nullfs scalability: 1. When vfs_lookup() calls VOP_LOOKUP() for nullfs, which passes lookup operation to lower fs, resulting vnode is often only shared-locked. Then null_nodeget() cannot instantiate covering vnode for lower vnode, since insmntque1() and null_hashins() require exclusive lock on the lower. Change the assert that lower vnode is exclusively locked to only require any lock. If null hash failed to find pre-existing nullfs vnode for lower vnode and the vnode is shared-locked, the lower vnode lock is upgraded. 2. Nullfs reclaims its vnodes on deactivation. This is due to nullfs inability to detect reclamation of the lower vnode. Reclamation of a nullfs vnode at deactivation time prevents a reference to the lower vnode to become stale. Change nullfs VOP_INACTIVE to not reclaim the vnode, instead use the VFS_RECLAIM_LOWERVP to get notification and reclaim upper vnode together with the reclamation of the lower vnode. Note that nullfs reclamation procedure calls vput() on the lowervp vnode, temporary unlocking the vnode being reclaimed. This seems to be fine for MPSAFE filesystems, but not-MPSAFE code often put partially initialized vnode on some globally visible list, and later can decide that half-constructed vnode is not needed. If nullfs mount is created above such filesystem, then other threads might catch such not properly initialized vnode. Instead of trying to overcome this case, e.g. by recursing the lower vnode lock in null_reclaim_lowervp(), I decided to rely on nearby removal of the support for non-MPSAFE filesystems. In collaboration with: pho MFC after: 3 weeks
* Add a facility for vgone() to inform the set of subscribed mountskib2012-09-093-1/+69
| | | | | | | | | | | | | | | | | about vnode reclamation. Typical use is for the bypass mounts like nullfs to get a notification about lower vnode going away. Now, vgone() calls new VFS op vfs_reclaim_lowervp() with an argument lowervp which is reclaimed. It is possible to register several reclamation event listeners, to correctly handle the case of several nullfs mounts over the same directory. For the filesystem not having nullfs mounts over it, the overhead added is a single mount interlock lock/unlock in the vnode reclamation path. In collaboration with: pho MFC after: 3 weeks
* Add MNTK_LOOKUP_EXCL_DOTDOT struct mount flag, which specifies to thekib2012-09-092-9/+14
| | | | | | | | | | | lookup code that dotdot lookups shall override any shared lock requests with the exclusive one. The flag is useful for filesystems which sometimes need to upgrade shared lock to exclusive inside the VOP_LOOKUP or later, which cannot be done safely for dotdot, due to dvp also locked and causing LOR. In collaboration with: pho MFC after: 3 weeks
* Implement missing USB suspend and resume support for DWC OTG driver.hselasky2012-09-091-6/+60
|
* Add support for DWC OTG.hselasky2012-09-091-0/+3
|
* Add support for DWC OTG.hselasky2012-09-091-0/+211
|
* Add support for host mode to the DWC OTG controller driver.hselasky2012-09-093-193/+1174
| | | | | | | The DWC OTG host mode support should still be considered experimental. Isochronous support for DWC OTG is not fully implemented. Some code added derives from Aleksandr Rybalko's dotg.c driver.
* Document -quit, four and a half years after it was implemented.des2012-09-091-1/+5
| | | | | MFC after: 3 days Pointy hat to: imp@
* Handle LOADER_NO_DISK_SUPPORT knob in the arm and powerpc ubldr.ae2012-09-092-0/+8
|
* Update according to the change of struct uboot_devdesc.ae2012-09-091-1/+1
|
* Build disk.c only when DISK_SUPPORT is enabled.ae2012-09-091-1/+6
|
* Update uboot's disk driver to use new DISK API.ae2012-09-091-592/+98
|
* Use disk_fmtdev() and disk_parsedev() functions from the new DISK API.ae2012-09-091-62/+9
|
* Make struct uboot_devdesc compatible with struct disk_devdesc.ae2012-09-091-6/+3
|
* For UDP transport set IP_RECVDSTADDR sockopt on the socket, and provideglebius2012-09-092-6/+41
| | | | | | | | IP_SENDSRCADDR control with datagram message we reply with. This makes bsnmpd reply from exactly same address that request was sent to, thus successfully bypassing stateful firewalls or other kinds of strict checking. PR: bin/171279
* Add removed if_pflow.h.glebius2012-09-091-0/+2
|
* Whitespace changes.tuexen2012-09-091-6/+4
| | | | MFC after: 10 days
* Remove clause 3 and 4 from the NetBSD Foundation copyright header, missedjoel2012-09-091-7/+0
| | | | in r203971.
* Remove trailing whitespace.joel2012-09-091-2/+2
|
* Make sure the aggregate fields are properly cleared - both in theadrian2012-09-091-0/+12
| | | | | | | | ath_buf and when forming a non-aggregate frame. The non-11n setds function is called when TXing aggregate frames (and yes, I should fix this!) and the non-11n TX aggregation code doesn't clear the delimiter field. I figure it's nicer to do that.
* Remove TDMA #define entries from if_ath.c; they now exist in if_ath_tdma.h.adrian2012-09-091-16/+0
|
* Minor English grammar fixes.eadler2012-09-091-5/+4
| | | | | | | | | | Specifically document that an incomplete ports tree is not supported. Remove useless comment about sendmail. Reviewed by: yuri.pankov@gmail.com Approved by: cperciva (implicit) MFC after: 1 week X-MFC-With: r240252
* Remove documentation and www cvsup files as they are no longer usefuleadler2012-09-099-203/+6
| | | | | | | | with the switch to subversion. Approved by: gjb (man pages) Approved by: cperciva (example files, implicit) MFC after: 1 week
* Regenerate src.conf.5 after the projects/armv6 mergeeadler2012-09-081-4/+4
| | | | Approved by: des
* Whitespace cleanup.tuexen2012-09-081-1/+0
| | | | MFC after: 10 days
* Fix loading of kernel modules at boot time for powerpc64.andreast2012-09-081-3/+3
| | | | | Reported by: Mathias Breuninger MFC after: 1 week
* sh: Remove XXX comment about removing nextopt().jilles2012-09-081-4/+0
| | | | | Using nextopt() avoids depending on the BSD-specific optreset feature in getopt() and reduces code size (both source and binary).
* Move the checks for td_pinned, td_critnest, TDP_NOFAULTING andattilio2012-09-082-22/+14
| | | | | | | | | | TDP_NOSLEEPING leaking from syscallret() to userret() so that also trap handling is covered. Also, the check on td_locks is not duplicated between the two functions. Reported by: avg Reviewed by: kib MFC after: 1 week
* Move PT_UPDATED_FLUSH() before td_locks check in order to have moreattilio2012-09-081-3/+3
| | | | | | | coverage also in the XEN case. Reviewed by: kib MFC after: 1 week
* userret() already checks for td_locks when INVARIANTS is enabled, soattilio2012-09-0810-10/+0
| | | | | | | there is no need to check if Giant is acquired after it. Reviewed by: kib MFC after: 1 week
* pmap_remove:alc2012-09-081-30/+18
| | | | | | | | | | | | | | | | | | | | | | | | | Avoid re-walking the page table from the root for every PTE examined. Tidy up some of pmap_remove()'s helper functions. pmap_enter: Set PV_TABLE_REF whenever the physical page being mapped is managed, not just when it is writeable. Only call pmap_update_page() when the old mapping was valid. If there was no prior valid mapping, then pmap_update_page() serves no useful purpose. However, it will interrupt every processor that has the pmap active. pmap_enter_quick_locked: Always set PTE_RO. pmap_emulate_modified: Don't set PV_TABLE_REF. Eliminate a nonsensical comment.
* Revert r239049:eadler2012-09-081-1/+1
| | | | | | | | This is the way to assign a range, but not a single IPv4 address. PR: conf/167648 Approved by: cperciva (implicit)
* mdoc fixes.joel2012-09-081-41/+21
|
* The first part of check_priv() function, that attempts to obtain credsglebius2012-09-082-43/+40
| | | | | | | | | | | | | | | | | | | | | | | | | from the control message, actually never worked. This means check_priv() didn't work for local dgram sockets. The SCM_CREDS control messages is received only in two cases: 1) If we did setsockopt(LOCAL_CREDS) on our socket, and in this case the message is struct sockcred. 2) If sender did supplied SCM_CREDS control message in his sendmsg() syscall. In this case the message is struct cmsgcred. We can't rely on 2), so we will use 1) for dgram sockets. For stream sockets it is more reliable to obtain accept-time credentials, since SCM_CREDS control message is attached only on first read. Thus: o Do setsockopt(LOCAL_CREDS) on local dgram sockets. o Split check_priv() into check_priv_stream() and check_priv_dgram(), and call them from recv_stream() and recv_dgram() respectively. o Don't provide space for SCM_CREDS control message in recv_stream(). o Provide space for SCM_CREDS control message in recv_dgram(), but there is no need to initialize anything in it. o In recv_dgram() do not blindly expect that first message is SCM_CREDS, instead use correct search cycle through control messages.
* Merge the projects/pf/head branch, that was worked on for last six months,glebius2012-09-0845-9640/+4591
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into head. The most significant achievements in the new code: o Fine grained locking, thus much better performance. o Fixes to many problems in pf, that were specific to FreeBSD port. New code doesn't have that many ifdefs and much less OpenBSDisms, thus is more attractive to our developers. Those interested in details, can browse through SVN log of the projects/pf/head branch. And for reference, here is exact list of revisions merged: r232043, r232044, r232062, r232148, r232149, r232150, r232298, r232330, r232332, r232340, r232386, r232390, r232391, r232605, r232655, r232656, r232661, r232662, r232663, r232664, r232673, r232691, r233309, r233782, r233829, r233830, r233834, r233835, r233836, r233865, r233866, r233868, r233873, r234056, r234096, r234100, r234108, r234175, r234187, r234223, r234271, r234272, r234282, r234307, r234309, r234382, r234384, r234456, r234486, r234606, r234640, r234641, r234642, r234644, r234651, r235505, r235506, r235535, r235605, r235606, r235826, r235991, r235993, r236168, r236173, r236179, r236180, r236181, r236186, r236223, r236227, r236230, r236252, r236254, r236298, r236299, r236300, r236301, r236397, r236398, r236399, r236499, r236512, r236513, r236525, r236526, r236545, r236548, r236553, r236554, r236556, r236557, r236561, r236570, r236630, r236672, r236673, r236679, r236706, r236710, r236718, r237154, r237155, r237169, r237314, r237363, r237364, r237368, r237369, r237376, r237440, r237442, r237751, r237783, r237784, r237785, r237788, r237791, r238421, r238522, r238523, r238524, r238525, r239173, r239186, r239644, r239652, r239661, r239773, r240125, r240130, r240131, r240136, r240186, r240196, r240212. I'd like to thank people who participated in early testing: Tested by: Florian Smeets <flo freebsd.org> Tested by: Chekaluk Vitaly <artemrts ukr.net> Tested by: Ben Wilber <ben desync.com> Tested by: Ian FREISLICH <ianf cloudseed.co.za>
* Correctly mask out the RTS/CTS flags when forming aggregates.adrian2012-09-081-1/+1
| | | | | | | | | This had the side effect of clearing HAL_TXDESC_CLRDMASK for a bunch of frames, meaning they'd end up being potentially filtered if there were an error. This is fine in the previous world as they'd just be software retried but now that I'm working on filtered frames, these descriptors would be endlessly retried until another valid frame would come along that had CLRDMASK set.
* Add IRQ support to the resource list handling functions.rpaulo2012-09-081-3/+7
|
* Add a '-s <timeout>' option which will display live rate controladrian2012-09-082-26/+74
| | | | statistics.
* Remove useless extra test.mjacob2012-09-071-4/+2
| | | | | Pointed out by: Sascha of DragonFly BSD MFC after: 2 weeks
OpenPOWER on IntegriCloud