- 16 Oct, 2002 1 commit
-
-
Patrick Mochel authored
There are races WRT walking the lists of the buses and classes and the device being unregistered while it's the current node we're accessing. If the node was deleted, ->next would point to itself, and we'd sit in an inifinite loop (until that memory was freed from underneath us and we Oops'd). This changes device_unregister() to only mark the device as not present. put_device() deletes the device from all the lists it belongs to, while holding device_lock, then drops it to call device_del(). This should guarantee that everything in the device is valid until the last reference goes away, regardless of whether it's still physically present or not.
-
- 15 Oct, 2002 12 commits
-
-
Linus Torvalds authored
-
David Howells authored
Here's a patch to add an Andrew File System (AFS) driver to the kernel. Currently it only provides read-only, uncached, non-automounted and unsecured support.
-
David Howells authored
This adds RxRPC support to Linux for use by the AFS filesystem
-
David Hinds authored
Someone adding tests for failed kmalloc's (which is fine in itself) did so in a way that would leave some PCMCIA data structures in inconsistent states... and also introduced a fatal bug affecting PCMCIA memory cards even when there are no kmalloc failures.
-
Linus Torvalds authored
-
Dipankar Sarma authored
This is the RCU core patch from akpm's tree. It has been in his tree since about 2.5.37-mm1 along with dcache_rcu and so far it has worked fine. For 2.5, I am hoping that we might get the following RCU patches included - 1. rt_rcu - ipv4 routecache lookup. Davem agreed to include this patch if and when you include RCU core in your tree. 2. dcache_rcu (by Maneesh Soni) - dcache lookup avoiding dcache_lock as much as possible. This has been akpm's tree - stable and gives us good yield. I have been submitting this to Viro and I will publish some more benchmark numbers later to help decide on this. This RCU core implements RCU APIs, call_rcu() and synchronize_kernel(), by monitoring a per-CPU quiescent state (idle/user etc.) counter. call_rcu() queues a callback to be invoked after all the CPUs have gone through a quiescent state. Queuing is per-CPU and each per-CPU batch gets a batch number. As batches get their turn, a global cpu mask is used to keep track of CPUs pending quiescent state. Checking for quiescent cycle is done by saving the per-CPU counter at the beginning of the batch and then monitoring it for change through the local timer interrupt handler.
-
Martin J. Bligh authored
Adds a raw_phys_apicid array that maps from the mps cpu number to the apicid - this is needed because the apicids for Summit can be larger than 32, and thus won't fit into the bitmap. Also adds little wrappers to map neatly between the two. Bumps up MAX_APICS for Summit.
-
Martin J. Bligh authored
Adds detection for summit machines from the MPS tables. Prints a handy-dandy debug message telling you what kind of twisted machine the kernel thinks you have.
-
Martin J. Bligh authored
This one sets up the apic broadcast id (the maximum allowable apic address) properly for whichever platform. It also abstracts out check_apicid_used, because that check doesn't work on Summit. Oh, and I bumped up MAX_IO_APICS, but only for NUMA x86 platforms.
-
Martin J. Bligh authored
This puts the DFR (desination format register) value into a #define, and calculates the LDR (logical desitination register) correctly dependant on platform. Similarly for TARGET_CPUS.
-
Martin J. Bligh authored
This just adds the config option for summit, and it's Config.help entry, puts the hooks for the new mach_apic.h subarch file into the right places, and creates empty shells of the header files.
-
http://linux-sound.bkbits.net/linux-soundLinus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
- 16 Oct, 2002 1 commit
-
-
Jaroslav Kysela authored
- fixed returned structure in ctl_read/write
-
- 15 Oct, 2002 26 commits
-
-
Jaroslav Kysela authored
- fixed compilation of ioctl32 from David S. Miller
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Trond Myklebust authored
This patch defines a new switch in fs/Config.in - CONFIG_NFS_V4: enables nfsv4 client
-
Trond Myklebust authored
Now that all the hooks are in place, this large patch imports all of the new code for the NFSv4 client. nfs4proc.c - procedure vectors nfs4xdr.c - XDR nfs4state.c - state bookkeeping (very minimal for now) nfs4renewd.c - a daemon (implemented as an rpc_task) to keep state from expiring on the server Note: The RPCSEC_GSS authentication code is not yet included here. For the moment we make do with AUTH_UNIX aka. AUTH_SYS. Neither is the code to do upcalls to userland in order to do uid/gid <-> name mappings. Instead, stubs have been added to translate everything to 'nobody:nobody' == '-2:-2'
-
Trond Myklebust authored
Define the new NFSv4 data structure for passing user information from the 'mount' program in nfs4_mount.h. If CONFIG_NFS_V4 is defined Add code to parse the mount structure into the superblock. Declare the NFSv4 filesystem to the VFS.
-
Trond Myklebust authored
Further cleanups Separate the static and dynamic filesystem data retrieval calls as per the NFSv3 spec. This also simplifies things for NFSv4, since many of the attributes in the fsinfo+fstat combined call are not mandatory to implement.
-
Trond Myklebust authored
Clean up nfs_fill_super(). Separate the parsing of the nfs_mount_data struct and the initialization + sanity checking of the resulting super_block. The latter is now performed in the new function nfs_sb_init().
-
Art Haas authored
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Gerd Knorr authored
It is just a missing include, fixed thus..
-
bk://are.twiddle.net/axp-2.5Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Randy Dunlap authored
Updates/corrects Documentation/kernel-parameters.txt file.
-
Peter Chubb authored
Yes it's a GCC optimiser bug. I'm surprised I didn't see it: I tried a whole heap of different compilers on that code, and had problems only on the earlier similar code in raid0_run(). I didn't try redhat's compilers (I run debian) but didn't expect the behaviour to be that different. Anyway, please apply this patch (which also fixes the chunk overlap problems).
-
Tim Wright authored
there was a bug in fysnc_buffers_list() in 2.4 (fixed in 2.4.19) that could cause the function to return without having written the current contents of all the buffers. Obviously, this could be bad for anybody relying on ordering using O_SYNC or fsync(). If an I/O was already in flight for a particular bh at the time of the call to fsync_buffers_list(), ll_rw_block() will not initiate a new I/O even though the contents may have changed. It is therefore necessary to wait before the call. Here's a patch against 2.5.42 that applies the same fix.
-
-
Linus Torvalds authored
into home.transmeta.com:/home/torvalds/v2.5/linux
-
Doug Ledford authored
Rename queue_depth to current_queue_depth so that: A) we represent the true purpose of the variable B) we catch anyone using it wrongly
-
Doug Ledford authored
This patch for dpt_i2o fixes TCQ stuff, but doesn't solve DMA mapping issues (so it still doesn't work, but it's not because of TCQ). Getting around to fixing DMA mapping API issues is much more work per driver than the TCQ stuff, so I'm putting it off until later. dpti.h: Update template dpt_i2o.c: Update to new TCQ scheme
-
Doug Ledford authored
aic7xxx_linux_host.h: Update host template aic7xxx_linux.c: Update to new TCQ scheme
-
Doug Ledford authored
linit.c: Update to use slave_attach
-
Doug Ledford authored
eata.h: Update template eata.c: Add slave_attach and new TCQ method
-
Doug Ledford authored
qla1280.h: Update device template qla1280.c: Update to use slave_attach for setting queue depth
-
Doug Ledford authored
advansys.h: Update host template to include slave_attach advansys.c: Update to use slave_attach instead of select_queue_depths
-
Doug Ledford authored
drivers/scsi/esp.c: Fix the build. scsi.h: Add struct list_head items for future (but soon) use hosts.h: Remove select_queue_depths from host struct, add struct list stuff for proper list linking of host structs hosts.c: Don't touch select_queue_depths any longer
-
Doug Ledford authored
ips.h: Since we now have proper tagged depth setting, make the cmd_per_lun value reasonable for untagged devices like it is suppossed to be.
-