| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
are string names for their respective UMA zones and malloc types, and
are passed into uma_zcreate() and MALLOC_DEFINE(). Export them
outside of _KERNEL in mbuf.h so that netstat can reference them.
Change the names to improve consistency, with each zone/type
associated with the mbuf allocator being prefixed mbuf_.
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
to destroy it.
PR: kern/81758
Submitted by: trasz <trasz@buziaczek.pl>
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
card. Mask it while we're doing power things, as the PC Card standard
suggests. Also, poll the POWER_CYCLE bit 10x a second as well as
providing a timeout for power cycle interrupt to happen.
The Ricoh '475 that I have doesn't seem to generate an interrupt for
power at the present time, so the polling is necessary for reasons as
yet unknown. This results in an interrupt storm warning that I'm
still trying to quantify (the o2micro trick doesn't work to mitigate
this storm). At the very least, this should help those users that
lost pccards on boot with the prior rev of this code. My VAIO
PCG-505TS is now happier, but more investigation is necessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If a character cannot be converted to DOS code page,
unix2doschr() returned `0'. As a result, unix2dosfn()
was forced to return `0', so we saw a file which was
composed of these characters as `Invalid argument'.
To correct this, if a character can be converted to
Unicode, unix2doschr() now returns `1' which is a magic
number to make unix2dosfn() know that the character
must be converted to `_'.
[2] unix2dosfn()
The above-mentioned solution only works if a file
has both of Unicode name and DOS code page name.
Unicode name would not be recorded if file name
can be settled within 11 bytes (DOS short name)
and if no conversion from Unix charset to DOS code
page has occurred. Thus, FreeBSD can create a file
which has only short name, but there is no guarantee
that the short name contains allways valid characters
because we leave it to people by using mount_msdosfs(8)
to select which conversion is used between DOS code
page and unix charset.
To avoid this, Unicode file name should be recorded
unless a character is an ascii character. This is
the way Windows XP do.
PR: 77074 [1]
MFC after: 1 week
|
|
|
|
|
|
| |
the new text vnode is already locked by itself.
MFC after: 3 days
|
|
|
|
|
| |
functions and must now be either an unsigned char or EOF, regardless of
locale.
|
|
|
|
|
| |
and toupper() must now be either an unsigned char or EOF, regardless of
locale.
|
|
|
|
| |
kernel that has become GPL infected.
|
| |
|
|
|
|
| |
Noticed by: oliver
|
| |
|
|
|
|
|
|
|
|
|
| |
per-CPU cache statistics. UMA sizes the cache array based on the
number of CPUs at boot (mp_maxid + 1), and iterating based on MAXCPU
could read off the end of the array (into the next zone).
Reported by: yongari
MFC after: 1 week
|
|
|
|
|
|
|
| |
assertion (jeff, bmilekic, rwatson).
Suggested ages ago by: bde
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
it covers the following of the uc_alloc/freebucket cache pointers.
Originally, I felt that the race wasn't helped by holding the mutex,
hence a comment in the code and not holding it across the cache access.
However, it does improve consistency, as while it doesn't prevent
bucket exchange, it does prevent bucket pointer invalidation. So a
race in gathering cache free space statistics still can occur, but not
one that follows an invalid bucket pointer, if the mutex is held.
Submitted by: yongari
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
Fixes build of ukbd module under "make universe"
|
|
|
|
|
|
| |
Requested by: many Korean users from bsdforum.or.kr
Submitted by: perky
Approved by: anholt (mentor)
|
|
|
|
| |
we have exhausted all 16 flags.
|
|
|
|
|
| |
Requested by: victor cruceru <victor dot cruceru at gmail dot com>
MFC after: 1 week
|
|
|
|
|
| |
Requested by: victor cruceru <victor dot cruceru at gmail dot com>
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
| |
variables rather than void * variables. This makes it easier and simpler
to get asm constraints and volatile keywords correct.
MFC after: 3 days
Tested on: i386, alpha, sparc64
Compiled on: ia64, powerpc, amd64
Kernel toolchain busted on: arm
|
|
|
|
|
|
|
|
|
|
| |
s/SYSCTLS/SYSCTL VARIABLES/
s/TUNABLES/LOADER TUNABLES/
s/CAVEAT/CAVEATS/
s/DESCIPTION/DESCRIPTION/
Reviewed by: ru
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
New sysctls: kern.malloc_stats and vm.zone_stats,
mpt(4) improvements,
ifconfig(8) -k flag,
libmemstat(3) added,
libpcap updated to v0.9.1, and
tcpdump updated to v3.9.1.
|
|
|
|
|
| |
- Update the mkrdev function.
- Attempt gctl verb "write MBR" when updating.
|
|
|
|
| |
- Attempt gctl verb "write MBR" when updating.
|
|
|
|
| |
- Implement a gctl handler and the verb "write MBR".
|
|
|
|
|
| |
sort long DPADD lists automatically. While here, recognize
`W' as the global symbol. This has been tested since 2004.
|
| |
|
| |
|
|
|
|
| |
for NFS installing world/kernel to another machine.
|
|
|
|
|
| |
when cross-building (installing). (This is useful for NFS
installing world/kernel to another architecture machine.)
|
|
|
|
| |
Approved by: flz (mentor), Ken Smith (re)
|
| |
|
|
|
|
|
|
| |
*) Plug a possible memory leak. [1]
[1] obtained from: pjd@.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
replaces any previous mapping to the same address.
Obtained from: IEEE Std 1003.1, 2004 Edition
|
|
|
|
|
|
| |
as well as documenting MEMSTAT_MAXCALLER.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
MEMSTAT_MAXCALLER (8), and expose MEMSTAT_MAXCALLER via memstat.h so
that applications can check their assumptions about how many slots
are available.
Remove 'spare' memory storage in struct malloc_type, since we now
don't expose the data structure internals to applications and rely
on accessor methods, this approach to ABI stability isn't required.
MFC after: 7 days
|
|
|
|
|
|
|
|
| |
the library description (specifically, -lmemstat) to render properly in
the libmemstat.3 man page.
Submitted by: ru
MFC after: 1 week
|
|
|
|
|
|
| |
memstat_mtl_find().
MFC after: 10 days
|
|
|
|
|
| |
Submitted by: jkoshy
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the case of an RTM_CHANGE was specific, i.e. that it matched completely. This
led to a route change of a non-existent route changing the default route
as the radix code would simply back track to that point and hand that
route back to the routing socket code.
PR: 82974
Reviewed by: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Ben Kaduk <minimarmot@gmail.com>
Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net>
Obtained from: OpenBSD with modifications.
MFC after: 2 weeks
|
|
|
|
| |
This should solve the problem of modifying the MBR while running.
|
|
|
|
| |
This should solve the problem of modifying a busy MBR.
|