summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update spkrtest(8) to use new dialog auto-sizing syntax.nwhitehorn2011-01-131-1/+1
|
* Use a blocking malloc() to initialize the dummynet taskq.jhb2011-01-131-1/+1
| | | | Reviewed by: luigi
* If an interrupt on an I/O APIC is moved to a different CPU after it hasjhb2011-01-133-14/+8
| | | | | | | | | | | started to execute, it seems that the corresponding ISR bit in the "old" local APIC can be cleared. This causes the local APIC interrupt routine to fail to find an interrupt to service. Rather than panic'ing in this case, simply return from the interrupt without sending an EOI to the local APIC. If there are any other pending interrupts in other ISR registers, the local APIC will assert a new interrupt. Tested by: steve
* Use auto-sizing syntax appropriate for the new dialog(1). This shouldnwhitehorn2011-01-131-1/+1
| | | | probably be modified to use libdialog.
* Documents OUTPUT formats. While I'm here cleans up styles and words.weongyo2011-01-131-11/+66
| | | | Reviewed by: brueffer@
* Embed a quota error message (C string) into uprintf() fmt.pluknet2011-01-131-13/+13
| | | | | | While here, fix whitespaces. Approved by: kib (mentor)
* Support for 64 bit PTEs on n32 and n64 compilation.jchandra2011-01-1311-120/+159
| | | | | | | | | | | | | | | | | | | | In n32 and n64, add support for physical address above 4GB by having 64 bit page table entries and physical addresses. Major changes are: - param.h: update PTE sizes, masks and shift values to support 64 bit PTEs. - param.h: remove DELAY(), mips_btop(same as atop), mips_ptob (same as ptoa), and reformat. - param.h: remove casting to unsigned long in trunc_page and round_page since this will be used on physical addresses. - _types.h: have 64 bit __vm_paddr_t for n32. - pte.h: update TLB LO0/1 access macros to support 64 bit PTE - pte.h: assembly macros for PTE operations. - proc.h: md_upte is now 64 bit for n32 and n64. - exception.S and swtch.S: use the new PTE macros for PTE operations. - cpufunc.h: TLB_LO0/1 registers are 64bit for n32 and n64. - xlr_machdep.c: Add memory segments above 4GB to phys_avail[] as they are supported now. Reviewed by: jmallett (earlier version)
* - Add a locked variant of jme_start() and invoke it directly while holdingjhb2011-01-132-25/+22
| | | | | | | | | | | the lock instead of queueing it to a task. - Do not invoke jme_rxintr() to reclaim any unprocessed but received packets when shutting down the interface. Instead, just drop these packets to match the behavior of other drivers. - Hold the driver lock in the interrupt handler to avoid races with ioctl requests to down the interface. Reviewed by: yongari
* Introduce two new helper macros to define the priority ranges used forjhb2011-01-131-16/+25
| | | | | | | | interactive timeshare threads (PRI_*_INTERACTIVE) and non-interactive timeshare threads (PRI_*_BATCH) and use these instead of PRI_*_REALTIME and PRI_*_TIMESHARE. No functional change. Reviewed by: jeff
* Use software interrupt priorities for USB kthreads instead of hardwarejhb2011-01-131-2/+4
| | | | | | | interrupt priorities. Reviewed by: hps MFC after: 2 weeks
* Forgot to remove unlock of the driver lock from age_start_locked() whenjhb2011-01-131-2/+0
| | | | | | converting it to a locked variant. PR: kern/153948
* Cleanup physical address and PTE types on MIPS.jchandra2011-01-135-47/+41
| | | | | | | | | | | | | | | | | | | 1. Use vm_paddr_t for physical addresses. There are a few places in the MIPS platform code where vm_offset_t is used for physical addresses, change these to use vm_paddr_t: - phys_avail[], physmem_desc[] arrays - pmap_mapdev(), page_is_managed(), is_cacheable_mem() pmap_map() args - local variables of various pmap functions 2. Change init_pte_prot() return from int to pt_entry_t, as this can be 64 bit when using 64 bit TLB entries. 3. Update printing of pt_entry_t and of vm_paddr_t to use 'j' format with uintmax_t. This will be useful later if we plan to use 64bit phsical addr on 32 bit n32 compilation. Reviewed by: imp
* o Somehow I revert Dd macro in the previous commit.maxim2011-01-131-1/+1
| | | | Re-revert it.
* o Start each sentence on a new line. No content changes.maxim2011-01-131-19/+25
| | | | | Suggested by: jhb MFC after: 1 week
* o Typo fixes.maxim2011-01-131-2/+2
| | | | | | PR: docs/153933 Submitted by: jpaetzel@, Warren Block MFC after: 1 week
* Fix handling of NX pages on capable CPUs. Thanks to kib for prodding menwhitehorn2011-01-133-11/+12
| | | | in the right direction.
* Revert to using bus_size_t for the bounce_zone's alignment member.mdf2011-01-131-3/+10
| | | | Reuqested by: jhb
* In the experimental NFS server, when converting an open-owner to a lock-owner,zack2011-01-121-1/+1
| | | | | | | start at sequence id 1 instead of 0, to match up with both Solaris and Linux. Reviewed by: rmacklem Approved by: zml (mentor)
* Clean up the experimental NFS server replay cache when the module is unloaded.zack2011-01-122-3/+5
| | | | | Reviewed by: rmacklem Approved by: zml (mentor)
* Fix formatting of cross-references.brucec2011-01-121-2/+2
|
* Un-break the build: use the correct format specifier for sizeof()csjp2011-01-121-1/+1
|
* Revert cddl changes for sysctl(9) until I understand why this isn'tmdf2011-01-123-27/+27
| | | | building on universe.
* Make sure to invoke unlocked foo_start since the taskqueue does notyongari2011-01-121-1/+1
| | | | | | | hold a driver lock. This should fix a regression introduced in r216925. PR: kern/153769
* Fix a brain fart. Since this file is shared between i386 and amd64, amdf2011-01-121-3/+3
| | | | | | bus_size_t may be 32 or 64 bits. Change the bounce_zone alignment field to explicitly be 32 bits, as I can't really imagine a DMA device that needs anything close to 2GB alignment of data.
* Fix a typo. XLONG should allow pointers to unsigned and signed long.mdf2011-01-121-1/+1
| | | | Submitted by: <bf1783 AT gmail DOT com>
* Fix sorting of cross-references.brucec2011-01-121-1/+1
|
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.mdf2011-01-1213-22/+22
| | | | Commit the kernel changes.
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.mdf2011-01-122-2/+2
| | | | Commit the security directory.
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.mdf2011-01-122-12/+12
| | | | Commit the geom piece.
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.mdf2011-01-1221-100/+102
| | | | Commit the rest of the devices.
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.mdf2011-01-1211-40/+40
| | | | Commit the net* piece.
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.mdf2011-01-123-24/+24
| | | | Commit the cxgb driver piece.
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.mdf2011-01-127-23/+23
| | | | Commit the netgraph piece.
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.mdf2011-01-123-27/+27
| | | | Commit the zfs piece.
* sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.mdf2011-01-124-239/+239
| | | | Commit the Intel drivers.
* Fix wrapping of 20110103 entry.brucec2011-01-121-3/+4
|
* Fix cross-reference to gvinum(8).brucec2011-01-121-1/+1
|
* Fix several bugs in the ARP code related to improperly formattedgnn2011-01-121-1/+16
| | | | | | | | | | | | | | | packets. *) Reject requests with a protocol length not equal to 4. This is IPv4 and there is no reason to accept anything else. *) Reject packets that have a multicast source hardware address. *) Drop requests where the hardware address length is not equal to the hardware address length of the interface. Pointed out by: Rozhuk Ivan MFC after: 1 week
* Fix up the grammar.ae2011-01-121-3/+3
| | | | | PR: docs/153933 MFC after: 3 days
* Add type checking for static and dynamic sysctls using scalar types.mdf2011-01-122-50/+147
| | | | | | | | | | | | The code is turned off until the tree is fixed up so it compiles. __FreeBSD_version was already bumped once today, so skip the bump, but add an entry to UPDATING. Note that __DESCR() is used in the SYSCTL_OID() macro and so is not needed in macros that invoke it. This use was inconsistent in the file and I have made it consistent any lines already being changed. Reviewed by: bde (previous version), -arch (previous version)
* execve(2), not fork(2) resets signal handler to the default value (if it isn'tpjd2011-01-121-3/+3
| | | | | | | ignored). Correct comment talking about that. Pointed out by: kib MFC after: 3 days
* Update dialog to version 20100428. This changes the license under whichnwhitehorn2011-01-12363-1541/+61311
| | | | | | | | | | | | | dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced. __FreeBSD_version is now 900030. Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog
* Add a note that when custom signal handler is installed for a signal,pjd2011-01-121-0/+5
| | | | | | | | | signal action is restored to default in child after fork(2). In this case there is no need to do anything with dummy SIGCHLD handler, because after fork(2) it will be automatically reverted to SIG_IGN. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days
* Install default signal handlers before masking signals we want to handle.pjd2011-01-121-0/+8
| | | | | | | | | | | | | It is possible that the parent process ignores some of them and sigtimedwait() will never see them, eventhough they are masked. The most common situation for this to happen is boot process where init(8) ignores SIGHUP before starting to execute /etc/rc. This in turn caused hastd(8) to ignore SIGHUP. Reported by: trasz Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days
* Sector size can not be greater than MAXPHYS. Since GRAID3 calculatesae2011-01-122-0/+9
| | | | | | | | sector size from user-specified block size, report to user about big blocksize. PR: kern/147851 MFC after: 1 week
* The message ring interrupt needs to be enabled for all cpus, not justjchandra2011-01-121-65/+52
| | | | | | | | | | | | | the ones which run the message ring handler. Some bits of the interrupt mask are part of the status register which is saved with the process context, and these bits are initialized from the cpu on which the process is created. This means that all the processes should have the same value for these interrupt mask bits, so that the interrupt mask remains the same regardless of what thread is scheduled on the cpu. Submitted by: Sriram Gorti (srgorti at netlogicmicro dot com)
* Sector size can not be greater than MAXPHYS.ae2011-01-121-0/+4
| | | | MFC after: 1 week
* Provide up-to-date estimates that are pessimal today...imp2011-01-121-1/+2
|
* For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E),yongari2011-01-121-2/+7
| | | | | | | | | | | | | | | | | | | limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuring it to 16KB. Due to lack of documentation, re(4) didn't allow jumbo frame on these controllers. However it seems controller is confused with jumbo frame such that it can DMA the received frame to wrong address instead of splitting it into multiple RX buffers. Of course, this caused panic. Since re(4) does not support jumbo frames on these controllers, make controller drop frame that is longer than RE_RX_DESC_BUFLEN sized frame. Fortunately RTL810x controllers, which do not support jumbo frame, have no such issues but this change also limited maximum RX buffer size allowed to RTL810x controllers. Allowing 16KB RX buffer for controllers that have no such capability is meaningless. MFC after: 3 days
* A couple problems discovered by Andrew Boyer:jfv2011-01-121-3/+11
| | | | | | | | | - failure code in em_xmit got mangled along the way and was not properly handling errors. - local timer code had a leftover UNLOCK call that should be removed. MFC after 3 days
OpenPOWER on IntegriCloud