Commit Graph

206833 Commits

Author SHA1 Message Date
jruoho
c7e2f672b4 Add support for AMD family 12h. Also revert revision 1.67, as it implies
maintenance burden for limited value. XXX: Need to add family 15h too.
2011-11-15 07:20:30 +00:00
jym
0cbbdfa92d pool_cache_sethiwat(9), pool_cache_setlowat(9), pool_cache_sethardlimit(9) 2011-11-15 00:50:55 +00:00
jym
13558246e2 Document pool_cache_sethardlimit(9), the faithful friend of
pool_sethardlimit(9).
2011-11-15 00:32:34 +00:00
jym
1e8ad6eb02 pool_sethardlimit.9 => pool.9 2011-11-15 00:19:42 +00:00
christos
ac2d876c25 Use getdiskinfo() to print the name of the device; the previous code
constructed the wrong name if it was a wedge.
2011-11-14 21:34:50 +00:00
christos
c7e2fd913b remove c3 and c4 2011-11-14 20:47:33 +00:00
christos
d8c88883a4 add t_evaltested 2011-11-14 20:25:15 +00:00
christos
c4bb320175 Add a test for PR/45613 (eval failing in a tested context) 2011-11-14 20:23:29 +00:00
hannken
7c028d0f99 VOP_ABORTOP() has no specific lock requirements so there is no need
to force locked vnodes here.  It should be impossible to come here
with a nil upper node.

Relock the directory vnode after copyup.  A locked union node with an
unlocked upper vnode can no longer exist so make FIXUP() an assertion.
2011-11-14 18:42:57 +00:00
hannken
3e29235de5 Remove a needless vnode lock/unlock dance. This is a leftover from the
removal of VOP_LEASE().

Function union_removed_upper() always works on unlocked upper vnodes so
remove the test-and-unlock and add an assertion.
2011-11-14 18:38:13 +00:00
hannken
d84a65dd80 VOP_OPEN() needs a locked vnode. All these copy-and-pasted xxxfs_mount()
implementations need more review.
2011-11-14 18:35:12 +00:00
christos
1847bab548 PR/45613: Aleksey Cheusov: /bin/sh: 'set -e' + 'if eval false' problem
Fixed from: http://www.freebsd.org/cgi/query-pr.cgi?pr=134881&cat=
2011-11-14 18:24:45 +00:00
christos
28bb169a57 compile into nothing if _STANDALONE 2011-11-14 16:21:44 +00:00
hannken
14767c9d30 Bring back sys/disklabel.h for DISKUNIT and DISKPART. 2011-11-14 16:04:29 +00:00
christos
cb23ae6f47 add netbsd id 2011-11-14 14:37:13 +00:00
christos
58214e6f51 - fix boot block building (-D_STANDALONE)
- explain why we cast.
2011-11-14 14:36:40 +00:00
tnozaki
dcbcd554a0 nvi cannot display international character(west european accented chars).
reported by Ian D. Leroux at current-users, thanks a lot!
2011-11-14 13:29:07 +00:00
tteras
84d53e8c5d From Marcelo Leitner <mleitner@redhat.com>: do not shrink pfkey socket
buffers (if system default is larger than what we want as minimum)
2011-11-14 13:24:04 +00:00
jmcneill
ab7c274655 add machdep.dmi.bios-date 2011-11-14 11:29:48 +00:00
njoly
cbcd12b119 Define RUMP_DISKFS to provide getdiskinfo from rumpdev_disk library. 2011-11-14 11:28:05 +00:00
mbalmer
e6dceed514 Initialize ga.ga_dvname in gpio_search to prevent a stack fault in config_match 2011-11-14 07:45:54 +00:00
jmcneill
bd2d899c84 add a machdep.dmi sysctl tree with the following read-only keys:
system-vendor, system-product, system-version, system-serial, system-uuid
 bios-vendor, bios-version
 board-vendor, board-product, board-version, board-serial
the *-serial and *-uuid keys are marked with CTLFLAG_PRIVATE

a few of the pmf platform key names changed so update callers to match
2011-11-14 02:44:59 +00:00
jym
f83fbb4ade Document pool_sethardlimit. 2011-11-14 02:38:05 +00:00
chs
81742ac3ab fix crashes caused by using the results of getcontext()
after the caller returns.
2011-11-14 01:27:42 +00:00
sekiya
42f3df52bc Increase SYMTAB_SPACE. 2011-11-14 00:12:37 +00:00
wiz
180ddec981 Remove trailing dot; slightly improve wording. 2011-11-13 23:49:39 +00:00
christos
a96ee3ab95 use getdiskinfo() 2011-11-13 23:10:34 +00:00
christos
1058c21f81 use getdisksize() 2011-11-13 23:08:47 +00:00
christos
3cc8e640ed remove unused call to DIOCGPART that was only used for debugging.
malloc M_WAITOK, does not fail.
2011-11-13 23:07:11 +00:00
christos
05bbfb83a3 use getdisksize() 2011-11-13 23:03:55 +00:00
christos
9fc82cfc97 use getdisksize() instead of homebrew() 2011-11-13 23:03:24 +00:00
christos
e839ec30fc use getdisksize 2011-11-13 23:02:46 +00:00
christos
96b6da2490 use getdiskinfo() 2011-11-13 23:02:06 +00:00
christos
d103aa656f Add getdiskinfo() to centralize the DIOCGPART mess in one place. 2011-11-13 22:54:05 +00:00
christos
02e7ae4899 add getfstypename 2011-11-13 22:25:21 +00:00
christos
7569228a97 the kernel does not have util.h 2011-11-13 22:21:29 +00:00
christos
38d2e81837 s/info/name 2011-11-13 22:19:09 +00:00
christos
fd091bf3da Sync the disklabel fstype info with the wedge partition info.
From now on these will stay synchronized because if they don't
getfstypeinfo will not compile.
2011-11-13 22:07:00 +00:00
christos
17c5859747 add getdiskinfo a companion utility to getdisksize. 2011-11-13 22:05:58 +00:00
christos
29c49ee745 use getfstypename 2011-11-13 22:04:51 +00:00
christos
da80e3ab34 add manual page 2011-11-13 22:03:34 +00:00
christos
80b0f3a562 getfstypename addition 2011-11-13 21:57:14 +00:00
christos
fb75d15e0f Add a function to convert from a disklabel p_fstype integer to a
dkw_ptype name.
2011-11-13 21:56:53 +00:00
wiz
f4eb12076c add dircategory/direntry for vi, so texinfo stops complaining 2011-11-13 19:53:53 +00:00
wiz
7405dbf494 Fix a few typos and Xrefs, use Dq, comment out Xr to non-existent gpioattach(4),
sort SEE ALSO.
2011-11-13 19:31:05 +00:00
christos
3aa8e3d303 use getdisksize, M_ZERO, and malloc M_WAITOK doesn't fai. 2011-11-13 18:29:08 +00:00
dholland
9851fd89b4 Fix xref to the PSD; PR 45568 from Petri Laakso. 2011-11-13 18:18:35 +00:00
dholland
0b69cddad2 Avoid panic on error path, from PR 45607. The error path is exercised
because this is using DIOCGPART to get the volume size, which doesn't
work on wedges. It should be calling getdisksize() instead.
2011-11-13 17:22:51 +00:00
mbalmer
f735fe77b9 Bring up to reality. 2011-11-13 17:00:04 +00:00
mbalmer
afd38e42d9 Remove an unused constant. 2011-11-13 16:56:15 +00:00