summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Update cachelimit after hashsize and bucketlimit were set.zont2012-10-191-6/+11
| | | | | | | Reported by: az Reviewed by: melifaro Approved by: kib (mentor) MFC after: 1 week
* Let SCHED_ULE give affinity to the CPU the tick interrupt triggered onmarius2012-10-191-1/+3
| | | | | | | | when running tick_process(), similarly to what the x86 equivalents of this function do, however employing the less racy sequence also used in intr_event_handle(). MFC after: 3 days
* Prefer __containerof() over __member2struct().ed2012-10-195-7/+8
| | | | | The former works better with qualifiers, but also properly type checks the input pointer.
* Replace our version of the pwcache(3) API with NetBSD's implementation.brooks2012-10-199-207/+958
|\ | | | | | | | | | | | | | | | | This adds two features: * uid_from_user() and gid_from_group() as the reverse of user_from_uid() and groups_from_gid(). * pwcache_userdb() and pwcache_groupdb() which allow alternative lookup functions to be used. For example lookups from passwd and group databases in a non-standard location.
| * Tag import of NetBSD's pwcache(3) as of 2012-10-05brooks2012-10-053-0/+935
| |
| * Vendor import of NetBSD's pwcache(3) as of 2012-10-05brooks2012-10-053-0/+935
|
* Correct the order of the MFU and MRU labels. I had reversed them.jhb2012-10-191-1/+1
| | | | | | Submitted by: Nikolay Denev ndenev gmail Pointy hat to: jhb MFC after: 3 days
* Move socket UMA zone initialization functionality together intoandre2012-10-191-17/+16
| | | | one place.
* Fix minor whitespace issues.joel2012-10-191-3/+3
|
* Move UMA socket zone initialization from uipc_domain.c to uipc_socket.candre2012-10-192-17/+23
| | | | into one place next to its other related functions to avoid confusion.
* Update to previous r241688 to use __func__ instead of spelled out functionandre2012-10-191-2/+2
| | | | | | name in log(9) message. Suggested by: glebius
* Remove splimp() comment from sysinit table and attribute SI_SUB_PROTO_BEGINandre2012-10-191-8/+2
| | | | | | and SI_SUB_PROTO_END to VNET related initializations. MFC after: 3 days
* Fix build.glebius2012-10-191-2/+2
|
* Replace deprecated M_DONTWAIT with M_NOWAIT.kientzle2012-10-191-2/+2
|
* Fix warnings found by -Wmising-variable-declarations.ed2012-10-1930-116/+114
| | | | | | | | | | | This self-written compiler warning, which is hopefully going to be committed into LLVM sources soon, warns about potentially missing `static' keywords, similar to -Wmissing-prototypes. - bin/pax: Move external declaration of chdname and s_mask into extern.h. - bin/setfacl: Move setfacl.c-specific stuff out of setfacl.h. - sbin/mount_fusefs: Remove char *progname; use getprogname(). - others: add `static' where possible.
* This is an import of code, mostly from Giuseppe Lettieri,luigi2012-10-193-294/+784
| | | | | | | | | | | | | | | | | | | | | that revises the netmap memory allocator so that the various parameters (number and size of buffers, rings, descriptors) can be modified at runtime through sysctl variables. The changes become effective when no netmap clients are active. The API is mostly unchanged, although the NIOCUNREGIF ioctl now does not bring the interface back to normal mode: and you need to close the file descriptor for that. This change was necessary to track who is using the mapped region, and since it is a simplification of the API there was no incentive in trying to preserve NIOCUNREGIF. We will remove the ioctl from the kernel next time we need a real API change (and version bump). Among other things, buffer allocation when opening devices is now much faster: it used to take O(N^2) time, now it is linear. Submitted by: Giuseppe Lettieri
* est(4) man page update to document the exposed sysctl r/o variablessbruno2012-10-181-2/+25
| | | | | | | | | | available to the user. Should be applicable to all branches and versions where est(4) exists. thanks to gjb for reviewing and suggesting nits Reviewed by: gjb@ MFC after: 2 weeks
* Explicitly specify 'np' so that getty(8) does not simulate even parity onpeterj2012-10-181-1/+1
| | | | | | | | | | | | local.9600. Whilst the actual binary termios(4) definitions and preceeding comments for local.9600 indicate that parity is disabled, getty(8) internally simulates parity based on the presence or absence of the 'np' flag. PR: conf/76226 Submitted by: peter Approved by: grog (co-mentor) MFC after: 1 month
* It seems that it is preferable to keep support for glabel also forattilio2012-10-184-0/+4
| | | | | | | | | filesystems that we don't support natively. Revert part of r241636 to do so. This patch is not targeted for MFC. Requested by: gleb, jhb
* Remove unnecessary includes from sosend_copyin() and fixandre2012-10-181-10/+4
| | | | a couple of style issues.
* Remove double-wrapping of #ifdef ZERO_COPY_SOCKETS withinandre2012-10-181-17/+1
| | | | zero copy specialized sosend_copyin() helper function.
* Remove unneeded D_NEEDMINOR.ed2012-10-181-1/+0
| | | | This is only needed when using clonelists. This got remove in r238693.
* More-accurately replicate the help system from sysinstall(8). However, alsodteske2012-10-185-5/+61
| | | | | | | | | | | | | | | improve upon the system by giving the user a "Help" button instead of requiring the user to press F1. NOTE: In FreeBSD-9 and higher, dialog(1) does not support the F1 hook, so the mechanism for providing help to the user had to be changed to a button. This now means we can resurrect *.hlp files from usr.sbin/sysinstall/help/ as- is and reusing them as-needed in bsdconfig (holding to the goal of losing as little functionality from sysinstall as possible). Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
* Fix a bug where blank lines were not being counted (because awk's split()dteske2012-10-181-1/+1
| | | | | | | function returns zero when $0 is the NULL string). Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
* make sure that socket's send and receive buffers are properly sizedemax2012-10-182-1/+45
| | | | | Submitted by: Iain Hibbert plunky at rya-online dot net MFC after: 3 weeks
* Document NetBSD 6.0pluknet2012-10-181-0/+3
|
* Take advantage of if_baudrate_pf and calculate an effective baud rate onjhb2012-10-181-6/+10
| | | | all platforms (not just amd64) to compute an equivalent IB rate.
* Use if_initbaudrate().jhb2012-10-181-1/+1
|
* Remove WARNS=6 lines.ed2012-10-182-4/+0
| | | | WARNS=6 is already implied at this point.
* Use if_initbaudrate().jhb2012-10-181-1/+1
|
* Fix build after r241659.glebius2012-10-181-1/+1
|
* Use LOG_WARNING level in in_attachdomain1() instead of printf().andre2012-10-181-2/+2
| | | | Submitted by: vijju.singh-at-gmail.com
* Utilize new macro to initialize if_baudrate.glebius2012-10-181-2/+2
|
* Mechanically remove the last stray remains of spl* calls from net*/*.andre2012-10-1824-236/+29
| | | | They have been Noop's for a long time now.
* Looks like support.h is really not needed here.glebius2012-10-181-1/+0
|
* Allow LOCAL_(DIRS,LIBS) to install files in directories not found in thebrooks2012-10-181-1/+11
| | | | | | system mtree files via a LOCAL_MTREE variable which contains a list of mtree files to be applyed along with the base mtree files to the tmp root and DESTDIR.
* Record the full non-MPSAFE pack filesystem disconnect.attilio2012-10-181-0/+5
|
* Disconnect non-MPSAFE SMBFS from the build in preparation for droppingattilio2012-10-1840-146/+14
| | | | | | | | | | | | | GIANT from VFS. In addition, disconnect also netsmb, which is a base requirement for SMBFS. In the while SMBFS regular users can use FUSE interface and smbnetfs port to work with their SMBFS partitions. Also, there are ongoing efforts by vendor to support in-kernel smbfs, so there are good chances that it will get relinked once properly locked. This is not targeted for MFC.
* It turns out that as documented, PCF8563_R_SECOND_VL (i.e. battery low)marius2012-10-181-3/+11
| | | | | | | | | | doesn't automatically clear when VDD rises above Vlow again and needs to be cleared manually. However, apparently this needs all of the time registers to be set, i.e. pcf8563_settime(), and not just PCF8563_R_SECOND in order for PCF8563_R_SECOND_VL to stick. Thus, we just issue a warning during pcf8563_attach() rather than failing with ENXIO in case it is set. MFC after: 3 days
* Utilize new macro to initialize if_baudrate.glebius2012-10-181-1/+1
|
* Utilize new macro to initialize if_baudrate().glebius2012-10-181-2/+2
|
* Fix typo.dteske2012-10-181-1/+1
| | | | | Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor)
* Fully backout latest changes.sobomax2012-10-182-49/+6
| | | | Pointy hat to: sobomax
* Add ability to queue nvme_request objects if no nvme_trackers are available.jimharris2012-10-184-32/+34
| | | | | | | | | This eliminates the need to manage queue depth at the nvd(4) level for Chatham prototype board workarounds, and also adds the ability to accept a number of requests on a single qpair that is much larger than the number of trackers allocated. Sponsored by: Intel
* Preallocate a limited number of nvme_tracker objects per qpair, ratherjimharris2012-10-184-63/+80
| | | | | | than dynamically creating them at runtime. Sponsored by: Intel
* Create nvme_qpair_submit_request() which eliminates all of the codejimharris2012-10-183-48/+36
| | | | | | | duplication between the admin and io controller-level submit functions. Sponsored by: Intel
* Simplify how the qpair lock is acquired and released.jimharris2012-10-182-9/+10
| | | | Sponsored by: Intel
* Cleanup uio-related code to use struct nvme_request andjimharris2012-10-185-86/+118
| | | | | | | | | | | | nvme_ctrlr_submit_io_request(). While here, also fix case where a uio may have more than 1 iovec. NVMe's definition of SGEs (called PRPs) only allows for the first SGE to start on a non-page boundary. The simplest way to handle this is to construct a temporary uio for each iovec, and submit an NVMe request for each. Sponsored by: Intel
* Add nvme_ctrlr_submit_[admin|io]_request functions which consolidatesjimharris2012-10-186-129/+74
| | | | | | | code for allocating nvme_tracker objects and making calls into bus_dmamap_load for commands which have payloads. Sponsored by: Intel
* Add struct nvme_request object which contains all of the parameters passedjimharris2012-10-186-80/+173
| | | | | | | | | | | from an NVMe consumer. This allows us to mostly build NVMe command buffers without holding the qpair lock, and also allows for future queueing of nvme_request objects in cases where the submission queue is full and no nvme_tracker objects are available. Sponsored by: Intel
OpenPOWER on IntegriCloud