yongari
ab2f26b102
Track which ring was updated in RX handler and update only modified
...
ring. This should reduce unnecessary register accesses.
2011-11-07 22:11:38 +00:00
trociny
422432aa2b
When displaying process virtual memory mappings print superpage
...
mapping flag.
Submitted by: Mel Flynn <mel.flynn+fbsd.hackers@mailing.thruhere.net>
Reviewed by: alc, rwatson
2011-11-07 21:16:19 +00:00
trociny
9cd1f9add2
Add KVME_FLAG_SUPER and use it in sysctl_kern_proc_vmmap for marking
...
entries with superpages.
Submitted by: Mel Flynn <mel.flynn+fbsd.hackers@mailing.thruhere.net>
Reviewed by: alc, rwatson
2011-11-07 21:13:19 +00:00
trociny
f25b803473
In lim_fork() assert that processes locks are held.
...
Suggested by: kib
2011-11-07 21:09:04 +00:00
ed
518d5f5152
Ensure pam_lastlog removes the /dev/ component of the TTY name.
...
Some consumers of PAM remove the /dev/ component (i.e. login), while
others don't (i.e. su). We must ensure that the /dev/ component is
removed to ensure that the utmpx entries properly work with tools such
as w(1).
Discussed with: des
MFC after: 1 week
2011-11-07 19:57:42 +00:00
yongari
f2e78d375a
o Remove unnecessary controller reinitialization.
...
o Do not blindly UP controller when MTU is changed. Reinitialize
controller only if driver is running.
o Remove useless ti_stop() in ti_watchdog() since ti_init_locked()
always invokes ti_stop().
2011-11-07 18:26:38 +00:00
yongari
1439814d21
Remove ti_unit member variable in softc.
...
While I'm here use PCIR_BAR macro.
2011-11-07 18:19:20 +00:00
marcel
7952c4cb03
Don astbestos garment and remove the warning about TMPFS being experimental
...
-- highly experimental even. So far the closest to a bug in TMPFS that people
have gotten to relates to how ZFS can take away from the memory that TMPFS
needs. One can argue that such is not a bug in TMPFS. Irrespective, even if
there is a bug here and there in TMPFS, it's not in our own advantage to
scare people away from using TMPFS. I for one have been using it, even with
ZFS, very successfully.
2011-11-07 16:21:50 +00:00
ed
0c56cf839d
Mark all SYSCTL_NODEs static that have no corresponding SYSCTL_DECLs.
...
The SYSCTL_NODE macro defines a list that stores all child-elements of
that node. If there's no SYSCTL_DECL macro anywhere else, there's no
reason why it shouldn't be static.
2011-11-07 15:43:11 +00:00
glebius
599a401646
In icmp6_redirect_input:
...
- Assert that we got a valid mbuf with rcvif pointer. [1]
- Use __func__ in logging.
Submitted by: prabhakar lakhera <prabhakar.lakhera gmail.com> [1]
Submitted by: Kristof Provost <kristof sigsegv.be> [1]
2011-11-07 14:22:18 +00:00
ed
142b194b5f
Remove unneeded CFLAGS.
...
Such optimisations should not be performed in this Makefile. Also, uqs@
suggested they have no effect, because the checksum of the resulting
binary is unchanged.
Discussed with: gabor, uqs
2011-11-07 09:42:22 +00:00
ae
18ace57344
Remove a note about disabling of GEOM protection mechanism.
...
boot0cfg should work without such hack.
MFC after: 3 days
2011-11-07 09:29:10 +00:00
ae
b0abf8d727
Reorganize write_mbr() function to be able write bootcode with different
...
ways. Improve error reporting and also fix indenting.
Now we are trying to write bootcode:
1. Directly to provider (if we can open it for writing);
2. Via GEOM_PART (if it is available);
3. Via GEOM_MBR.
MFC after: 2 weeks
2011-11-07 09:21:18 +00:00
ae
19e5b9fafd
Fix multi-line comment formatting.
...
MFC after: 2 weeks
2011-11-07 07:51:10 +00:00
ae
e7b9c5cf75
Fix multi-line comment formatting.
...
Pointed by: jh
MFC after: 1 week
2011-11-07 07:50:35 +00:00
ed
1b8d577138
SDT's struct sdt_argtype can be marked static everywhere.
...
It is only passed to SYSINIT/SYSUNINIT.
2011-11-07 07:09:38 +00:00
ed
e97eae1577
Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.
...
This means that their use is restricted to a single C file.
2011-11-07 06:44:47 +00:00
ae
dcf961c021
Improve error reporting when MBR can not be written.
...
Remove obsolete code which uses DIOCSMBR ioctl.
When writing MBR first check that GEOM_MBR is available, if it is not
available, then try write MBR directly to provider. If both are failed,
then recommend to use gpart(8).
MFC after: 2 week
2011-11-07 06:24:35 +00:00
rstone
6ab77084d3
Replace fasttrap_copyout() with uwrite(). FreeBSD copyout() is not able to
...
write to the .text section of a process.
Obtained from: rpaulo
MFC after: 3 days
2011-11-07 01:55:58 +00:00
rstone
7513eaddcf
Fix the DTrace pid return trap interrupt vector. Previously we were using
...
31, but that vector is reserved.
Without this fix, running dtrace -p <pid> would either cause the target
process to crash or the kernel to page fault.
Obtained from: rpaulo
MFC after: 3days
2011-11-07 01:53:25 +00:00
hselasky
37aef6a488
Fix build breakage for 8-stable and older.
...
MFC after: 0 days
2011-11-06 23:26:26 +00:00
hselasky
a361ae513d
Add support for new USB modem protocol.
...
PR: usb/159919
MFC after: 1 week
2011-11-06 23:11:30 +00:00
marius
80a7f0f380
Freeze the device queue if a request didn't complete without error and
...
isn't already frozen.
2011-11-06 22:28:13 +00:00
marcel
4c0641cee9
Add check-password.4th and screen.4th to the boot image. They are
...
needed by the loader.
2011-11-06 21:57:12 +00:00
marius
dcec53dee9
Add missing comma.
...
Submitted by: brueffer
2011-11-06 21:54:27 +00:00
marius
cbbd957faf
Commit man page update missed in r227006.
2011-11-06 21:33:50 +00:00
ae
78dbeda5eb
Initialize "acc" value inside the loop to reset failed attempts.
...
PR: misc/162262
MFC after: 3 days
2011-11-06 21:12:52 +00:00
brueffer
744cbe301c
Add qlxgb(4).
...
MFC after: 3 days
2011-11-06 20:59:07 +00:00
brueffer
1cf88ae8cb
Add qlxgb(4) to the hardware notes.
...
MFC after: 3 days
2011-11-06 20:49:17 +00:00
ae
68672f54ba
Add reference to gpart(8).
...
MFC after: 3 days
2011-11-06 20:42:32 +00:00
ae
491288c339
Add reference to gpart(8).
...
MFC after: 3 days
2011-11-06 20:39:35 +00:00
ae
ce0c0ffbfe
Add reference to gpart(8).
...
MFC after: 3 days
2011-11-06 20:38:27 +00:00
brueffer
1e26c5740e
Write QLogic consistently.
...
MFC after: 3 days
2011-11-06 20:37:17 +00:00
ae
92dbb9bc84
Add recommendation to use gpart(8) when user tries write disklabel
...
or bootcode to already opened provider.
MFC after: 1 week
2011-11-06 20:32:55 +00:00
ed
b57deea6eb
Partially revert r227233.
...
The privs.h header is not only used by at(1), it's also used by
atrun(8). Just let the code the way it used to be (for now).
Reported by: kwm, tinderbox
Hat to: me
2011-11-06 20:30:21 +00:00
ed
637fddd999
Remove MALLOC_DECLAREs of nonexisting malloc-pools.
...
After careful grepping, it seems none of these pools can be found in our
source tree. They are not in use, nor are they defined.
2011-11-06 20:16:50 +00:00
tuexen
00f02b4aa3
Initialize all components of the sent COOKIE.
...
MFC after: 3 days.
2011-11-06 20:09:22 +00:00
ae
e81522e7f1
Remove unneeded checks.
...
MFC after: 1 week
2011-11-06 19:03:07 +00:00
ed
7d6a47f31c
Mark global functions and/or variables in spray(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:49 +00:00
ed
abe4891023
Mark global functions and/or variables in snapinfo(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:43 +00:00
ed
1eab6ce2b2
Mark global functions and/or variables in rmt(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:37 +00:00
ed
66f3c7141b
Mark global functions and/or variables in rip6query(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:31 +00:00
ed
14d5ba5322
Mark global functions and/or variables in pwd_mkdb(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:25 +00:00
ed
d0a630f994
Mark global functions and/or variables in moused(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:20 +00:00
ed
63fd44ffc0
Mark global functions and/or variables in mixer(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:02:13 +00:00
ed
5e4b02fe97
Mark global functions and/or variables in memcontrol(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:59 +00:00
ed
32375b4cab
Mark global functions and/or variables in fdread(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:54 +00:00
ed
2aa810aa99
Mark global functions and/or variables in devinfo(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:48 +00:00
ed
57acbc3db8
Mark global functions and/or variables in chown(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:41 +00:00
ed
b99d6c2ed3
Mark global functions and/or variables in boot0cfg(8) static where possible.
...
This allows compilers and static analyzers to do more thorough analysis.
2011-11-06 19:01:35 +00:00