matt
b870133566
Add some peepholes to help pushing of adjacent registers or memory locations
...
on the stack. Add a peephole to translate two pushes on integers into
one push of a DImode register.
2014-06-03 22:34:28 +00:00
matt
f8174f3ae5
Fix tpyo.
2014-06-03 22:31:48 +00:00
joerg
deae2c9ba3
Always use_sysctl in preparation of removing all kvm code.
2014-06-03 22:22:41 +00:00
joerg
6cf722d5a8
GC left-over kread.
2014-06-03 21:56:30 +00:00
joerg
472ed4a521
Use CPU statistics from uvmexp when possible.
2014-06-03 21:56:03 +00:00
joerg
201b45ebb5
Use kern.clockrate if possible.
2014-06-03 21:45:41 +00:00
joerg
100b00cbbc
Convert the remaining uvmexp users to the sysctl as default source.
2014-06-03 21:41:56 +00:00
joerg
5b23be7ac8
Use vm.uvmexp data as much as possible for vmstat -s.
...
Temporarily disable shadowing warning until the other users are cleaned
up.
2014-06-03 21:31:54 +00:00
joerg
b8fbec4871
Regen.
2014-06-03 21:16:37 +00:00
joerg
94adc2671a
Provide sysctl for namecache statistics.
2014-06-03 21:16:15 +00:00
christos
175b819734
For consistency, handle REQUISITE modules the same way as we handle REQUIRED
...
and BINDING.
2014-06-03 20:22:54 +00:00
christos
dab998a96b
CVE-2014-3879: Incorrect error handling in PAM policy parser:
...
Missing module files were treated as soft failures leading to
unexpected behavior if policy files were copied between hosts with
differently installed modules or in the short period during upgrades
when module files were being replaced.
2014-06-03 20:21:32 +00:00
palle
1a4ece95a2
sun4v: rename upaid_from_node() to cpuid_from_node() - make the function able to extract the cpuid from the cpu nodes reg property (sun4v only) - ok martin@
2014-06-03 20:01:34 +00:00
riastradh
a8f2a2efec
Rework gen6 aperture/gtt size detection. Mark variables __diagused.
2014-06-03 19:49:37 +00:00
joerg
0ae69ecb1a
Don't play loop games, just enumerate the 10 fields explicitly.
2014-06-03 19:42:17 +00:00
riastradh
c910302de2
Mark variables __diagused.
2014-06-03 19:40:37 +00:00
joerg
57f7a68562
Regen.
2014-06-03 19:30:48 +00:00
joerg
11581dcbbb
Introduce two helper functions to centralise the namecache statistics
...
in vfs_cache.c. Use consistent locking around the per-cpu data.
2014-06-03 19:30:29 +00:00
reinoud
d906f0570d
Add used pmu registers, sysreg registers and usb phy registers for USB2. More
...
are added when used.
2014-06-03 15:56:14 +00:00
reinoud
0aa48c65c7
Explicitly mark MCUCTL_ISP_OFFSET as an unknown module to prevent confusion
2014-06-03 15:51:59 +00:00
riastradh
db479d6e55
Ensure we call uvmfault_unlockall on every exit from i915_gem_fault.
2014-06-03 15:06:36 +00:00
riastradh
a21c03fe5f
Fix atomic_dec_and_test in <linux/atomic.h>: test 0, not -1.
2014-06-03 14:59:30 +00:00
wiz
82d04f72be
Fix a bug that caused an error about a UNIQUE constraint violation.
...
Patch from Abhinav Upadhyay.
2014-06-03 14:42:41 +00:00
msaitoh
dac18f56e9
Avoid buffer overflow which was added in rev. 1.52.
...
This change fix a panic at boot time (PR#47950 Reported by Bert Kiers).
OK'd by tls.
2014-06-03 13:53:28 +00:00
riastradh
c1c5dda87a
libdrm_intel needs libpciaccess (kinda spuriously, but whatever).
2014-06-03 13:51:52 +00:00
macallan
5dbd45e441
actually get rid of actually unused variables, still works on my Indy
...
thanks mrg
2014-06-03 12:15:00 +00:00
njoly
954ca52517
Add testcase that check lstat(2) values for symbolic links (PR
...
kern/48864).
2014-06-03 11:56:07 +00:00
ozaki-r
f71f52bb9b
Call ifp->if_output in revarprequest with KERNEL_LOCK held
...
Otherwise, it hits KASSERT(KERNEL_LOCKED_P()) in ether_output
when nfs_boot fails and tries RARP.
2014-06-03 01:24:32 +00:00
joerg
93b8079710
GC unused variables.
2014-06-02 22:57:50 +00:00
joerg
a300913f30
Remove remaining kvm glue.
2014-06-02 19:29:58 +00:00
joerg
11c4049413
Drop kvm-based access for driver statistics.
2014-06-02 19:29:00 +00:00
gdt
335863a998
Add test environment considerations from tests.atf.7.
...
Bump date in an attempt to avoid provoking wizd(1).
2014-06-02 19:17:08 +00:00
joerg
8670ce0cf0
Make missing kern.evcnt an error, don't try to fallback to kmem use.
2014-06-02 19:16:10 +00:00
joerg
b760a206df
Remove majority of KVM usage.
2014-06-02 18:17:51 +00:00
joerg
80a70b4c48
Remove !BSD and lint branches.
2014-06-02 17:40:05 +00:00
macallan
78137629d4
more __unused()
2014-06-02 15:16:23 +00:00
macallan
834a163f3d
sprinkle __unused()
2014-06-02 15:07:24 +00:00
tsutsui
b13a31e41c
Apply patch in PR port-alpha/48697 (with some tweaks).
...
Tru64 UNIX's disklabel is the same format as BSD disklabel,
and it seems Tru64 stores incorrect geometry values in
d_nsectors (sectors/track) and d_secpercyl (sectors/cylinder).
d_secperunit seems always reliable so use it to get
dlsec (sectors/track) and dlcylsize (sectors/cylinder) values.
Should be pulled up to netbsd-6 branches.
2014-06-02 15:03:47 +00:00
joerg
fca46cebb6
Use explicit initializer.
2014-06-02 11:02:20 +00:00
joerg
b319e84295
Re-add -cxx-isystem and -iremap, lost in the GCC 4.8 transition.
2014-06-02 10:14:35 +00:00
mrg
d316f09705
apply __diagused.
2014-06-02 04:57:02 +00:00
dholland
a6869e0836
add MPVERBOSE, noted missing in PR 48733.
2014-06-02 02:11:51 +00:00
mrg
2c6fc41c81
catch up with GCC_SUBDIR changes for new-to-gcc 4.8 directories.
2014-06-01 20:24:45 +00:00
mrg
5beaf704be
port over 3 changes made here in the GCC 4.5 tree that we'll need
...
when GCC 4.8 becomes "gcc.old" eventually.
this tree still needs to be tested for more, but this should be the
bulk of the work.
----
Log Message:
prepare for moving GCC 4.5 into gcc.old:
- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
because it arranges for ../Makefile.inc to be included earlier, and
don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.
XXX the relationship between the Makefile.inc/Makefile.gcc_path files
is kind of sketchy, it would be great if this was fixed.
----
Log Message:
oops, avoid re-setting DIST to something that might be wrong now.
----
Log Message:
fix another dated DIST.
2014-06-01 19:51:01 +00:00
christos
2e317a68f7
PR/48843: Jarmo Jaakkola: Soften the language in the manual page,
...
making less promises about behavior not explicitly stated in the standard.
2014-06-01 17:46:06 +00:00
phx
66c8502fa8
Use int32_t, int16_t, int8_t.
2014-06-01 17:21:50 +00:00
njoly
88a8e0469e
Cleanup pipe(2) flags, now that native handle them.
2014-06-01 13:42:12 +00:00
martin
755f765c3a
PR kern/48815: do not skip ';' twice when comparing file versions.
...
Patch from Thomas Schmitt.
2014-06-01 11:01:18 +00:00
mrg
d26da1a6c3
make sure that files containing version numbers are rebuilt when
...
the version actually changes.
2014-05-31 22:55:16 +00:00
joerg
0cfeec7c2c
Mark files without llvm-209886 tag as dead.
2014-05-31 22:42:11 +00:00