Commit Graph

222126 Commits

Author SHA1 Message Date
hannken 65b1f85ab6 Vnode API cleanup pass 1.
- Make these defines and functions private to vfs_vnode.c:

  VC_MASK, VC_LOCK, DOCLOSE, VI_IANCTREDO and VI_INACTNOW
  vclean() and vrelel()

- Remove the long time unused lwp argument from vrecycle().

- Remove vtryget(), it is responsible for ugly hacks and doesn't
  look that effective.

Presented on tech-kern.

Welcome to 6.99.25
2013-10-29 09:53:51 +00:00
mbalmer 4ef07b4fe0 add pmf(9lua) man page 2013-10-29 09:40:43 +00:00
mbalmer 96982b85d5 check parameters 2013-10-29 09:18:45 +00:00
mbalmer 879fb8f4ed add a core(9lua) man page 2013-10-29 08:34:07 +00:00
matt f4eee7a467 Add AARCH64 definitions 2013-10-29 00:45:00 +00:00
christos b6d04564cd Add EM_AARCH64 from Elliott Hughes 2013-10-29 00:22:59 +00:00
riz a96da1d650 Add the if_axen kmod to md.evbppc to unbreak the evbppc build. 2013-10-29 00:14:52 +00:00
christos 094fa0251a Instead of guessing the suffix in the code, use the suffix list previously
loaded via man.conf(5). While there, zap unused iteration code.
(Franco Fichtner)
2013-10-28 23:46:17 +00:00
matt 31cfc79340 Make sure certain files are always assembled with -marm 2013-10-28 22:52:04 +00:00
matt 2a3691559e Add support for the BCM56340 iProc based switch 2013-10-28 22:51:16 +00:00
matt 3d199353e0 Make these compatible with thumb/thumb2 2013-10-28 22:50:25 +00:00
matt 9eea19add8 Support for the Broadcom BCM56340 iProc based switch. 2013-10-28 22:35:07 +00:00
htodd 3380861373 Adding luactl.debug to lists to fix debug build. 2013-10-28 21:39:45 +00:00
christos 0fca9a6115 add an alias for the linux name for the interface index 2013-10-28 21:38:01 +00:00
matt 71a45ac7b7 Add DF_* values for DT_FLAGS 2013-10-28 21:36:43 +00:00
bad a9d55720cc Pull in fix from FreeBSD ffs_alloc.c r121785:
Consider only cylinder groups with at least 75% of the average free space
per cylinder group and 75% of the average free inodes per cylinder group
as candidates for the creation of a new directory.  Avoids excessive I/O
scanning for a suitable cylinder group on relatively full file systems.

Tested by sborril and me.

Pullup: netbsd-6, netbsd-5


Original commit message:

Tweak the calculation of minbfree in ffs_dirpref() so that only
those cylinder groups that have at least 75% of the average free
space per cylinder group for that file system are considered as
candidates for the creation of a new directory.  The previous formula
for minbfree would set it to zero if the file system was more than
75% full, which allowed cylinder groups with no free space at all
to be chosen as candidates for directory creation, which resulted
in an expensive search for free blocks for each file that was
subsequently created in that directory.

Modify the calculation of minifree in the same way.

Decrease maxcontigdirs as the file system fills to decrease the
likelyhood that a cluster of directories will overflow the available
space in a cylinder group.

