summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Extend the td_thrinfo_t to include siginfo for the signal that stoppedkib2010-07-046-3/+71
| | | | | | | | | | | | | | the target. Take care of ABI. Suggested by: davidxu MFC after: 2 weeks
* | Extend ptrace(PT_LWPINFO) to report siginfo for the signal that causedkib2010-07-044-13/+74
| | | | | | | | | | | | | | debugee stop. The change should keep the ABI. Take care of compat32. Discussed with: davidxu, jhb MFC after: 2 weeks
* | Constify source argument for siginfo_to_siginfo32().kib2010-07-042-2/+2
| | | | | | | | MFC after: 1 week
* | Reimplement vm_object_page_clean(), using the fact that vm object memqkib2010-07-043-191/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | is ordered by page index. This greatly simplifies the implementation, since we no longer need to mark the pages with VPO_CLEANCHK to denote the progress. It is enough to remember the current position by index before dropping the object lock. Remove VPO_CLEANCHK and VM_PAGER_IGNORE_CLEANCHK as unused. Garbage-collect vm.msync_flush_flags sysctl. Suggested and reviewed by: alc Tested by: pho
* | Introduce a helper function vm_page_find_least(). Use it in several places,kib2010-07-044-21/+29
| | | | | | | | | | | | | | | | which inline the function. Reviewed by: alc Tested by: pho MFC after: 1 week
* | Use ISO C99 integer types instead of the BSD-specific u_int*_t.brucec2010-07-043-29/+29
| | | | | | | | Approved by: rrs (mentor)
* | Add a safety-belt. If the identified disk has 0 blocks, don't attachimp2010-07-041-3/+8
| | | | | | | | | | | | | | it. This can happen in some cases when plugging in SD/SmartCard PC Cards with empty slots. It is better to detect this bogosity, and refuse to attach rather than panic with a division by zero (in one of many places) down stream.
* | Minor formatting nits.imp2010-07-041-2/+2
| |
* | sysctlbyname() returns -1 on error and sets errno. It doesmarcel2010-07-031-10/+8
| | | | | | | | not return the error itself.
* | Allocate and setup an interrupt vector for corrected machine checks.marcel2010-07-033-0/+37
| | | | | | | | | | For now, just print when we get the interrupt, but eventually we need to collect the details and provide a more useful report.
* | Add a missing conditional. We should not bind the PIC interrupt unlessnwhitehorn2010-07-031-1/+2
| | | | | | | | | | | | the interrupt's PIC (a) exists and (b) is the root PIC. Reported by: Andreas Tobler
* | Improve the comment and man page for vm_page_alloc(). Specifically,alc2010-07-032-23/+35
| | | | | | | | | | | | | | | | document one of the optional flags; clarify which of the flags are optional (and which are not), and remove mention of a restriction on the reclamation of cached pages that no longer holds since version 7. MFC after: 1 week
* | Hook the siftr.4 man page up to the build and alphabetically sort siis into itslstewart2010-07-031-1/+2
| | | | | | | | | | | | | | correct place whilst there. Sponsored by: FreeBSD Foundation Submitted by: pluknet <pluknet at gmail dot com>
* | Add ata(4) ability to limit initial ATA mode for devices via device hints.mav2010-07-033-3/+61
| | | | | | | | | | | | | | After boot this mode can be changed with atacontrol/camcontrol as usual. It works for both legacy and ATA_CAM wrapper mode. PR: kern/123980
* | This fixes a crash in SCTP. It was possible to have arrs2010-07-031-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | large number of packets queued to a crashing process. In a specific case you may get 2 ABORT's back (from say two packets in flight). If the aborts happened to be processed at the same time its possible to have one free the association while the other is trying to report all the outbound packets. When this occured it could lead to a crash. MFC after: 3 days
* | Import the Statistical Information For TCP Research (SIFTR) kernel module intolstewart2010-07-034-0/+2333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FreeBSD. SIFTR logs a range of statistics on active TCP connections to a log file, providing the ability to make highly granular measurements of TCP connection state. The tool is aimed at system administrators, developers and researchers alike. Please take it for a spin and test it out - the man page should have all the information required to get you going. Many thanks go to the Cisco University Research Program Fund at Community Foundation Silicon Valley and the FreeBSD Foundation. Their support of our work at the Centre for Advanced Internet Architectures, Swinburne University of Technology is greatly appreciated. Sponsored by: Cisco URP, FreeBSD Foundation Reviewed by: dwmalone, gnn, rpaulo Tested by: Many on freebsd-current@ and elsewhere over the years MFC after: 1 month
* | sh: Use $PWD instead of getcwd() for the \w and \W prompt expansions.jilles2010-07-021-12/+11
| | | | | | | | | | | | This ensures that the logical working directory (which may include symlinks) is shown and is similar to the default behaviour of the pwd builtin.
* | sh: Remove comment that the comma operator is missing in arithmeticjilles2010-07-021-1/+1
| | | | | | | | | | | | | | | | expansion. The comma operator is not listed in POSIX.1-2008 XCU 1.1.2.1 Arithmetic Precision and Operations (referenced by XCU 2.6.4 Arithmetic Expansion) and is therefore not required.
* | Push down the acquisition of the page queues lock intoalc2010-07-021-3/+2
| | | | | | | | | | vm_pageout_page_stats(). In particular, avoid acquiring the page queues lock unless iterating over the active queue.
* | Use vm_page_prev() instead of vm_page_lookup() in the implementation ofalc2010-07-021-10/+12
| | | | | | | | | | vm_fault()'s automatic delete-behind heuristic. vm_page_prev() is typically faster.
* | Revert r209638. After commit, there appeared to be more people who likedmav2010-07-022-4/+4
| | | | | | | | previous name of stray interrupt counters, then responded to the list.
* | Use vm_page_next() instead of vm_page_lookup() in exec_map_first_page()alc2010-07-021-1/+1
| | | | | | | | because vm_page_next() is faster.
* | With the demise of page coloring, the page queue macros no longer serve anyalc2010-07-024-29/+16
| | | | | | | | | | | | useful purpose. Eliminate them. Reviewed by: kib
* | Add support for XLS 108 chips - update board.c/board.h to setup GMACjchandra2010-07-022-2/+11
| | | | | | | | | | | | | | driver parameters correctly. Approved by: rrs (mentor) Obtained from: Sriram Gorti <srgorti@netlogicmicro.com>
* | Remove save/restore of PageMask in tlb.c functions introduced in r209243.jchandra2010-07-022-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | If we save/restore the PageMask, the value set by the bootloader will persist, and will cause problems later in TLB exception handler. This caused a crash in AR71xx boards. Also fixes the EntryHi mask in pte.h Reported by: Luiz Otavio O Souza <lists.br@gmail.com> Tested by: Luiz Otavio O Souza <lists.br@gmail.com> Approved by: rrs (mentor)
* | Fix a bug that WILL cause a panic. Basicallyrrs2010-07-021-2/+2
| | | | | | | | | | | | | | | | | | | | a read-lock is being called to check the vtag-timewait cache. Then in two cases (where a vtag is bad i.e. in the time-wait state) the write-unlock is called NOT the read-unlock. Under conditions where lots of associations are coming and going this will cause the system to panic at some point. MFC after: 3 days
* | <machine/intr.h> removed on powerpc.marcel2010-07-021-0/+4
| |
* | Remove the unneeded header <machine/intr.h>.marcel2010-07-0211-90/+0
| |
* | Make stray irq counters have format alike to other counters. Unified formatmav2010-07-012-4/+4
| | | | | | | | makes string processing (for example by `systat -vm`) easier.
* | Add new source to the loadable em build, thoughtjfv2010-07-011-1/+2
| | | | | | | | it wasnt needed but it is.
* | - Introduce IEEE80211_KEY_NOREPLAY, a per-key flag to ignore replaybschmidt2010-07-014-17/+41
| | | | | | | | | | | | | | | | violations. - Use SIOCGIFMEDIA to determine VAP's opmode, cache it and set IEEE80211_KEY_NOREPLAY for AHDEMO and IBSS. Approved by: rpaulo (mentor)
* | Allow attimer to be hinted at ISA if not reported by ISA PNP or ACPI.mav2010-07-012-7/+12
| | | | | | | | Rephrase respective atrtc code same way to be more readable.
* | Rework r209456:mav2010-07-012-2/+4
| | | | | | | | | | Instead of using fake rid (which ISA doesn't like), delete untrusted IRQ resource and let it be recreated.
* | The struct ipfw_rule_ref follows the struct m_tag. Deal with thisglebius2010-07-011-4/+5
| | | | | | | | | | | | correctly. This fixes breakage of ng_ipfw(4) in r201527. Submitted by: Alexander Zagrebin <alexz visp.ru>
* | If the A flag is supplied, http_request() will attempt the request onlydes2010-07-011-2/+4
| | | | | | | | | | | | | | | | | | | | | | once, even if authentication is required, instead of retrying with the proper credentials. Fix this by bumping the countdown if the origin or proxy server requests authentication so that the initial unauthenticated request does not count as an attempt. PR: 148087 Submitted by: Tom Evans <tevans.uk@googlemail.com> MFC after: 2 weeks
* | Correct explanation for idle and standby subcommands' -t argument.mav2010-07-011-5/+7
| |
* | o Add taras@.maxim2010-07-011-0/+6
| | | | | | | | Submitted by: taras
* | Fix buildkevlo2010-07-011-1/+0
| |
* | MFia64:marcel2010-07-011-1/+1
| | | | | | | | | | When compiling with profiling, we define PROF for userspace and GPROF for the kernel.
* | Simplify the calculation of s_scale by rewriting the FP expression tomarcel2010-07-011-20/+5
| | | | | | | | | | | | | | | | | | use uintmax_t instead of float and thereby eliminating the need for a non-FP version. Tested on: amd64, ia64 & powerpc (book-E) Suggested by: bde MFC after: 1 month
* | Adds `Dell Truemobile 1300' to the supported list.weongyo2010-07-011-1/+2
| | | | | | | | Submitted by: Warren Block <wblock at wonkity.com>
* | When compiling with profiling, we define PROF for userspace and GPROFmarcel2010-07-011-1/+1
| | | | | | | | for the kernel.
* | While functions are ideally aligned to a 32-byte boundary, don'tmarcel2010-06-301-1/+1
| | | | | | | | assume this to be the case.
* | OK, I was a bit sleep this morning and checked injfv2010-06-3013-77/+1945
| | | | | | | | | | | | | | | | the core changes but left out the shared code, lol. Well, and a couple fixes to the core... hopefully this will all be complete now. Happy happy joy joy :)
* | - Don't assign the return value from read(2) to a variable of typejh2010-06-301-6/+8
| | | | | | | | | | | | | | | | | | | | int. - Use errx(3) instead of err(3) to print the error message on short reads in readlabel(). errno won't be set on short reads which can easily occur here due to the fixed size read request. PR: 144307 Reviewed by: bde
* | Move prototypes for kern_sigtimedwait() and kern_sigprocmask() tojhb2010-06-3015-4/+19
| | | | | | | | <sys/syscallsubr.h> where all other kern_<syscall> prototypes live.
* | Update comment for tdsignal() -> tdsendsignal() rename. Forgot to includejhb2010-06-301-1/+1
| | | | | | | | this in 209592.
* | SR-IOV support added to igbjfv2010-06-302-171/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | What this provides is support for the 'virtual function' interface that a FreeBSD VM may be assigned from a host like KVM on Linux, or newer versions of Xen with such support. When the guest is set up with the capability, a special limited function 82576 PCI device is present in its virtual PCI space, so with this driver installed in the guest that device will be detected and function nearly like the bare metal, as it were. The interface is only allowed a single queue in this configuration however initial performance tests have looked very good. Enjoy!!
* | Simplify entry to vm_pageout_clean(). Expect the page to be locked.alc2010-06-301-8/+4
| | | | | | | | | | | | | | | | | | Previously, the caller unlocked the page, and vm_pageout_clean() immediately reacquired the page lock. Also, assert rather than test that the page is neither busy nor held. Since vm_pageout_clean() is called with the object and page locked, the page can't have changed state since the caller verified that the page is neither busy nor held.
* | Left out header change in last delta - new memberjfv2010-06-301-0/+1
| | | | | | | | | | in adapter so that advertise changes can be done to one port without the other changing.
OpenPOWER on IntegriCloud