summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Implement rt_sigpending in the linuxolator.netchild2006-05-105-4/+32
| | | | | PR: 92671 Submitted by: Markus Niemist"o <markus.niemisto@gmx.net>
* Move the call to cpu_setup() before the call to vm_ksubmap_init().cognet2006-05-101-1/+1
| | | | | | | | | vm_ksubmap_init() calls pmap_copy_page(), which uses the mini data cache to do the copy, but we're running uncaching before cpu_setup(). For some reason it hasn't been a problem so far, but it is for the PXA255. Spotted out by: benno
* Use better order here.pjd2006-05-101-1/+1
|
* make tinderbox happy: GENERIC got ath and wlan added so we need tosam2006-05-101-0/+6
| | | | now mark these "nodevice" or we'll get undefined references
* Fix LINSYSFS in the platform options files that I missed from the platformambrisko2006-05-103-0/+3
| | | | split out change.
* Bring the call to softdep_releasefile() within the region protected bytegge2006-05-091-3/+7
| | | | | vn_start_secondary_write() since it might cause file system write activity (e.g. ffs_snapremove()).
* Add in linsysfs. A linux 2.6 like sys filesystem to pacify the Linuxambrisko2006-05-0910-0/+314
| | | | | | | LSI MegaRAID SAS utility. Sponsored by: IronPort Systems Man page help from: brueffer
* It seems I forgot to commit the removal of the linux and linprocfsnetchild2006-05-091-2/+0
| | | | | | modules at the time I axed the linuxolator on Alpha. Noticed by: kris
* Fix build (s:pc98/cbus/cbus.h:pc98/pc98/pc98_machdep.h:)nyan2006-05-091-1/+1
| | | | Pointyhat to: nyan
* Use wakeup_one to avoid thundering herd.davidxu2006-05-091-6/+6
| | | | Tested by: kris
* Use a dedicated mutex to protect aio queues, the movation is to reducedavidxu2006-05-091-51/+69
| | | | lock contention with other parts.
* replace all the 660 with 650 in the cut-n-pasted line, rather thanimp2006-05-081-1/+1
| | | | | | just some of them. Noticed by: brooks
* Another NEW MEDIA .WAVjammer.imp2006-05-081-0/+1
|
* Add (back) the D-Link DE-650. Not sure why it was deleted.imp2006-05-081-0/+1
|
* The D-Link DE-650 that I got in the last bulk PC Card purchase needs animp2006-05-081-0/+1
| | | | entry. Add it (back).
* quiet tindexbox complaints about passing BUS_SPACE_MAXADDR assam2006-05-082-2/+2
| | | | | | | | a bus_size_t to bus_dma_tag_create; when PAE is enabled this does not work Cluebat by: scottl MFC after: 2 weeks
* Remove the Alpha specific linuxolator files.netchild2006-05-0813-3478/+0
|
* Remove unneeded include.nyan2006-05-084-6/+0
|
* - Move defines for PC-98 machine type from pc98/cbus/cbus.h intonyan2006-05-082-29/+17
| | | | | | pc98/pc98/pc98_machdep.h. - Fix PC98_SYSTEM_PARAMETER_SIZE. - Remove unused defines.
* Add the ath and the wlan crypto support.nyan2006-05-083-0/+24
|
* fix braino that broke building on amd64sam2006-05-081-2/+7
| | | | | Submitted by: Pascal Hofstee MFC after: 2 weeks
* Call vn_finished_write() before calling the coredump handler which willtegge2006-05-071-1/+1
| | | | indirectly call vn_start_write() as necessary for each write.
* o Add acpi_ibm to the build.maxim2006-05-071-0/+3
| | | | | PR: kern/96940 Submitted by: Rong-En Fan
* - change the example of compiling only specific modules to not containnetchild2006-05-0713-50/+16
| | | | | | | | | | | | | | | | | | | | | | | | the linux module, since it is not cross-platform - move linprocfs from "files" and "options" to architecture specific files, since it only makes sense to build this for those architectures, where we also have a linuxolator - disable the build of the linuxolator on our tier-2 architecture "Alpha": * we don't have a linux_base port which supports Alpha and at the same time is not outdated/obsoleted upstream/in a good condition/ currently working * the upcomming new default linux base port is based upon Fedora Core 3 (security support via http://www.fedoralegacy.org), which isn't available for Alpha (like the current default linux base port which is based upon Red Hat 8) * nobody answered my request for testing it ~1 month ago on current@ and alpha@ (it doesn't surprises me, see above) * a SoC student wouldn't have to waste time on something which nobody is willing to test This does not remove the alpha specific MD files of the linuxolator yet. Discussed on: arch (mostly silence) Spiritual support by: scottl
* Don't attach special devices in the order they appear in the AML tree.njl2006-05-072-18/+26
| | | | | | | | | | | | | | | | | | If the embedded controller exists before the sysresource devices, for example, it will be attached first. Instead, let the normal device order function work as we first desired. [1] There still remained a problem where we couldn't allocate resources in acpi0 that were passed up by the sysresource pseudo-devices. These devices had to probe/attach first to give their resources to acpi, then acpi would allocate them before probing/attaching other devices. To work around this, we attach them from acpi_sysres_alloc(). A better approach would be to implement multi-pass probe/attach in newbus but that's a much bigger task. Suggested by: jhb [1] Hardware from: Centaur Technologies MFC after: 1 week
* Pickup locks for the BPF interface structure. It's quite possible thatcsjp2006-05-071-0/+2
| | | | | | | bpf(4) descriptors can be added and removed on this interface while we are processing stats. MFC after: 2 weeks
* force type coercion for bus tag+handle when calling ath_hal_attachsam2006-05-061-1/+2
| | | | | | | | to ensure we match the type signature; we cannot assume HAL_BUS_TAG and HAL_BUS_HANDLE correspond to bus_space_tag_t and bus_space_handle_t (should probably do this for HAL_SOFTC too but leave that for now) MFC after: 1 month
* fix build on sparcsam2006-05-061-0/+1
| | | | MFC after: 1 month
* ffs_syncvnode() might skip some of the blocks due to them being locked,tegge2006-05-061-0/+46
| | | | | | | | | | | | assuming them to be inflight write buffers. This is not always the case. bufdaemon might hold the buffer lock and give up writing the buffer due to it having dependencies, the file system being suspended or the vnode lock being held by another thread. When bufdaemon decides to write the buffer there is still a window before bufobj_wref() has been called, allowing other threads to believe that the vnode has no dirty buffers or inflight writes. Try harder to flush first block of new subdirectory to get rid of MKDIR_BODY dependency.
* Forgot the amd/linux32 part since sys/*/linux didn't match :-(ambrisko2006-05-061-0/+6
| | | | Pointed out by: Alexander (thanks)
* Modify UDP to use sosend_dgram() instead of sosend(). This allowsrwatson2006-05-061-0/+1
| | | | | | | | | | | for signicantly optimized UDP socket I/O when using a single UDP socket from many threads or processes that share it, by avoiding significant locking and other overhead in the general sosend() path that isn't necessary for simple datagram sockets. Specifically, this change results in a significant performance improvement for threaded name service in BIND9 under load. Suggested by: Jinmei_Tatsuya at isc dot org
* Return error if vnode was reclaimed while it was temporarily unlocked.tegge2006-05-051-1/+11
| | | | Add missing calls to vn_finished_write() in error handling.
* Temporarily unlock vnode for new image being executed to avoid lock ordertegge2006-05-051-0/+6
| | | | | reversals that can lead to deadlocks. Normally vn_close(), namei() or vrele() should not be called while holding vnode locks.
* Turn off disk quotas for snapshot files.tegge2006-05-052-0/+38
|
* Avoid locking overhead when snapshots are disabled.tegge2006-05-051-0/+4
|
* Avoid dereferencing NULL pointer.tegge2006-05-051-1/+3
|
* Setting the rid of the resource is a good idea, but we still need to returncognet2006-05-051-0/+1
| | | | the resource after.
* Check for VFS_STATFS() failure in _xfs_mount() and abort the mountkeramida2006-05-051-2/+1
| | | | | | | | on errors. Found by: Coverity Prevent Approved by: rodrigc, Russell Cattelan MFC after: 4 weeks
* Fix a snafu caused while patching the previous fix from another branch.mohans2006-05-051-1/+0
|
* Fix for a NFS/TCP client bug which would cause the NFS/TCP stream to getmohans2006-05-051-0/+31
| | | | | out of sync under heavy loads, forcing frequent reconnets, causing EBADRPC errors etc.
* Fix the the duplicate cut-n-paste in linux_fstat64 pointed out byambrisko2006-05-051-1/+0
| | | | Alexander Leidinger. I forget to fix it in this version.
* Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy.ambrisko2006-05-057-17/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add back in a scheme to emulate old type major/minor numbers via hooks into stat, linprocfs to return major/minors that Linux app's expect. Currently only /dev/null is always registered. Drivers can register via the Linux type shim similar to the ioctl shim but by using linux_device_register_handler/linux_device_unregister_handler functions. The structure is: struct linux_device_handler { char *bsd_driver_name; char *linux_driver_name; char *bsd_device_name; char *linux_device_name; int linux_major; int linux_minor; int linux_char_device; }; Linprocfs uses this to display the major number of the driver. The soon to be available linsysfs will use it to fill in the driver name. Linux_stat uses it to translate the major/minor into Linux type values. Note major numbers are dynamically assigned via passing in a -1 for the major number so we don't need to keep track of them. This is somewhat needed due to us switching to our devfs. MegaCli will not run until I add in the linsysfs and mfi Linux compat changes. Sponsored by: IronPort Systems
* Remove hand-rolled cross-build glue. Normal cross-build infrastructurescottl2006-05-051-8/+0
| | | | in FreeBSD likely supports this without any extra work.
* - Set bio_done directly to NULL to indicate that we want to wait for the bio.pjd2006-05-051-5/+2
| | | | | | - Use biowait() instead of copying the code. MFC after: 1 month
* Make sure the ip data pointer is correct before touching it againbz2006-05-051-0/+1
| | | | | | | | after ipsec4_output processing else KAME IPSec using the handbook configuration with gif(4) will panic the kernel. Problem reported by: t. patterson <tp lot.org> Tested by: t. patterson <tp lot.org>
* Only return (tw) from tcp_twclose() if reuse is passed, otherwiserwatson2006-05-051-1/+1
| | | | | | | | | | return NULL. In principle this shouldn't change the behavior, but avoids returning a potentially invalid/inappropriate pointer to the caller. Found with: Coverity Prevent (tm) Submitted by: pjd MFC after: 3 months
* /tmp/cvsTXPIwQpjd2006-05-051-0/+1
|
* AH_REGOPS_FUNC is needed for sparcsam2006-05-051-0/+1
| | | | MFC after: 2 weeks
* correct typesam2006-05-051-1/+1
| | | | MFC after: 2 weeks
* Assert ip6_forward_rt protected by Giant adding GIANT_REQUIRED tobz2006-05-042-0/+6
| | | | | | | | functions not yet asserting it but working on global ip6_forward_rt route cache which is not locked and perhaps should go away in the future though cache hit/miss ration wasn't bad. It's #if 0ed in frag6 because the code working on ip6_forward_rt is.
OpenPOWER on IntegriCloud