Reviewed by:	mckusick
Tested by:	kmarx@vicor.com
MFC after:	2 weeks
2013-10-28 21:32:52 +00:00
mbalmer da8619577e linke pmf(9l) to the build 2013-10-28 20:32:14 +00:00
mbalmer 35b872f5c4 Initial Lua binding for pmf(9) 2013-10-28 20:06:05 +00:00
mbalmer 36d11e8a36 link core(9l) (docs pending) to the build 2013-10-28 19:18:54 +00:00
mbalmer 99ed7cd168 link luactl(8) to the build 2013-10-28 19:05:21 +00:00
mbalmer 23d8d59a58 link the lua(4) module to the build 2013-10-28 18:51:13 +00:00
mbalmer 7f3fe544bc create a lua device node for lua(4) and luactl(8) 2013-10-28 18:33:20 +00:00
matt 9956a67591 Add support for scratchpad buffers (required for some XHCI devices).
Fix an endian issue.
2013-10-28 17:49:33 +00:00
matt 227e504480 Add an explicit initialization of .new_device = NULL 2013-10-28 17:40:43 +00:00
rkujawa 94950b3125 Fix name of sysctl setup function. 2013-10-28 11:24:08 +00:00
msaitoh c622541618 Support prefetch size. 2013-10-28 05:41:49 +00:00
msaitoh 66aec3e6de Set maximum read byte count to 2048 for PCI-X BCM5703/5704 devices.
For PCI-X BCM5704, set maximum outstanding split transactions to 0.
Same as Linux tg3 and FreeBSD (part of FreeBSD r204978).
2013-10-28 05:37:24 +00:00
mrg 27d21cc6e9 add MKDEPCXX, that is used for C++ files depend creation. also
add some missing ${COPTS.${.IMPSRC:T}} and ${CPUFLAGS.${.IMPSRC:T}}
to the dependancy rules.

this makes it possible to have C++ files .d files created with the
C++ compiler, and with the normal options for this file, which
means that we can build libstdc++-v3 from gcc 4.8.
2013-10-28 01:47:13 +00:00
mrg a078c85622 convert to ANSI C definitions. 2013-10-28 01:06:36 +00:00
pooka 684100d315 Enable holding implicit threads over explicit scheduling points (i.e.
a kernel driver calling rump_lwproc_switch()).  Also, correctly handle
curcpu()->ci_curlwp and biglock there.
2013-10-27 20:25:45 +00:00
mbalmer 0382fd8b79 No more walk on the wild side. RIP Lou Reed. 2013-10-27 18:30:49 +00:00
rmind 81bbd836c9 regen usbdevs 2013-10-27 17:12:28 +00:00
rmind 122667cde7 usbdevs: add an entry for external WD disk. 2013-10-27 16:59:46 +00:00
rmind d60eb8c12f librumpuser: add some #ifdef __APPLE__ and missing bits to build it on OS X.
OK pooka@
2013-10-27 16:39:46 +00:00
rmind 1831eeb4c7 - fpu_state_save() on amd64: ci->ci_fpsaving is no longer used, simplify.
- Remove some unnecessary header inclusions.  Misc clean up while here.
2013-10-27 16:25:01 +00:00
rmind e5a13e2c75 Add NPF_MAX_RULES, an artificial limit (set it to 1M). 2013-10-27 16:22:08 +00:00
rmind 59ff95e71b vttodt_tab: index in C99 way, makes it less error-prone. 2013-10-27 16:19:33 +00:00
rmind 4751aed358 Note some BPF and NPF changes. 2013-10-27 16:18:30 +00:00
pooka 605dec17d4 Give the hypercall interface a version number. This is for
implementations outside of the tree.
2013-10-27 16:03:19 +00:00
mbalmer 12cb100757 add a sqlite(3lua) manual page 2013-10-27 12:47:54 +00:00
mbalmer e94b90148d More user friendly sqlite.open() function.
Add a few more symbols.
Register all function in the sqlite table.
2013-10-27 12:38:08 +00:00
apb d07bacd5d2 Add man mage links for __debugused(3) and __diagused(3). 2013-10-27 11:56:18 +00:00
mbalmer 10538f71f4 missing word 2013-10-27 11:43:07 +00:00
wiz e34ba27af3 Fix date and remove superfluous comma. 2013-10-27 11:41:38 +00:00
wiz 6f46d26376 Remove trailing whitespace. 2013-10-27 11:38:13 +00:00
apb 92e9e572dc vfs.wapbl.flush_disk_cache is more about metadata than data, and
more about safety in the event of power loss than safety in the
event of a crash.
2013-10-27 10:09:28 +00:00
mlelstv 9562031f49 Fix memory leak in gensub() 2013-10-27 10:06:01 +00:00
apb 76864cf288 refer to __USE(3) 2013-10-27 10:05:15 +00:00
apb 442a1a4fdf Add "make sortlists", for sorting the set lists. This may be
run manually, before committing changes to the lists files.
2013-10-27 09:29:42 +00:00
apb a6457c51d1 sort 2013-10-27 09:27:23 +00:00