summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename the macros for assertion flags passed to sx_assert() from SX_* tojhb2007-05-193-35/+40
| | | | | | | SA_* to match mutexes and rwlocks. The old flags still exist for backwards compatiblity. Requested by: attilio
* In kern_sendfile() adjust byte accounting of the file sending loop toandre2007-05-191-13/+37
| | | | | | | | | | | | | | | | | | | | | | ignore the size of any headers that were passed with the sendfile(2) system call. Otherwise the file sent will be truncated by the header size if the nbytes parameter was provided. The bug doesn't show up when either nbytes is zero, meaning send the whole file, or no header iovec is provided. Resolve a potential error aliasing of errors from the VM and sf_buf parts and the protocol send parts where an error of the latter over- writes one of the former. Update comments. The byte accounting bug wasn't seen in earlier because none of the popular sendfile(2) consumers, Apache, lighttpd and our ftpd(8) use it in modes that trigger it. The varnish HTTP proxy makes full use of it and exposed the problem. Bug found by: phk Tested by: phk
* Revision 1.576 removed too much. I didn't notice because my /usr is ondes2007-05-191-0/+2
| | | | ZFS, which doesn't support flags...
* Document sx_xholder().jhb2007-05-192-0/+13
|
* Expose sx_xholder() as a public macro. It returns a pointer to the threadjhb2007-05-192-8/+8
| | | | | | | that holds the current exclusive lock, or NULL if no thread holds an exclusive lock. Requested by: pjd
* Add a few sentences of caution for Microsoft Vista users who mightbmah2007-05-191-0/+6
| | | | | | | want to try resizing partitions. Based on text that was... Submitted by: Michel Talon MFC after: 3 days
* Oops, didn't include SX_ADAPTIVESPIN in the list of valid flags for thejhb2007-05-191-1/+1
| | | | | | assert in sx_init_flags(). Submitted by: attilio
* Fix GCC warning: va = va += PAGE_SIZE contains pointless operationmarcel2007-05-191-2/+2
| | | | va = va. Fix white space in nearby lines.
* Use LDADD to add -lgcc to the end of linker command line. Using LDFLAGSkan2007-05-191-1/+2
| | | | puts it before library's object files, making the whole constuct useless.
* Document SX_RECURSE flag.jhb2007-05-191-0/+3
|
* Add a new SX_RECURSE flag to make support for recursive exclusive locksjhb2007-05-192-2/+9
| | | | | | | conditional. By default, sx(9) locks are back to not supporting recursive exclusive locks. Submitted by: attilio
* Use __mcount() instead of _mcount() to reduce diffs with NetBSD.cognet2007-05-193-5/+5
|
* Fix the fallout from over-zealous obsolete files removal. Use correctkan2007-05-191-1/+1
| | | | atomicity.h file for arm and powerpc.
* This commit was generated by cvs2svn to compensate for changes in r169765,mux2007-05-191-1/+1
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Fix a typo that caused the #undef directive to not actually undefinemux2007-05-191-1/+1
| | | | | | | | | | | | | | the correct symbol, thus causing a warning with GCC 4.2.0. Committed into the vendor branch since this is already in the csup repository. Reported by: kan (ages ago)
* | Constify to please gcc 4.2.cognet2007-05-191-1/+1
| |
* | Do not try to inline pmap_kremove(), as it's exported.cognet2007-05-191-1/+1
| |
* | Fix randomly broken playback with Fortemedia FM801 XWave PCI soundcard.joel2007-05-191-8/+9
| | | | | | | | | | | | PR: kern/98898 Submitted by: Johannes Weiner <hnazfoo@googlemail.com> Approved by: ariff
* | Do not try to inline bus_dmamap_sync_buf(), gcc 4.2 doesn't want to do socognet2007-05-191-2/+2
| | | | | | | | | | because it uses alloca(). Initialize lastaddr in bus_dmamap_load_uio().
* | Add a level of indirection to the kernel PTE table. The oldmarcel2007-05-193-45/+77
| | | | | | | | | | | | | | | | | | scheme allowed for 1024 PTE pages, each containing 256 PTEs. This yielded 2GB of KVA. This is not enough to boot a kernel on a 16GB box and in general too low for a 64-bit machine. By adding a level of indirection we now have 1024 2nd-level directory pages, each capable of supporting 2GB of KVA. This brings the grand total to 2TB of KVA.
* | Mention gcc 4.2.0 import.delphij2007-05-191-1/+1
| |
* | Bump __FreeBSDversion to 700042 to indicate that gcc 4.2 wasdelphij2007-05-191-1/+1
| | | | | | | | imported to the base system.
* | Account for the fact that contigmalloc(9) can return a NULL pointer.marcel2007-05-191-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix the flags argument: M_WAITOK is not a valid flag. Its presence leaves the indication that contigmalloc(9) will not return a NULL pointer. The use of contigmalloc(9) in this place is probably not a good idea given the constraints. It's probably better to lift the constraints and instead add a permanent mapping to the ITR. It's possible that the first 256MB of memory is exhausted when we get here. This fixes a kernel panic on a 16GB rx3600.
* | Switch the kernel's pmap domain from 15 to 0.cognet2007-05-192-4/+4
| | | | | | | | | | This should be a no-op, and this is needed for xscale core 3 supersections support, as they are always part of the domain 0
* | New release notes:brueffer2007-05-191-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - axe(4) altq support - INCLUDE_CONFIG_FILE improvements - ng_car added - sa -U and -P flags Modified release notes: - hptiop(4) manpage reference added - twa(4) updated to 3.70.03.007 Removed release notes: - lastcomm -X, change whas been backed out
* | Turn off the AK452X De-emphasis filter for 44.1KHz. This should fix somejoel2007-05-192-2/+2
| | | | | | | | | | | | | | | | | | sound quality problems. PR: kern/112688 Submitted by: Stefan Ehmann <shoesoft@gmx.net> Reviewed by: Konstantin Dimitrov <kosio.dimitrov@gmail.com> Approved by: ariff
* | Fix detection of PC-9821 V166 internal sound card.joel2007-05-191-1/+1
| | | | | | | | | | | | PR: kern/105600 Submitted by: rotus <rotus@takamanohara.dyndns.org> Approved by: ariff
* | Minor update to version 3.70.03.007scottl2007-05-192-2/+2
| |
* | Compare the partner system priority when choosing the aggregator.thompsa2007-05-192-1/+11
| |
* | Work-around for upgrading from a pre-symbol-versioned world.scottl2007-05-191-0/+1
| | | | | | | | Blame-to: cperciva
* | Implement the Marker Protocol. A marker frame is placed on the interface queuethompsa2007-05-192-32/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | of each port and any further packets are blocked, when the all the marker frames have been returned to us from the remote network device then we can be sure that all interface queues are empty. This is needed when a port is added or removed from the aggregation since it will affect the hash based distribution, if the queues are not empty then a packet from an existing connection may be placed on a different interface and arrive out of order. This was previously achieved by suppressing transmission for 1 second, now that there is an active feedback this timeout as been increased to 3 seconds and used as a fallback.
* | o Fix typo: firwalling -> firewalling.maxim2007-05-191-1/+1
| | | | | | | | | | | | PR: docs/112776 Submitted by: asmodai MFC after: 1 week
* | Cosmetics: remove extra space from GCC version string.kan2007-05-191-1/+1
| |
* | Do not compile hash_compat.c.kan2007-05-191-1/+1
| |
* | Check return value of m_pullup() in firewire_input().rwatson2007-05-191-0/+2
| | | | | | | | | | CID: 2105 Found with: Coverity Prevent(tm)
* | Don't forget to free a string allocated by strdup where necessary.cperciva2007-05-191-2/+9
| | | | | | | | | | Found by: Coverity Prevent Coverity ID: CID 3132
* | Tweak inlining parameters a little. Add warning to tell us if functionkan2007-05-192-2/+4
| | | | | | | | we declared as inline can not be inlined.
* | Remove extern struct pcpu __pcpu[]; from the header file andkan2007-05-192-2/+2
| | | | | | | | move it the the only file where it appears to be used.
* | Include machine/pcb.hto turn extern struct pcb stoppcbs[]; constructkan2007-05-193-0/+3
| | | | | | | | into the valid C.
* | Remove local static redefinition of ucom_devclass.kan2007-05-191-2/+0
| |
* | Make sure libc is installed before all other shared libraries. Otherkan2007-05-191-3/+4
| | | | | | | | libraries might depend on versioned symbols from libc.
* | Add kern.arnd sysctl. SSP code uses it to initialize the stack guardkan2007-05-192-1/+14
| | | | | | | | | | | | magic value. Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
* | Disable -Werror for now.kan2007-05-192-4/+4
| | | | | | | | Remove -I- construct obsolete in GCC 4.2.
* | Add -Wno-pointer-sign to CWARNFLAGS.kan2007-05-191-2/+2
| | | | | | | | | | | | Switch ia64 kernels to -fpic. This is likely wrong, but at least gets ia64 kernels to compile and link with GCC 4.2. The previous -mno-sdata trick is not working anymore.
* | Introduce WITHOUT_SSP option that allows users to exclude LGPLedkan2007-05-192-0/+3
| | | | | | | | libssp from the build.
* | Universally disable -Werror until src/ is in better shape for GCC 4.2.kan2007-05-191-0/+4
| | | | | | | | | | | | | | There are new warnings that kill the build otherwise. Disable pointer destination sign mismatch warning alltogether. Our tree is in no shape to have that enabled yet.
* | Use built-in _end symbol insteadof 'end' for consistency with otherkan2007-05-191-2/+2
| | | | | | | | architectures. Linker defines end is synonym for _end.
* | Do not declare float_detect_tininess as external if it will be re-delaredkan2007-05-191-0/+2
| | | | | | | | as static later.
* | Make sure GCC will not try to link libc with itself.kan2007-05-191-0/+5
| |
* | Follow NetBSD, OpenBSD and DragonfyBSD project and add BSD-licensedkan2007-05-193-1/+124
| | | | | | | | | | SSP functions into FreeBSD libc. Use the same file name and location for consistency with other projects.
OpenPOWER on IntegriCloud