Eygene Ryabinkin
15c75a0d9f
Subject: NULLFS: properly destroy node hash
...
Use hashdestroy() instead of naive free().
Approved by: kib
MFC after: 2 weeks
2012-01-18 11:23:46 +00:00
Jens Schweikhardt
49da75c9f6
Connect the bktr module(s) to the amd64 build.
...
MFC after: 7 days
2012-01-18 08:56:26 +00:00
Ed Maste
da4b02cf70
Fix #ifdef VERBOSE for UTC case
...
Update verbose output to match what actually happens when selecting
the UTC option, and when the -n option is used.
Patch updated slightly for new libdialog.
PR: bin/164042
Submitted by: Devin Teske <dteske vicor com>
MFC after: 2 weeks
2012-01-18 04:37:35 +00:00
Ed Maste
e202760872
Don't write /var/db/zoneinfo when zone is not actually changed.
...
If the specified zone file does not exist or the -n flag is specified,
do not update /var/db/zoneinfo.
PR: bin/164039
Submitted by: Devin Teske <dteske vicor com>
MFC after: 1 week
2012-01-18 04:12:32 +00:00
Lawrence Stewart
555f396285
Specify the correct section (4 instead of 9) in the h_ertt man page's title and
...
bump the document date.
MFC after: 3 days
2012-01-18 03:03:21 +00:00
Ed Maste
b0ba9fbc47
Add missing line continuation \. It did not cause any issue because
...
the same path is already being included in ../Makefile.inc.
PR: 164192
Submitted by: Devin Teske <dteske vicor com>
MFC after: 2 weeks
2012-01-18 02:44:22 +00:00
Kevin Lo
1dc8fb4d77
NOOBJ is long time dead
...
Reviewed by: kib
2012-01-18 02:29:11 +00:00
Kevin Lo
0ad9a4f449
vfs_object_create() function is obsolete. Use vnode_create_vobject()
...
to create the backing object.
Reviewed by: kib
2012-01-18 02:27:09 +00:00
Ed Schouten
11dc480601
Allow growfs to be built with GCC 4.7 and -Werror.
...
The dp1 variable is only used when FSIRAND is defined. Just place the
variable behind #ifdefs entirely.
2012-01-17 22:19:35 +00:00
Pyun YongHyeon
ca4bfcbc21
Document dev.bge.%d.msi_disable tunable.
2012-01-17 22:17:11 +00:00
Ed Schouten
6aed20fe1a
Remove unused variables.
...
Simply annotate the function parameters with __unused, instead of adding
the ve-variables. This makes the code build with GCC 4.7 and -Werror.
2012-01-17 22:17:10 +00:00
Pyun YongHyeon
5c952e8d1b
Introduce a tunable that disables use of MSI.
...
Non-zero value will use INTx.
2012-01-17 22:15:33 +00:00
Ed Schouten
581f58e7a3
Remove unneeded dtv variable.
...
It is only assigned and not used at all. The object files stay identical
when the variables are removed.
Approved by: kib
2012-01-17 21:55:20 +00:00
Hiroki Sato
b2870827a3
Revert changes in r228790. It prevented the ypserv daemon from working with
...
with multiple socktypes.
2012-01-17 20:39:33 +00:00
Ed Schouten
76f11d88aa
Only use the static assertion when __generic is available.
...
Reported by: tijl
2012-01-17 20:22:10 +00:00
Ed Schouten
9b6e65b66f
Don't expose __generic() when not using C++.
...
According to the GCC documentation, the constructs used to implement
<tgmath.h> are only available in C mode. They only cause breakage when
used used with g++.
Reported by: tijl
2012-01-17 20:21:31 +00:00
Pyun YongHyeon
1f32d3b76f
Free allocated jumbo buffers when controller is stopped.
2012-01-17 19:36:53 +00:00
Pyun YongHyeon
cba163625e
Use a RX DMA tag to free loaded RX DMA maps.
...
Previously it used a TX DMA tag.
2012-01-17 19:31:03 +00:00
Adrian Chadd
a1f698ef1c
Tidy-up.
2012-01-17 18:20:34 +00:00
Gleb Smirnoff
bdc99a491d
The newhook method can be called in ISR context at
...
certain circumstances, so better use M_NOWAIT in it.
2012-01-17 18:10:25 +00:00
Konstantin Belousov
6db9cf559f
Add definitions for the FPU extended state header, legacy extended
...
state and AVX state.
MFC after: 1 week
2012-01-17 17:07:13 +00:00
Konstantin Belousov
e568229f50
Modernize the fpusave structures definitions by using uint*_t types.
...
MFC after: 1 week
2012-01-17 16:53:41 +00:00
Alan Cox
1dfab8025e
Explain why it is safe to unlock the vnode.
...
Requested by: kib
2012-01-17 16:20:50 +00:00
David Chisnall
4ecabf31f3
Fix clang atomic to use for atomic_is_lock_free().
...
Reviewed by: ed
Approved by: dim (mentor)
2012-01-17 15:20:41 +00:00
Gleb Smirnoff
3a8c7fa008
Allocate our mbuf with m_get2().
2012-01-17 12:14:26 +00:00
Gleb Smirnoff
0adbaa2b80
Provide a function m_get2() that allocates a minimal mbuf that
...
would fit specified size. Returned mbuf may be a single mbuf,
an mbuf with a cluster from packet zone, or an mbuf with jumbo
cluster of sufficient size.
2012-01-17 12:13:36 +00:00
Konstantin Belousov
dd4f5d2437
Implement xsetbv(), xsave() and xrstor() providing C access to the
...
similarly named CPU instructions.
Since our in-tree binutils gas is not aware of the instructions, and
I have to use the byte-sequence to encode them, hardcode the r/m operand
as (%rdi). This way, first argument of the pseudo-function is already
placed into proper register.
MFC after: 1 week
2012-01-17 07:30:36 +00:00
Konstantin Belousov
79937651ef
Add definitions related to XCR0.
...
MFC after: 1 week
2012-01-17 07:23:43 +00:00
Konstantin Belousov
5ba2a4998c
Add macro IS_BSP() to check whether the current CPU is BSP.
...
MFC after: 1 week
2012-01-17 07:21:23 +00:00
Sergey Kandaurov
37c2842272
Fix the "lock &zrl->zr_mtx already initialized" assertion by initializing
...
the allocated memory before calling mtx_init(9) on mtx pointing to it.
Otherwize, random contents of uninitialized memory might occasionally
trigger the assertion.
Reported by: Pavel Polyakov <bsd kobyla org>
Reviewed by: pjd
MFC after: 1 week
2012-01-17 06:23:25 +00:00
Kevin Lo
e0d3195bd6
Return EOPNOTSUPP since we only support update mounts for NFS export.
...
Spotted by: trociny
2012-01-17 01:25:53 +00:00
Kirk McKusick
86b571509a
There are several bugs/hangs when trying to take a snapshot on a UFS/FFS
...
filesystem running with journaled soft updates. Until these problems
have been tracked down, return ENOTSUPP when an attempt is made to
take a snapshot on a filesystem running with journaled soft updates.
MFC after: 2 weeks
2012-01-17 01:14:56 +00:00
Kirk McKusick
cc672d3599
Make sure all intermediate variables holding mount flags (mnt_flag)
...
and that all internal kernel calls passing mount flags are declared
as uint64_t so that flags in the top 32-bits are not lost.
MFC after: 2 weeks
2012-01-17 01:08:01 +00:00
Nathan Whitehorn
8d01a3b281
Revert r212360 now that PowerPC can handle large sparse arguments to
...
pmap_remove() (changed in r228412).
MFC after: 2 weeks
2012-01-17 00:31:09 +00:00
Alan Cox
292177e67a
Improve abstraction. Eliminate direct access by elf*_load_section()
...
to an OBJT_VNODE-specific field of the vm object. The same
information can be just as easily obtained from the struct vattr that
is in struct image_params if the latter is passed to
elf*_load_section(). Moreover, by replacing the vmspace and vm
object parameters to elf*_load_section() with a struct image_params
parameter, we actually reduce the size of the object code.
In collaboration with: kib
2012-01-17 00:27:32 +00:00
Stanislav Sedov
f6d505ea58
- Add ID for the BeagleBone FTDI serial over usb port.
...
MFC after: 3 days
2012-01-16 23:14:23 +00:00
Hans Petter Selasky
36dc69c414
Add support for more USB devices.
...
Submitted by: pav @
MFC after: 1 week
2012-01-16 22:26:25 +00:00
Guy Helmer
5c005f0000
Remove unnecessary includes from these libutil man pages.
...
Requested by bde (as was the previous commit).
2012-01-16 21:25:41 +00:00
Guy Helmer
34775f8907
Fix more disorder in prototypes and constants.
...
Fix header comments for each section of constants.
Fix whitespace in #define lines.
Fix unnecessary parenthesis in constants.
2012-01-16 21:19:23 +00:00
Sergey Kandaurov
037f43d3ef
Be pedantic and change // comment to C-style one.
...
Noticed by: Bruce Evans
2012-01-16 20:42:56 +00:00
David Schultz
a7eaecefba
Generate a warning if the kernel's arc4random() is seeded with bogus entropy.
2012-01-16 20:18:10 +00:00
David Schultz
cb659153f9
Fix the value of float_t to match what is implied by FLT_EVAL_METHOD.
2012-01-16 20:17:51 +00:00
David Schultz
b3088c8315
Change the definition of FLT_EVAL_METHOD from 1 to 0. A value of 1 implies
...
that the compiler promotes floats to double precision in computations, but
inspection of the output of a cross-compiler indicates that this isn't the
case on powerpc.
2012-01-16 20:17:29 +00:00
Jaakko Heinonen
d325001438
Change checkpath() to not exit on error. This is a prerequisite for
...
fixing the mount(8) "failok" option.
PR: 163668
Reviewed by: Garrett Cooper, delphij (previous version)
2012-01-16 19:34:21 +00:00
David Chisnall
03c142e762
Use the signal fence builtin in stdatomic.h when using the clang atomic
...
builtins, rather than the __asm hack. Somehow I missed the existence of this
builtin originally and only noticed that it was there when I went to implement
it...
Note: Trunk clang now has support for (most of) the C[++]11 atomics stuff.
Please test!
Approved by: brooks (mentor)
2012-01-16 18:19:53 +00:00
Ivan Voras
d83064751a
Add a bit of verbosity to the comment.
2012-01-16 15:47:42 +00:00
Kevin Lo
575cabed9e
Fix a style bug
...
Spotted by: avg
2012-01-16 14:54:48 +00:00
Gleb Smirnoff
15d2f18763
Make panic strings in m_gettype(), m_getzone(), m_cljset()
...
consistent.
2012-01-16 13:23:19 +00:00
Gleb Smirnoff
fe4ead276d
Add missing static.
2012-01-16 12:33:55 +00:00
Gleb Smirnoff
abe5a2ce52
Remove some disabled NOTYET code. Probability of enabling it is low,
...
if anyone wants, he/she can take it from svn.
2012-01-16 12:31:33 +00:00