Guy Helmer
3d1d73c22f
Style(9) improvements: remove unnecessary parenthesis, improve order
...
of local variable declarations, remove bogus casts, and resolve long
lines.
Reviewed by: bde
2012-06-01 15:02:23 +00:00
Bjoern A. Zeeb
5fa2656e55
Make TCP LRO work properly with VIMAGE kernels rather than just panicing.
...
There's no VIMAGE context set there yet as this is before if_ethersubr.c.
MFC after: 3 days
X-MFC with: r235981
2012-06-01 11:42:50 +00:00
Alexander Motin
581b2e78cf
Use AC_GETDEV_CHANGED async to notify ada driver about DMA and NCQ status
...
change. Now that allows switching between PIO and DMA modes on the fly.
2012-06-01 09:32:37 +00:00
Jase Thew
0a5a71dc16
Add myself as a new committer.
...
Approved by: flo, culot (mentors)
2012-06-01 08:44:17 +00:00
Michael Tuexen
11ef11db47
Small cleanups. No functional change.
...
MFC after: 3 days
2012-06-01 08:26:50 +00:00
Dimitry Andric
5d586d29dd
Make devd build with libc++.
...
MFC after: 3 days
2012-06-01 06:56:35 +00:00
Dimitry Andric
e3726a671a
Fix dangling else in libc++'s __bit_reference header. This has also
...
been sent upstream.
MFC after: 3 days
2012-06-01 06:55:01 +00:00
Dimitry Andric
3e2e1f1f0a
Pull in r155978 from upstream llvm trunk:
...
Fix unintentional use of operator bool.
This enables llvm's bugpoint tool to build with libc++.
MFC after: 3 days
2012-06-01 06:50:37 +00:00
Adrian Chadd
81c2214dda
Add a missing #include, required for IEEE80211_DEBUG.
2012-06-01 06:20:39 +00:00
Eitan Adler
71ee98c97c
Add sysctl to query amount of swap space free
...
PR: kern/166780
Submitted by: Radim Kolar <hsn@sendmail.cz>
Approved by: cperciva
MFC after: 1 week
2012-06-01 04:42:52 +00:00
Eitan Adler
d45ce511db
Adding missing dependancies for loading hptiop(4), hptmv(4) and isp(4) as modules.
...
PR: kern/166239
Submitted by: Pavel Timofeev <timp87@gmail.com>
Discussed on: -stable, -scsi
Reviewed by: scottl
No objection from: mjacob
Approved by: cperciva
MFC after: 3 days
2012-06-01 04:34:49 +00:00
Alan Cox
d85fbe8a91
Eliminate code duplication in free_pv_entry() and pmap_remove_pages() by
...
introducing free_pv_chunk().
2012-06-01 04:26:50 +00:00
Eitan Adler
829ac2c3e0
Fix warning generated by clang;
...
warning: equality comparison with extraneous parentheses
[-Wparentheses-equality]
Reported by: arundel
Reviewed by: gnn
Approved by: cperciva
MFC after: 3 days
2012-06-01 04:23:20 +00:00
Eitan Adler
b9f0348640
Add characters mapping for codepages used in Germany.
...
(not verified by me to be accurate)
PR: bin/163847
Submitted by: Gabor Fischer <Gabor.Fischer@gmx.net>
Reviewed by: bp
Approved by: cperciva
MFC after: 3 weeks
2012-06-01 03:59:08 +00:00
Alan Cox
2865094134
pmap_alloc_vhpt() doesn't need the pages that it allocates to be mapped
...
into the kernel map, so vm_page_alloc_contig() can be used in place of
contigmalloc().
Reviewed by: marcel
2012-06-01 03:56:12 +00:00
Warner Losh
b33fdab5e0
Revert debug and other immature code accidentally committed in r236372.
2012-06-01 03:00:36 +00:00
Warner Losh
b8b0747b3c
Initialize the clocks before we call cninit() so that the serial
...
console so initialized will work upon return from cninit. While this
is the very next line, other platforms setup all this stuff before
calling cninit. Also, initialize the SDRAM base register in the inner
block in at91_ramsize().
2012-06-01 02:55:42 +00:00
Pyun YongHyeon
198b3ad636
Remove unnecessary device_printfs.
...
Pointed out by: marius
2012-05-31 23:56:10 +00:00
David E. O'Brien
28c508787d
Update date for r236338 & r236346.
2012-05-31 20:13:44 +00:00
Ermal Luçi
0ad5ef9c8f
Correct table counter functionality to not panic.
...
This was caused by not proper initialization of necessary parameters.
PR: 168200
Reviewed by: bz@, glebius@
MFC after: 1 week
2012-05-31 20:10:05 +00:00
Pawel Jakub Dawidek
5edfa04b94
Regenerate after r236361.
...
MFC after: 3 days
2012-05-31 19:34:53 +00:00
Tom Judge
0e55135627
- Fix my botched merge and correct mentor ordering. (Spotted by flo)
...
- Fix missing new line in node block. (Spotted by gavin)
- Sort the node list while I'm here.
Approved by: eadler (mentor)
2012-05-31 19:33:51 +00:00
Pawel Jakub Dawidek
6ba7e8178a
Add missing system calls.
...
MFC after: 3 days
2012-05-31 19:32:37 +00:00
Pawel Jakub Dawidek
243f67938e
There is no rmdirat system call. Weird, I know.
...
MFC after: 3 days
2012-05-31 19:31:28 +00:00
Warner Losh
a241707e7a
Unlock in the error path to prevent a lock leak.
...
PR: 162174
Submitted by: Ian Lepore
MFC after: 2 weeks
2012-05-31 17:27:05 +00:00
John Baldwin
5c506fb0b4
Don't trace or dump page fault records in the default set of tracepoints
...
as they can be quite noisy.
Requested by: Peter Jeremy
MFC after: 3 days
2012-05-31 14:46:02 +00:00
Eitan Adler
903892c793
Fix a variety of compile errors with gcc48 and clang
...
PR: bin/165699
Submitted by: Arne Meyer <meyer.arne83@gmail.com>
Approved by: cperciva
MFC after: 1 week
2012-05-31 08:22:02 +00:00
Eitan Adler
3e2af38b96
Bump date for content missed in r236290
...
Submitted by: gjb
Approved by: cperciva (implicit)
MFC after: 3 days
X-MFC-With: r236290
2012-05-31 07:16:50 +00:00
Tom Judge
8ffe408c2f
Add my mentor relationships.
...
Approved by: eadler (mentor)
2012-05-31 02:36:30 +00:00
David E. O'Brien
ede27e69cf
Add regression test for '-V' command line option (requires r236346).
2012-05-31 01:07:52 +00:00
David E. O'Brien
b3dc6c07e2
Add "-V '${VAR}'" variable expansion from Portable Berkeley Make.
...
Submitted by: Simon Gerraty <sjg@juniper.net>
2012-05-31 00:36:56 +00:00
Jase Thew
65403eb28f
Add myself and mentors relationship.
...
Approved by: flo (mentor)
2012-05-30 22:48:01 +00:00
David E. O'Brien
6abbb4f561
make it easier to check newly-built make
2012-05-30 22:27:34 +00:00
David E. O'Brien
a35a9551c4
make it easier to test newly-built make.
2012-05-30 22:26:16 +00:00
David E. O'Brien
d81f04d7fa
Deprecate the FreeBSD make's ":U" (to-upper case) and ":L" (to-lower case)
...
modifiers for ":tu" and ":tl" from OSF's ODE, which made its way into
NetBSD's make, which is the source for the Portable Berkeley Make.
Submitted by: Simon Gerraty <sjg@juniper.net>
2012-05-30 22:23:08 +00:00
David E. O'Brien
614304eccc
* Remove headers from SRCS that are not generated
...
(and are in /usr/src/crypto/heimdal/).
* Avoid race conditions with 'make -j<N>'.
2012-05-30 22:21:25 +00:00
Josh Paetzel
47f1d92787
Bump PKG_INSTALL_VERSION which should've been done in r236233
...
MFC after: 3 days
Pointed out by: bapt
2012-05-30 21:28:37 +00:00
John Baldwin
1b5ba09fbb
- Witness doesn't verify the old MTX_NOSWITCH flag's correctness (that was obsoleted
...
when critical sections were added). Instead, list a check that witness does perform.
- Note that 'show locks' in DDB takes an optional thread argument.
- Document 'show all locks'.
- Remove the BUGS section, the bug in question was fixed 11 years ago in r76272.
2012-05-30 21:02:12 +00:00
Josh Paetzel
d83c17fc0d
Let pkg_add use the ENV variable PACKAGESUFFIX. This
...
can be used to override the default .tbz package extension to
.txz .tgz or .tar
Submitted by: kmoore
Obtained from: PC-BSD
Sponsored by: iXsystems
MFC after: 3 days
2012-05-30 21:01:06 +00:00
Michael Tuexen
a6cff10f2a
Seperate SCTP checksum offloading for IPv4 and IPv6.
...
While there: remove some trainling whitespaces.
MFC after: 3 days
X-MFC with: 236170
2012-05-30 20:56:07 +00:00
Josh Paetzel
01c64e45fc
Fix detecting available zpool names.
...
Submitted by: kmoore
Obtained from: PC-BSD
MFC after: 3 days
Sponsored by: iXsystems
2012-05-30 20:49:28 +00:00
Josh Paetzel
64907dc465
Fix French Canadian console keyboard layout
...
Submitted by: kmoore
Obtained from: PC-BSD
MFC after: 3 days
Sponsored by: iXsystems
2012-05-30 20:44:04 +00:00
Marius Strobl
a985a6f303
Merge r236137 from x86:
...
Enable GNU hash generation for dynamic ELF binaries.
While at it, sync the order of options with x86 and pass along the verbose
flag.
2012-05-30 20:13:49 +00:00
Marius Strobl
749a52693c
Try to finally get the point in time at which bge_add_sysctls() is called
...
right; it needs to be called before bge_can_use_msi() but in turn requires
bge_flags to be properly set.
Submitted by: yongari
MFC after: 3 days
2012-05-30 20:04:07 +00:00
Maksim Yevmenkin
c784f9e5eb
When we return deprecated addresses, we need to reference them.
...
Reviewed by: bz, scottl
MFC after: 3 days
2012-05-30 20:02:39 +00:00
Rafal Jaworowski
691df1a1f8
Panic openly if we cannot retrieve memory information from the device tree.
...
This is a critical condition and can lead to all sorts of misterious hangs if
not handled.
Obtained from: Semihalf
Also reported by: thompsa
2012-05-30 18:05:48 +00:00
Rafal Jaworowski
aa6bc7dc29
Extract vendor specific Book-E pieces into separate files and have a common
...
skeleton (maybe we should kobj-tize this one day).
Note the PPC4xx bit is not connected to the build yet.
Obtained from: AppliedMicro, Semihalf.
2012-05-30 17:34:40 +00:00
Sean Bruno
87e7271687
Cosmetic nit. If a configured volume has no label, don't emit an empty
...
string for the name during probe. Simply indicate that it has no label.
Submitted by: bhaga@
MFC after: 3 days
2012-05-30 17:07:50 +00:00
Konstantin Belousov
b569050a78
Enable vn_io_fault() lock avoidance for UFS.
...
Tested by: pho
MFC after: 2 months
2012-05-30 16:45:41 +00:00
Konstantin Belousov
41014d996a
vn_io_fault() is a facility to prevent page faults while filesystems
...
perform copyin/copyout of the file data into the usermode
buffer. Typical filesystem hold vnode lock and some buffer locks over
the VOP_READ() and VOP_WRITE() operations, and since page fault
handler may need to recurse into VFS to get the page content, a
deadlock is possible.
The facility works by disabling page faults handling for the current
thread and attempting to execute i/o while allowing uiomove() to
access the usermode mapping of the i/o buffer. If all buffer pages are
resident, uiomove() is successfull and request is finished. If EFAULT
is returned from uiomove(), the pages backing i/o buffer are faulted
in and held, and the copyin/out is performed using uiomove_fromphys()
over the held pages for the second attempt of VOP call.
Since pages are hold in chunks to prevent large i/o requests from
starving free pages pool, and since vnode lock is only taken for
i/o over the current chunk, the vnode lock no longer protect atomicity
of the whole i/o request. Use newly added rangelocks to provide the
required atomicity of i/o regardind other i/o and truncations.
Filesystems need to explicitely opt-in into the scheme, by setting the
MNTK_NO_IOPF struct mount flag, and optionally by using
vn_io_fault_uiomove(9) helper which takes care of calling uiomove() or
converting uio into request for uiomove_fromphys().
Reviewed by: bf (comments), mdf, pjd (previous version)
Tested by: pho
Tested by: flo, Gustau P?rez <gperez entel upc edu> (previous version)
MFC after: 2 months
2012-05-30 16:42:08 +00:00