Commit Graph

11442 Commits

Author SHA1 Message Date
nat 204972d45c Audio mmap now works with all devices as hw->mappage is no longer used.
Audio ring buffers are now uvm objects.

This was made possibile with help from christos@ and much help and mmap
functions written by riastradh@.
2017-05-07 08:19:39 +00:00
joerg 4f77b889d0 Extend the mmap(2) interface to allow requesting protections for later
use with mprotect(2), but without enabling them immediately.

Extend the mremap(2) interface to allow duplicating mappings, i.e.
create a second range of virtual addresses references the same physical
pages. Duplicated mappings can have different effective protections.

Adjust PAX mprotect logic to disallow effective protections of W&X, but
allow one mapping W and another X protections. This obsoletes using
temporary files for purposes like JIT.

Adjust PAX logic for mmap(2) and mprotect(2) to fail if W&X is requested
and not silently drop the X protection.

Improve test cases to ensure correct operation of the changed
interfaces.
2017-05-06 21:34:51 +00:00
abhinav d0483ad66f Fix a sentence: s/a operation/an operation/ 2017-05-03 17:28:42 +00:00
abhinav e6867880ee Fixes in NAME section:
Insert comma between two Nm entries
	Remove comma after last Nm entries
2017-05-03 16:37:37 +00:00
wiz c4e5c08a2b Use more markup. Bump date for previous. 2017-05-02 08:20:20 +00:00
pgoyette 7e07692b5a Ooops, localcount.9 was not supposed to be included here! 2017-05-01 23:07:14 +00:00
pgoyette 106586c838 Update mutex(9) for mutex_ownable() 2017-05-01 21:36:01 +00:00
wiz 6a689d47ba Use URL and appropriate macro for pointing to ftp.freebsd.org. 2017-04-30 20:28:53 +00:00
sevan a81ff05aa1 Direct reader solely to ftp.FreeBSD.org.
The mirror list is no longer publish on FTP and the main mirror now uses geodns
to guide visitors to nearest mirror.
Bump date.
2017-04-30 20:05:30 +00:00
pgoyette ca0e313cbd Add a cross-ref to devsw(9) 2017-04-30 12:32:40 +00:00
pgoyette 11a5449d19 Make the primary name for this man-page devsw 2017-04-30 12:30:00 +00:00
mrg 8ce88958b3 add a link to midirecord(1). 2017-04-29 18:31:43 +00:00
jdolecek 4b9180bb50 seems VirtualBox 5.1.20 doesn't have the buggy nvme(4) behaviour any more,
remove the note
2017-04-27 17:32:26 +00:00
abhinav 0604df8a87 Use Fn instead of Nm to refer the macros in the body of the man page.
Thanks to wiz@ for reviewing.
2017-04-25 06:08:24 +00:00
wiz 82f3a071b6 Wording. 2017-04-24 10:04:38 +00:00
jdolecek 40ba24499a add a NOTE section documenting the broken Seagate Barracuda drives 2017-04-24 09:57:59 +00:00
wiz 096e8a4d70 Use serial comma. Update a count. 2017-04-24 09:42:19 +00:00
jdolecek bbe00fb4eb xref also mvsata(4), siisata(4) 2017-04-23 14:34:22 +00:00
wiz d53aff86f9 Use more markup. 2017-04-23 11:37:29 +00:00
pgoyette a50767fa9b And actually remove the double-negative that triggered this series of
minor commits!  Thanks, Abhinav, for pointing out my typo!
2017-04-23 06:34:07 +00:00
pgoyette 40383af696 Reword further to make it clearer that the two flag bits are separately
settable.
2017-04-23 06:23:25 +00:00
abhinav a6c6c755c1 Fix a sentence (remove double negation)
Fix mandoc lint warning (remove Pp before Bd)
2017-04-23 05:56:50 +00:00
abhinav 86412f657a Fix typo. 2017-04-23 05:49:00 +00:00
abhinav 1582bbd585 Remove comma after the last Nm entry. 2017-04-22 22:36:00 +00:00
christos cbbfa376d1 Add some more text from FreeBSD. 2017-04-21 20:17:26 +00:00
wiz f2003e21e5 Use Fl, Xr. New sentence, new line. Bump date for previous. 2017-04-20 09:48:55 +00:00
ozaki-r 1300188462 Introduce MKSTRIPSYM build option
If it's yes, all local symbols of shared libraries are stripped
(default). If it's no, only temporary local symbols are stripped;
for example, symbols of static functions are kept. Keeping such
symbols is useful on using DTrace for userland libraries and
getting a backtrace from a rump server loading modules (shared
libraries).

