summaryrefslogtreecommitdiff
path: root/include/linux
AgeCommit message (Collapse)Author
2002-12-29Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5Kai Germaschewski
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
2002-12-29[PATCH] more module warning fixesChristoph Hellwig
this is only for the module-related warning introduced by my __deprecated patch.
2002-12-29[PATCH] Trivial patch for param.h: make it const.Richard Henderson
Add a const declaration to the __module_param_call so __param section gets more correct attributes.
2002-12-29[PATCH] Embed __this_module in module itself.Rusty Russell
Rather than have the module loader the module structure and resolve the symbols __this_module to it, make __this_module a real structure inside the module, using the linkonce trick we used for module names. This saves us an allocation (saving a page per module on archs which need the module structure close by), and means we don't have to fill in a few module fields.
2002-12-29[PATCH] avoid deprecated module functions in core codeChristoph Hellwig
A second start at removing them from kernel/*.c and fs/*.c. Note that module_put is fine for a NULL argument.
2002-12-29[PATCH] more deprectation bitsChristoph Hellwig
Rename the deprecated attribute to __deprecated to make it obvious this is something special and to avoid namespace clashes. Mark old module interfaces deprecated.
2002-12-29[PATCH] fix "deprecated" typosRandy Dunlap
This corrects the misspellings of "deprecated" in a few places.
2002-12-28[PATCH] Simplify ramfs_getattr() and move it to the generic libfs.cHirofumi Ogawa
This moves ramfs_getattr() to fs/libfs.c as simple_getattr()
2002-12-28[PATCH] mark check_region "deprecated"William Stinson
This marks check_region "deprecated". This gives a nice warning messages for programs that still use check_region for example: drivers/parport/parport_pc.c:2215: warning: `__check_region' is deprecated (declared at include/linux/ioport.h:111)
2002-12-28[PATCH] deprecated function attributeRobert Love
This patch adds support for usage of the attribute as "deprecated" and is backward-compatible. Usage is: int deprecated foo(void) etc.. If we mark a function as deprecated, then each use of the function emits a warning like: foo.c:12: warning: `baz' is deprecated (declared at bar.c:60) Which is very informative, giving both the location of each usage and where the little bastard is declared.
2002-12-27Merge bk://are.twiddle.net/tga-2.5Linus Torvalds
into home.transmeta.com:/home/torvalds/v2.5/linux
2002-12-27[PATCH] Mac/m68k Nubus updatesGeert Uytterhoeven
Mac/m68k Nubus updates (from Ray Knight in 2.4.x) - Add missing Nubus devices.
2002-12-27Get rid of atari-specific "ide_intr_lock" from generic IDE codeLinus Torvalds
2002-12-27Merge bk://linuxusb.bkbits.net/linus-2.5Linus Torvalds
into home.transmeta.com:/home/torvalds/v2.5/linux
2002-12-27[PATCH] USB: use the driver model to handle reference counting of struct ↵Greg Kroah-Hartman
usb_device
2002-12-27[PATCH] USB: rename usb_free_dev() to usb_put_dev()Greg Kroah-Hartman
This was done to make the next reference count patch easier, and because almost everyone was already calling usb_put_dev() anyway...
2002-12-27Cset exclude: rth@are.twiddle.net|ChangeSet|20021227230408|33498Richard Henderson
2002-12-26[FB] fb_blank is an fbops hook, not a standalone function.Richard Henderson
2002-12-26Merge kroah.com:/home/linux/linux/BK/bleeding-2.5Greg Kroah-Hartman
into kroah.com:/home/linux/linux/BK/gregkh-2.5
2002-12-26[PATCH] USB: remove private_data pointer from struct usb_interface, as it ↵Greg Kroah-Hartman
shouldn't be used anymore Also added usb_get_intfdata() and usb_set_intfdata() functions to set the struct usb_interface private pointer easier.
2002-12-26[PATCH] usbcore dma updates (and doc)David Brownell
Attached is a patch leveraging some of the new generic dma stuff: - Replaces dma mapping calls in usbcore with generic equivalents. This is a minor code shrink (which we'd hoped could happen). - Pass dma mask along, so net drivers can notice it'd be good to set NETIF_F_HIGHDMA; or scsi ones can set highmem_io. (Some Intel EHCI setups are able to support this kind of DMA.) - Updates one net driver (usbnet) to set NETIF_F_HIGHDMA when appropriate, mostly as an example (since I can't test this). - Provides Documentation/usb/dma.txt, describing current APIs. (Unchanged by this patch, except dma mask visibility.) - Converted another info() to dev_info(), and likewise a couple dbg() to dev_dbg() conversions in the modified routine. The number of FIXMEs was conserved: the generic API doesn't yet fix the error reporting bugs in the PCI-specific mapping API.
2002-12-25[FB] Fix minor typos wrt readq/writeq support on 64-bit targets.Richard Henderson
2002-12-26Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5Kai Germaschewski
into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
2002-12-25[PATCH] amd756 and amd8111 sensors supportPavel Machek
Add support for amd756 and amd8111 sensors
2002-12-25kbuild: Stem compression for kallsymsAndi Kleen
This patch implements simple stem compression for the kallsyms symbol table. Each symbol has as first byte a count on how many characters are identical to the previous symbol. This compresses the often common repetive prefixes (like subsys_) fairly effectively. On a fairly full featured monolithic i386 kernel this saves about 60k in the kallsyms symbol table. The changes are very simple, so the 60k are not shabby. One visible change is that the caller of kallsyms_lookup has to pass in a buffer now, because it has to be modified. I added an arbitary 127 character limit to it. Still >210k left in the symbol table unfortunately. Another idea would be to delta encode the addresses in 16bits (functions are all likely to be smaller than 64K). This would especially help on 64bit hosts. Not done yet, however. No, before someone asks, I don't want to use zlib for that. Far too fragile during an oops and overkill too and it would require to link it into all kernels.
2002-12-22Merge nuts.ninka.net:/home/davem/src/BK/sctp-2.5David S. Miller
into nuts.ninka.net:/home/davem/src/BK/net-2.5
2002-12-22Merge nuts.ninka.net:/home/davem/src/BK/network-2.5David S. Miller
into nuts.ninka.net:/home/davem/src/BK/net-2.5
2002-12-22Merge http://linux-lksctp.bkbits.net/lksctp-2.5David S. Miller
into nuts.ninka.net:/home/davem/src/BK/sctp-2.5
2002-12-21Merge http://linux-voyager.bkbits.net/dma-generic-mapping-2.5Linus Torvalds
into home.transmeta.com:/home/torvalds/v2.5/linux
2002-12-21remove PCI_NEW_DMA_COMPAT_APIJames Bottomley
use a #include mechanism for generic implementations of the pci_ API in terms of the dma_ one
2002-12-21Merge kroah.com:/home/linux/linux/BK/bleeding-2.5Greg Kroah-Hartman
into kroah.com:/home/linux/linux/BK/gregkh-2.5
2002-12-21[PATCH] dev_printk macroJames Keniston
2002-12-21allow pci primary busses to have parents in the device modelJames Bottomley
2002-12-21generic device DMA APIJames Bottomley
add dma_ API to mirror pci_ DMA API but phrased to use struct device instead of struct pci_dev. See Documentation/DMA-API.txt for details
2002-12-21[PATCH] remove unused macro MAP_ALIGN()Andrew Morton
Patch from Christoph Hellwig <hch@lst.de> remove unused macro MAP_ALIGN()
2002-12-21[PATCH] remove memclass()Andrew Morton
From hch. Nothing is using the memclass() predicate.
2002-12-21[PATCH] ext2/3 commentary and cleanupAndrew Morton
- Add some (much-needed) commentary to the ext2/ext3 block allocator state fields. - Remove the SEARCH_FROM_ZERO debug code. I wrote that to trigger some race and it hasn't been used in a year.
2002-12-21[PATCH] Give kswapd writeback higher priority than pdflushAndrew Morton
The `low latency page reclaim' design works by preventing page allocators from blocking on request queues (and by preventing them from blocking against writeback of individual pages, but that is immaterial here). This has a problem under some situations. pdflush (or a write(2) caller) could be saturating the queue with highmem pages. This prevents anyone from writing back ZONE_NORMAL pages. We end up doing enormous amounts of scenning. A test case is to mmap(MAP_SHARED) almost all of a 4G machine's memory, then kill the mmapping applications. The machine instantly goes from 0% of memory dirty to 95% or more. pdflush kicks in and starts writing the least-recently-dirtied pages, which are all highmem. The queue is congested so nobody will write back ZONE_NORMAL pages. kswapd chews 50% of the CPU scanning past dirty ZONE_NORMAL pages and page reclaim efficiency (pages_reclaimed/pages_scanned) falls to 2%. So this patch changes the policy for kswapd. kswapd may use all of a request queue, and is prepared to block on request queues. What will now happen in the above scenario is: 1: The page alloctor scans some pages, fails to reclaim enough memory and takes a nap in blk_congetion_wait(). 2: kswapd() will scan the ZONE_NORMAL LRU and will start writing back pages. (These pages will be rotated to the tail of the inactive list at IO-completion interrupt time). This writeback will saturate the queue with ZONE_NORMAL pages. Conveniently, pdflush will avoid the congested queues. So we end up writing the correct pages. In this test, kswapd CPU utilisation falls from 50% to 2%, page reclaim efficiency rises from 2% to 40% and things are generally a lot happier. The downside is that kswapd may now do a lot less page reclaim, increasing page allocation latency, causing more direct reclaim, increasing lock contention in the VM, etc. But I have not been able to demonstrate that in testing. The other problem is that there is only one kswapd, and there are lots of disks. That is a generic problem - without being able to co-opt user processes we don't have enough threads to keep lots of disks saturated. One fix for this would be to add an additional "really congested" threshold in the request queues, so kswapd can still perform nonblocking writeout. This gives kswapd priority over pdflush while allowing kswapd to feed many disk queues. I doubt if this will be called for.
2002-12-21[PATCH] Remove PF_NOWARNAndrew Morton
We keep getting in a mess with the current->flags setting and unsetting. Remove current->flags:PF_NOWARN and create __GFP_NOWARN instead.
2002-12-20Make NFS compile even without NFS_V4 supportLinus Torvalds
2002-12-20[BONDING]: Update to version 2.4.20-20021210.Chad N. Tindel
2002-12-20Merge clashes between the req_offset() and the XDR cleanupsLinus Torvalds
2002-12-20[PATCH] cleanup: simplify req_offset function in NFS clientChuck Lever
Description: everywhere the NFS client uses the req_offset() function today, it adds req->wb_offset to the result. this patch simply makes "+req->wb_offset" a part of the req_offset() function. Test status: Passes all Connectathon '02 tests with v2, v3, UDP and TCP. Passes NFS torture tests on an x86 UP highmem system.
2002-12-20[PATCH] Add some v850 elf constantsMiles Bader
These are used for the new in-kernel module loader (actually not all the relocation types are used right now, but are included for completeness). Only the EM_CYGNUS_V850 macro, which is in a global namespace, is added to <linux/elf.h>; the relocation types, which are private to the v850, are added to <asm-v850/elf.h>. [Perhaps some other archs can do a similar split, to reduce the bloat in <linux/elf.h>]
2002-12-20[PATCH] Fix CPU bitmask truncationWilliam Lee Irwin III
Fix task->cpus_allowed bitmask truncations on 64.bit architectures. Originally by Bjorn Helgaas for 2.4.x.
2002-12-20Merge master.kernel.org:/home/hch/BK/xfs/linux-2.5Linus Torvalds
into home.transmeta.com:/home/torvalds/v2.5/linux
2002-12-20[XFS] "merge" the 2.4 fsx fix for block size < page size to 2.5. This neededRussell Cattelan
major changes to actually fit. SGI Modid: 2.5.x-xfs:slinx:132210a
2002-12-20[PATCH] Patch for affs: pr_debug() usageRandy Dunlap
pr_debug() is defined to print using KERN_DEBUG already, so uses of it don't need to repeat KERN_DEBUG.
2002-12-20[PATCH] Support for NFSv4 READ + WRITE attribute cache consistencyTrond Myklebust
Retrieve the post-operation attribute changes for NFSv4 READ and WRITE operations. Unlike for NFSv2 and NFSv3, we do not retrieve the full set of file attributes. The main reason for this is that interpreting attributes is a much heavier task on NFSv4 (requiring, for instance, translation of file owner names into uids ...). Hence For a READ request, we retrieve only the 'change attribute' (for cache consistency checking) and the atime. For a WRITE request, we retrieve the 'change attribute' and the file size. In addition, we retrieve the value of the change attribute prior to the write operation, in order to be able to do weak cache consistency checking.
2002-12-20[PATCH] Clean up NFSv4 WRITE xdr pathTrond Myklebust
The following patch creates a clean XDR path for the NFSv4 write requests instead of routing through encode_compound()/decode_compound().