Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add an alias 'unhalted-cycles' denoting cycles where the CPU is | jkoshy | 2006-02-25 | 2 | -0/+6 |
| | | | | not in a halt or sleep state. | ||||
* | Fix a race condition introduced when redzones were added. Use an | deischen | 2006-02-24 | 2 | -10/+8 |
| | | | | | | atomic operation to return and adjust the stack. Submitted by: luoqi | ||||
* | - Just query 'as is', if there is a trailing dot in the name. | ume | 2006-02-24 | 2 | -18/+40 |
| | | | | | | | | | | - Don't query 'as is' twice. PR: bin/62139 Reported by: Rostislav Krasny <rosti.bsd__at__gmail.com> Tested by: Rostislav Krasny <rosti.bsd__at__gmail.com> Obtained from: BIND9 (with some modification) MFC after: 1 week | ||||
* | Eliminate a race condition in timed waits (cv, mutex, and sleeps). | deischen | 2006-02-23 | 6 | -60/+60 |
| | | | | | | MFC Candidate. PR: 93592 | ||||
* | Tell the truth about a) how to get the first fileid, and | yar | 2006-02-22 | 1 | -5/+10 |
| | | | | | | | | b) what return values from kldstat(2) can be expected. Bump .Dd. MFC after: 3 days | ||||
* | Disable POSIX SIGEV_THREAD notification support, soon we will have a common | davidxu | 2006-02-22 | 1 | -1/+0 |
| | | | | library which can be reused both for libthr and libpthread. | ||||
* | Read cycle count before sending signal, this fixes a userland thread | davidxu | 2006-02-20 | 1 | -1/+1 |
| | | | | | | suspension bug. MFC after: 3 days | ||||
* | Add utility functions for checking if a given kernel module is loaded, | des | 2006-02-18 | 4 | -2/+180 |
| | | | | and loading it. | ||||
* | - Massage wording to make it easier to understand and fix some grammar. | brd | 2006-02-16 | 1 | -4/+4 |
| | | | | | | | Submitted by: sbahra at gwu dot edu Reviewed by: ru@ Approved by: ceri@ MFC after: 3 days | ||||
* | Don't forget to initialize a tailq before using it. | deischen | 2006-02-16 | 2 | -0/+2 |
| | | | | | MFC candidate Noticed by: luoqi | ||||
* | Rework last change of pthread_once, create a function _thr_once_init to | davidxu | 2006-02-15 | 3 | -6/+10 |
| | | | | reinitialize its internal locks. | ||||
* | After fork(), reinitialize internal locks for pthread_once(). | davidxu | 2006-02-15 | 3 | -11/+15 |
| | |||||
* | Clean up some descriptions and remove ambiguities in the language. | gnn | 2006-02-14 | 2 | -97/+146 |
| | | | | | | Add explanations to the examples. MFC after: 1 week | ||||
* | Minor fixes to the code that generates an internal ustar filename | kientzle | 2006-02-14 | 1 | -21/+22 |
| | | | | for Pax extended attribute entries. | ||||
* | Extract device number information from SVR4 CPIO archives. | kientzle | 2006-02-14 | 1 | -0/+6 |
| | | | | | | | Without this, you cannot properly restore device node entries from such archives. Thanks to: Steve 'dillo Okay for reporting this oversight. | ||||
* | Remove extra slash from pty slave device name returned by ptsname. | kan | 2006-02-13 | 1 | -1/+1 |
| | |||||
* | Update copyright for 2006. | rwatson | 2006-02-11 | 1 | -1/+1 |
| | | | | MFC after: 3 days | ||||
* | The uma_zone data structure defines the size of its uz_cpu[] array as 1, | rwatson | 2006-02-11 | 1 | -2/+24 |
| | | | | | | | | | | | | | but then sizes the containing data structure at run-time to make room for per-cpu cache data. Modify libmemstat to separately allocate a buffer to hold per-cpu cache data, sized based on the run-time mp_maxid variable when using libkvm to access UMA data. This avoids reading invalid cache data from beyond the end of the uma_zone data structure on the stack, which can result in invalid statistics and/or reads from invalid kernel addresses. Foot target practice by: ps MFC after: 3 days | ||||
* | When reporting an error reading from UMA per-cpu cache pointers using KVM, | rwatson | 2006-02-11 | 1 | -4/+2 |
| | | | | | | | | return a KVM error rather than an out of memory error, so that the caller reports the KVM error state. This replaces a misleading error message with a more accurate although equally confusing one. MFC after: 3 days | ||||
* | Read all_cpus variable out of kmem, and validate CPUs against the all_cpus | rwatson | 2006-02-11 | 1 | -0/+10 |
| | | | | | | | | cpu mask before looking at the cache entries for the CPU. For systems with sparse CPU id arrays, this skips otherwise uninitialized cache structures. MFC after: 3 days | ||||
* | Correct a typo in the extraction of zone information from UMA using kmem: | rwatson | 2006-02-11 | 1 | -1/+1 |
| | | | | | | bytes = allocated - freed, not bytes = allocated = freed. MFC after: 3 days | ||||
* | Use ps_linfo to retrieve LWP info, current it is used to retrieve | davidxu | 2006-02-07 | 1 | -0/+6 |
| | | | | signal mask and pending signals. | ||||
* | Use ps_linfo to retrieve LWP info. | davidxu | 2006-02-07 | 1 | -1/+1 |
| | |||||
* | Replace ptrace syscall with ps_lgetgregs to check a LWP's existence. | davidxu | 2006-02-07 | 1 | -2/+2 |
| | |||||
* | Always clear thread info buffer to zero. | davidxu | 2006-02-06 | 2 | -0/+2 |
| | |||||
* | Now, thread name is stored in kernel, userland no longer has to keep it. | davidxu | 2006-02-05 | 3 | -7/+2 |
| | |||||
* | use syscall thr_set_name to implement pthread_set_name_np. | davidxu | 2006-02-05 | 1 | -9/+18 |
| | |||||
* | Remove spurious "union arg" from printf.h | phk | 2006-02-04 | 1 | -2/+3 |
| | | | | Make sure to always print something in the alternate time format. | ||||
* | The function isspace does not take a string argument. I have no idea how | dfr | 2006-02-04 | 1 | -3/+3 |
| | | | | this compiled before; it only worked by accident. | ||||
* | Fix calculation of the number of arenas to use on multi-processor systems. | jasone | 2006-02-04 | 1 | -1/+1 |
| | |||||
* | Add libbsm to the library build. | rwatson | 2006-02-02 | 2 | -1/+141 |
| | | | | Obtained from: TrustedBSD Project | ||||
* | Expand contractions. | joel | 2006-02-01 | 1 | -1/+1 |
| | |||||
* | Add missing 's' suffix on alternate rendition of time. | phk | 2006-01-31 | 1 | -1/+1 |
| | |||||
* | Instead of printing several pieces with .Sy just enclose the 'Note' block | harti | 2006-01-30 | 1 | -4/+6 |
| | | | | | | into a .Bf/.Ef pair. Submitted by: ru | ||||
* | - In pipe() return the error returned by pipe_create(), rather then | glebius | 2006-01-30 | 1 | -1/+3 |
| | | | | | | | | hardcoded ENFILES, which is incorrect. pipe_create() can fail due to ENOMEM. - Update manual page, describing ENOMEM return code. Reviewed by: arch | ||||
* | If the sysctl kern.pts.enable doesn't exist, check that /dev/ptmx is there, | cognet | 2006-01-29 | 1 | -2/+7 |
| | | | | | | and if so, use the pts system. Suggested by: rwatson | ||||
* | - Add a note that passing NULL to pidfile_write(), pidfile_remove() and | pjd | 2006-01-28 | 1 | -3/+13 |
| | | | | | | | pidfile_close() functions is safe. This possibility is used in example code. - Cast pid_t to int. Requested by: yar | ||||
* | The .Nm macro prints Open_Disk() instead of libdisk, so use an explicite | harti | 2006-01-27 | 1 | -2/+2 |
| | | | | argument to get 'libdisk'. Also bump the date of the man page. | ||||
* | Revert 1.45 now that snmp_hostres uses libgeom. | harti | 2006-01-27 | 2 | -0/+8 |
| | |||||
* | Remove unwarranted uses of 'goto'. | jasone | 2006-01-27 | 1 | -203/+153 |
| | |||||
* | Add NO_MALLOC_EXTRAS, so that various extra features that can cause | jasone | 2006-01-27 | 1 | -3/+16 |
| | | | | | | | | | performance degradation can be disabled via something like the following in /etc/malloc.conf: CFLAGS+=-DNO_MALLOC_EXTRAS Suggested by: deischen | ||||
* | Fix the type of a statistics counter (unsigned --> unsigned long). | jasone | 2006-01-27 | 1 | -1/+1 |
| | |||||
* | Clean up statistics gathering and printing. | jasone | 2006-01-27 | 1 | -71/+64 |
| | |||||
* | Remove debug printf. | pjd | 2006-01-26 | 1 | -1/+0 |
| | |||||
* | Optimize arena_bin_pop() to reduce the number of separator operations. | jasone | 2006-01-26 | 1 | -13/+10 |
| | | | | | | | | Remove the block of code that tries to use delayed regions in LIFO order, since from a policy perspective, it conflicts with LRU caching of newly coalesced regions in arena_undelay(). There are numerous policy alternatives, and it isn't readily obvious which (if any) is superior; this change at least has the virtue of being consistent with policy. | ||||
* | Fix an aliasing error in the new TP support and reenable it in the build. | kientzle | 2006-01-26 | 2 | -3/+5 |
| | |||||
* | Make getttyent() report what the pts ptys as well. | cognet | 2006-01-26 | 1 | -1/+38 |
| | |||||
* | ptsname() bits for pts. | cognet | 2006-01-26 | 1 | -5/+45 |
| | |||||
* | Teach openpty() how to deal with pts. | cognet | 2006-01-26 | 1 | -0/+45 |
| | |||||
* | Make the %V{is} extension handle a NULL pointer like %s does: output "(null)" | phk | 2006-01-25 | 5 | -1/+187 |
| | | | | | | | | | | | | | Add %M{essage} extension which prints an errno value as the corresponding string if possible or numerically otherwise. It is not currently possible to do the syslog(3) like %m extension because errno would need to get capatured on entry to the first function in the printf family, so %M requires you to supply errno as an argument. Add %Q{uote} extension which will print a string in double quotes with appropriate back-slash escapes (only) if necessary. |