Proposed and discussed on tech-kern and tech-toolchain
2017-04-20 09:29:10 +00:00
riastradh 434776404c The wiz daemon was unsatisfied with offering, so fix section heading. 2017-04-19 15:37:46 +00:00
abhinav f2320a05fa Fix typo: s/nshashtbl/nchashtbl 2017-04-19 11:33:01 +00:00
riastradh 415d159521 Offering for the wiz daemon. 2017-04-19 00:17:30 +00:00
nat c65925dd1f Improved mixing function - more expensive in cycles though.
hw.driverN.saturate is no longer needed and has been removed.

Mixing function thanks to jmcneill@.
2017-04-17 22:40:06 +00:00
nat fda69a13cf hw.driverN.saturate bool->integer (default 16).
This means for a greater number than 16 (or user set value) the saturate
function is turned off.  Results in better listening if a large number of
channels are in use.
2017-04-17 20:17:08 +00:00
wiz 5c4fe27df2 Fix month in Dd. 2017-04-17 18:57:23 +00:00
hannken 8c6f10d105 Update vfs_busy(), vfs_unbusy(), vfs_mountalloc() and vfs_rootmountalloc(). 2017-04-17 08:33:40 +00:00
wiz 6c4eff14a3 Wording. 2017-04-16 07:05:24 +00:00
wiz a180087b74 Merge "userland" to be consistent with other man pages. 2017-04-16 06:36:03 +00:00
wiz 47990f0cb9 More wording and whitespace. 2017-04-16 06:34:05 +00:00
sevan 1c38b13310 Cross reference the manuals for listed modules. 2017-04-15 23:33:52 +00:00
sevan 8be58fcddd Add authors email address. 2017-04-15 18:03:02 +00:00
sevan d54d828920 Re-edit
Add authors email address
Remove mb(9) as it's depricated
Bump date

TODO:
Software & Hard interrupt context description.
2017-04-15 18:00:32 +00:00
skrll ef94a4990e Typo - although maybe the language should change 2017-04-15 14:00:30 +00:00
skrll 2d85f55340 Typo 2017-04-15 13:57:47 +00:00
kamil bce1cecb2e Add new documentation locking(9)
It's a document from June 2015.

DESCRIPTION
     The NetBSD kernel provides several synchronization and interrupt control
     primitives.  This manpage aims at giving an overview of these interfaces
     and their proper application.  This document includes also basic kernel
     thread control primitives and rough overview of the NetBSD kernel design.

Part of interfaces are missing, like new mechanisms for networking SMP,
as this documentation page predates them.

Initial review back in 2015 by Thomas Klausner <wiz>
2017-04-15 13:52:51 +00:00
abhinav 811db621b8 Use Xr instead of Fn to refer kqueue(2) 2017-04-15 09:50:57 +00:00
sevan b44ab99898 Improve wording.
Bump date.
2017-04-15 05:01:59 +00:00
sevan 4ebe471d77 Improve wording.
Bump date.
2017-04-15 04:44:14 +00:00
wiz fc8a50fff0 Improve wording. Use standard section headers. Improve table formatting. 2017-04-15 04:08:24 +00:00
wiz 29f6cd1b8a Improve wording. 2017-04-15 04:07:52 +00:00
kamil c1fa86b6a5 Add new documentation for klua_mod_register(9) and klua_lock(9)
Lua kernel bindings.
2017-04-15 03:33:05 +00:00
knakahara 54559a2194 wm(4) can disable msi/msix by build option and ddb command.
suggested by nonaka@n.o.
reviewed by msaitoh@n.o and nonaka@n.o.
2017-04-13 10:37:36 +00:00