summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated release note: em(4) 6.2.9.bmah2006-11-042-2/+2
|
* - change ABI for user trap handler for sun4v (eventually will sync sparc64 nokmacy2006-11-032-0/+7
| | | | | | hardware set up to test at the moment) Approved by: scottl (standing in for mentor rwatson)
* - map hardware trap numbers to those used by by sparc64 for inter-compatibilitykmacy2006-11-035-134/+203
| | | | | | | | | | and to make user-level trap handlers work - add new trap entry to trap table to enable fast fetching of floating point trap context - remove unused debug code - map unimplemented floating point trap to SIGFPE Approved by: scottl (standing in for mentor rwatson)
* make pcb pad area accessible from asmkmacy2006-11-031-0/+2
| | | | Approved by: scottl (standing in for rwatson as mentor)
* More 64 bit pointer fun.rrs2006-11-035-7/+7
| | | | | %p changed in multiple prints the mtod() was also fixed.
* The relocation definitions are now defined in the machine independentjb2006-11-031-84/+0
| | | | | elf_common.h so that one arch can identify relocations on another arch.
* Remove no longer existing opt_bdg.h and opt_bge.h.ru2006-11-033-3/+3
|
* Regen.ru2006-11-034-43/+4
|
* Fix build breakage introduced in previous commit (redeclatationru2006-11-031-6/+6
| | | | of sctp functions).
* Fix two of the 64bit errors on the printfs.rrs2006-11-031-4/+2
|
* Nitpicking.ru2006-11-031-2/+2
|
* Somehow I missed this one. The sys/cdef.h was outrrs2006-11-031-1/+2
| | | | of order with respect to the FSBID..
* This commits the remake in kern/ make sysent to getrrs2006-11-039-10/+61
| | | | | | | the correct syscalls.master's $FreeBSD$ tag record and a make sysent in sys/compat/freebsd32. Thanks Ruslan for pointing out the steps I missed :-0 Approved by: gnn
* Opps... in my fix up of all the $FreeBSD:$-> $FreeBSD$ Irrs2006-11-035-4/+6
| | | | | | | | | | inserted a few to the new files.. but I falied to add the #include <sys/cdef.h> Which causes a compile error.. sorry about that... got it now :-) Approved by:gnn
* Ok, here it is, we finally add SCTP to current. Note that thisrrs2006-11-0351-6/+54873
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | work is not just mine, but it is also the works of Peter Lei and Michael Tuexen. They both are my two key other developers working on the project.. and they need ata-boy's too: **** peterlei@cisco.com tuexen@fh-muenster.de **** I did do a make sysent which updated the syscall's and sysproto.. I hope that is correct... without it you don't build since we have new syscalls for SCTP :-0 So go out and look at the NOTES, add option SCTP (make sure inet and inet6 are present too) and play with SCTP. I will see about comitting some test tools I have after I figure out where I should place them. I also have a lib (libsctp.a) that adds some of the missing socketapi functions that I need to put into lib's.. I will talk to George about this :-) There may still be some 64 bit issues in here, none of us have a 64 bit processor to test with yet.. Michael may have a MAC but thats another beast too.. If you have a mac and want to use SCTP contact Michael he maintains a web site with a loadable module with this code :-) Reviewed by: gnn Approved by: gnn
* Remove the -C option as it does more harm than good. To be fullyru2006-11-032-80/+15
| | | | | | | | | | | | | | | | | | | | compatible, it would have to (at least): - support the "compat-compat" -T option, - *not* support the -l, -O, and -v options, - default to soft updates being disabled. Worse, the compatibility mode makes it impossible to mount_mfs(8) a file system from fstab(5) with soft updates disabled (-S). [1] Now, the only difference when called as "mount_mfs" or "mfs" (as opposed to "mdmfs") is that the file mode of the mount point is set by default to 01777. All options available to mdmfs(8) are also available to mount_mfs(8); the -C option is still recognized but ignored for backward compatibility. PR: bin/98860 [1] MFC after: 2 weeks
* MFp4:imp2006-11-031-43/+81
| | | | | | | | | | | | | | | | | | o Fix the packet statistics o Make sure we set the FD bit when in full duplex o Improve TX side efficency by eliminating a data copy for unfragmented mbufs (the hardware can't do s/g). o Minor busdma pedantry o better comments in some places, more XXX in others o Minor style nits. This solves a problem I was seeing where I'd get no ethernet when not booting with a NFS root. Well, unless I unplugged the cable and plugged it back in first so I'd get the same up down up messages I get for NFS root... Thanks to sam and scottl for suggestions on making this driver more efficient through better use of approrpiate APIs.
* Fix initialization sequence for consolekmacy2006-11-031-28/+32
| | | | | | Fix commenting convention slightly Approved by: rwatson (mentor) Reviewed by: jb
* make sure physmem is initializedkmacy2006-11-031-5/+14
| | | | | | add clarifying comments Reviewed by: jb Approved by: rwatson (mentor)
* Document IBM ServeRAID 8k support.brueffer2006-11-031-1/+3
|
* Add a low level function to write a string to the hypervisorjb2006-11-032-0/+17
| | | | | | console directly. Discussed with: kmacy
* Always init the console before trying to cnadd it tojb2006-11-031-2/+2
| | | | | avoid the case where the console name isn't set and cnadd wants to use printf to complain about it.
* Remove extra whitespacenjl2006-11-031-1/+0
|
* Add PCI Id for ServeRAID 8k.scottl2006-11-031-0/+2
| | | | Submitted by: Danny Braniss
* Make this compile on EFI32. The EFI_PHYSICAL_ADDRESS type is alwaysmarcel2006-11-031-1/+1
| | | | 64-bit, even when sizeof(void *) is 32-bit.
* Make sure kern_envp is never NULL. If we don't get a pointer tomarcel2006-11-031-3/+4
| | | | the environment from the loader, use the static environment.
* Properly calculate the checksum of the APIC table.marcel2006-11-031-1/+2
|
* Defer sending the bpdu from bstp_update_info as all code paths will test thisthompsa2006-11-031-1/+1
| | | | flag anyway.
* Fix some negotiation issues (like not being able to negotiate async)mjacob2006-11-021-6/+36
|
* add some missing MPT<>CAM and CAM<>MPT bogolocksmjacob2006-11-021-0/+3
|
* Add a tunable that allows one to turn off the automatic sending ofmjacob2006-11-021-16/+26
| | | | | | | | | the ORDERED tag. This recoups significant performance gains for many arrays. The default is still to send out the ORDERED tag periodically. Reviewed by: scsi (justin+timeout)
* Only use the filename part of the kernel configuration file as an argument ton_hibma2006-11-021-1/+1
| | | | | | | | | KERNCONF after the file has been copied to the sys/${ARCH}/conf directory. This allows the use of one kernel config file for multiple images. E.g.: NANO_KERNEL=../../../../software/nanobsd/default/SOEKRIS MFC: after 6.2
* Cross-reference libmemstat(3), malloc(9), uma(9).rwatson2006-11-021-4/+10
|
* Fix typo.ceri2006-11-021-1/+1
|
* Properly htole16() PSM in sockaddr_l2capemax2006-11-021-3/+3
| | | | MFC after: 3 days
* Unbreak compile with ELF_VERBOSE defined, and fix format warnings.ru2006-11-021-3/+4
|
* Use the improved m_uiotombuf() function instead of home grown sosend_copyin()andre2006-11-021-1/+29
| | | | | | | | | | | | | | | | | | to do the userland to kernel copying in sosend_generic() and sosend_dgram(). sosend_copyin() is retained for ZERO_COPY_SOCKETS which are not yet supported by m_uiotombuf(). Benchmaring shows significant improvements (95% confidence): 66% less cpu (or 2.9 times better) with new sosend vs. old sosend (non-TSO) 65% less cpu (or 2.8 times better) with new sosend vs. old sosend (TSO) (Sender AMD Opteron 852 (2.6GHz) with em(4) PCI-X-133 interface and receiver DELL Poweredge SC1425 P-IV Xeon 3.2GHz with em(4) LOM connected back to back at 1000Base-TX full duplex.) Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 3 month
* Rename m_getm() to m_getm2() and rewrite it to allocate up to page sizedandre2006-11-027-95/+99
| | | | | | | | | | | | | | mbuf clusters. Add a flags parameter to accept M_PKTHDR and M_EOR mbuf chain flags. Provide compatibility macro for m_getm() calling m_getm2() with M_PKTHDR set. Rewrite m_uiotombuf() to use m_getm2() for mbuf allocation and do the uiomove() in a tight loop over the mbuf chain. Add a flags parameter to accept mbuf flags to be passed to m_getm2(). Adjust all callers for the extra parameter. Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 3 month
* Revert the last change. Masking only 2 MSBs of the virtual addressru2006-11-025-10/+10
| | | | | | | | | | | | | to get the physical address doesn't work for all values of KVA_PAGES, while masking 8 MSBs works for all values of KVA_PAGES that are multiple of 4 for non-PAE and 8 for PAE. (This leaves us limited with 12MB for non-PAE kernels and 14MB for PAE kernels.) To get things right, we'd need to subtract the KERNBASE from the virtual address (but KERNBASE is not easy to figure out from here), or have physical addresses set properly in the ELF headers. Discussed with: jhb
* Rewrite kern_sendfile() to work in two loops, the inner which turns as manyandre2006-11-023-241/+282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | VM pages into mbufs as it can -- up to the free send socket buffer space. The outer loop then drops the whole mbuf chain into the send socket buffer, calls tcp_output() on it and then waits until 50% of the socket buffer are free again to repeat the cycle. This way tcp_output() gets the full amount of data to work with and can issue up to 64K sends for TSO to chop up in the network adapter without using any CPU cycles. Thus it gets very efficient especially with the readahead the VM and I/O system do. The previous sendfile(2) code simply looped over the file, turned each 4K page into an mbuf and sent it off. This had the effect that TSO could only generate 2 packets per send instead of up to 44 at its maximum of 64K. Add experimental SF_MNOWAIT flag to sendfile(2) to return ENOMEM instead of sleeping on mbuf allocation failures. Benchmarking shows significant improvements (95% confidence): 45% less cpu (or 1.81 times better) with new sendfile vs. old sendfile (non-TSO) 83% less cpu (or 5.7 times better) with new sendfile vs. old sendfile (TSO) (Sender AMD Opteron 852 (2.6GHz) with em(4) PCI-X-133 interface and receiver DELL Poweredge SC1425 P-IV Xeon 3.2GHz with em(4) LOM connected back to back at 1000Base-TX full duplex.) Sponsored by: TCP/IP Optimization Fundraise 2005 MFC after: 3 month
* Fix ia64 build breakage.pjd2006-11-021-0/+2
|
* Replace the SEE ALSO xrefs with a more reasonable set stolen from POSIX.ru2006-11-021-2/+7
|
* On trap while inside ddb, the trap handler calls kdb_reenter(), thatkib2006-11-021-6/+14
| | | | | | | | | | | | longjmp to the default context. As result, "alltrace" command may be prematurely terminated (without error message). This is happens, for instance, when system is low on memory and referenced page in kernel-mode thread stack is swapped out. Protect "alltrace" against termination on trap by setting temporary kdb_jmpbuf context. Submitted by: Peter Holm
* Bump .Dd for -f|-F.ceri2006-11-022-2/+2
|
* Document Elf{32,64}_Lword. Keep the list of ELF types sorted.jkoshy2006-11-021-9/+23
| | | | | Describe the contents of the 'e_shnum' and 'e_shstrndx' fields when using extended section numbering.
* - Use g_duplicate_bio() instead of g_clone_bio(), so there memory ispjd2006-11-021-5/+3
| | | | | | | | allocated with M_WAITOK flag. - Check 'buf' instead of 'error' so Prevent is not confused. CID: 1562, 1563 Found by: Coverity Prevent analysis tool
* I want CPU number here.pjd2006-11-021-1/+1
| | | | Noticed by: ru
* Do not test all the conditions if the port is already forwarding. Also print athompsa2006-11-021-3/+7
| | | | | debug message if the port is agreed as it is an important condition of the protocol.
* Fix a resource leak when the mbuf pointer changes.thompsa2006-11-021-15/+13
| | | | | CID: 1564, 1565 Found by: Coverity Prevent (tm)
* o There is no securenets(5) man page, refer to ypserv(8).maxim2006-11-021-2/+5
| | | | | Obtained from: DragonFlyBSD MFC after: 1 week
OpenPOWER on IntegriCloud