summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Define four constants, MBUF_{,MEM,CLUSTER,PACKET,TAG}_MEM_NAME, whichrwatson2005-07-173-5/+18
| | | | | | | | | | | 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
* Add __BEGIN_DECLS and __END_DECLS to make libmemstat(3) more C++-friendly.rwatson2005-07-171-0/+2
| | | | MFC after: 1 week
* sync function prototype with reality.charnier2005-07-171-1/+6
|
* Before calling g_orphan_provider(), add G_PF_WITHER flag, so GEOM will knowpjd2005-07-172-0/+2
| | | | | | | | to destroy it. PR: kern/81758 Submitted by: trasz <trasz@buziaczek.pl> MFC after: 3 days
* Check that we have first fragment before pulling up TCP/UDP header.glebius2005-07-171-12/+14
|
* The CD interrupt should only be enabled after we've initialized theimp2005-07-171-10/+38
| | | | | | | | | | | | | | 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.
* [1] unix2doschr()imura2005-07-171-10/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Use LK_CANRECURSE since when a PMC-owning process performs an exec,jkoshy2005-07-171-1/+1
| | | | | | the new text vnode is already locked by itself. MFC after: 3 days
* Remove confusing "single C char locales" phrase; arguments to thesetjr2005-07-1712-106/+44
| | | | | functions and must now be either an unsigned char or EOF, regardless of locale.
* Remove confusing "single C char locales" phrase; arguments to tolower()tjr2005-07-172-18/+6
| | | | | and toupper() must now be either an unsigned char or EOF, regardless of locale.
* Add additional sub-systems to the warning users get when they build aobrien2005-07-171-3/+6
| | | | kernel that has become GPL infected.
* Catch up with menus.c revision 1.399.obrien2005-07-172-58/+0
|
* snd_ess needs snd_sbc to compile.brueffer2005-07-161-1/+2
| | | | Noticed by: oliver
* Revert last commit: It fixed make universe but broke regular kernel make.phk2005-07-161-1/+1
|
* Use mp_maxid in preference to MAXCPU when creating exports of UMArwatson2005-07-161-3/+3
| | | | | | | | | 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
* Improve canonicalization of copyrights. Order copyrights by order ofrwatson2005-07-165-20/+15
| | | | | | | assertion (jeff, bmilekic, rwatson). Suggested ages ago by: bde MFC after: 1 week
* Move the unlocking of the zone mutex in sysctl_vm_zone_stats() so thatrwatson2005-07-161-5/+9
| | | | | | | | | | | | | 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
* Document IODATA USB-RSAQ3 USB-Serial Adapter as a supported device.hrs2005-07-161-1/+3
| | | | MFC after: 3 days
* Add missing reference to ukbdmap.hphk2005-07-161-1/+1
| | | | Fixes build of ukbd module under "make universe"
* Use better Korean translation for `trap'jkim2005-07-162-6/+6
| | | | | | Requested by: many Korean users from bsdforum.or.kr Submitted by: perky Approved by: anholt (mentor)
* Increase the flags field for kegs from a 16 to a 32 bit value;silby2005-07-163-12/+12
| | | | we have exhausted all 16 flags.
* Teach libmemstat(3) about UMA(9) failure statistics.rwatson2005-07-151-0/+1
| | | | | Requested by: victor cruceru <victor dot cruceru at gmail dot com> MFC after: 1 week
* Track UMA(9) allocation failures by zone, and export via sysctl.rwatson2005-07-153-18/+35
| | | | | Requested by: victor cruceru <victor dot cruceru at gmail dot com> MFC after: 1 week
* Note the events of 0707, lest we forget.ceri2005-07-151-0/+1
|
* Convert the atomic_ptr() operations over to operating on uintptr_tjhb2005-07-1511-321/+129
| | | | | | | | | | 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
* Fix typos and use consistent section names in manual pages:hrs2005-07-1520-22/+22
| | | | | | | | | | s/SYSCTLS/SYSCTL VARIABLES/ s/TUNABLES/LOADER TUNABLES/ s/CAVEAT/CAVEATS/ s/DESCIPTION/DESCRIPTION/ Reviewed by: ru MFC after: 3 days
* New release notes:hrs2005-07-152-6/+60
| | | | | | | | | 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.
* Merged from boot0cfg.nyan2005-07-152-13/+33
| | | | | - Update the mkrdev function. - Attempt gctl verb "write MBR" when updating.
* Merged from src/sbin/fdisk.nyan2005-07-152-28/+45
| | | | - Attempt gctl verb "write MBR" when updating.
* Merged from geom_mbr.c revisions 1.62 and 1.66.nyan2005-07-151-6/+68
| | | | - Implement a gctl handler and the verb "write MBR".
* Fix loder(1) to work with libraries. This can be useful toru2005-07-151-5/+14
| | | | | sort long DPADD lists automatically. While here, recognize `W' as the global symbol. This has been tested since 2004.
* Trim the old relnotes items.hrs2005-07-152-2926/+32
|
* Update version numbers to 7-CURRENT.hrs2005-07-151-7/+7
|
* Pass -i to pwd_mkdb(8) to ignore locking failures. This can be usefulru2005-07-151-1/+1
| | | | for NFS installing world/kernel to another machine.
* Make the `distrib-dirs' target official and working properlyru2005-07-152-3/+3
| | | | | when cross-building (installing). (This is useful for NFS installing world/kernel to another architecture machine.)
* Add myself to FreeBSD calendargarga2005-07-151-0/+1
| | | | Approved by: flz (mentor), Ken Smith (re)
* Reduce diffs from boot0cfg.c (no functional change).nyan2005-07-151-86/+93
|
* *) Implement round-robin reads for multiplex volumes.le2005-07-152-25/+36
| | | | | | *) Plug a possible memory leak. [1] [1] obtained from: pjd@.
* Add -mno-sse3 for prescott/noconaache2005-07-151-0/+3
|
* Add -mno-sse3 for prescott/noconaache2005-07-154-3/+6
|
* Add -mno-sse3 for prescott/noconaache2005-07-151-1/+1
|
* Document the fact that if MAP_FIXED request has been successful itsobomax2005-07-151-0/+7
| | | | | | replaces any previous mapping to the same address. Obtained from: IEEE Std 1003.1, 2004 Edition
* Provide more documentation on caller-owned storage in struct memory_type,rwatson2005-07-151-7/+20
| | | | | | as well as documenting MEMSTAT_MAXCALLER. MFC after: 1 week
* Increase the number of caller memory storage slots from 2 or 4 torwatson2005-07-152-8/+12
| | | | | | | | | | | | 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
* Hook up libmemstat(3) to the library list in mdoc.local. This will causerwatson2005-07-151-0/+1
| | | | | | | | the library description (specifically, -lmemstat) to render properly in the libmemstat.3 man page. Submitted by: ru MFC after: 1 week
* Add a section on the allocator name space and its interactions withrwatson2005-07-151-0/+22
| | | | | | memstat_mtl_find(). MFC after: 10 days
* Re-spell wronge less wrongly as wrong.rwatson2005-07-152-4/+4
| | | | | Submitted by: jkoshy MFC after: 1 week
* Fix for PR 82974. We were not checking that the route looked up ingnn2005-07-151-0/+19
| | | | | | | | | | | | | | 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
* Attempt gctl verb "write MBR" when updating.phk2005-07-152-1/+25
| | | | This should solve the problem of modifying the MBR while running.
* Attempt gctl verb "write MBR" when updating.phk2005-07-152-28/+46
| | | | This should solve the problem of modifying a busy MBR.
OpenPOWER on IntegriCloud