- 03 Jun, 2004 2 commits
-
-
Andrew Morton authored
- Off-by-one in balance_pgdat means that we're not scanning the zones all the way down to priority=0. - Always set zone->temp_priority in shrink_caches(). I'm not sure why I had the `if (zone->free_pages < zone->pages_high)' test in there, but it's preventing us from setting ->prev_priority correctly on the try_to_free_pages() path. - Set zone->prev_priority to the current priority if it's currently a "lower" priority. This allows us to build up the pressure on mapped pages on the first scanning pass rather than only on successive passes. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
Writing to ramfs files with O_SYNC dereferences null in mpage_writepages(), due to null a_ops->writepage. The call path is generic_file_aio_write_nolock ->generic_osync_inode ->write_inode_now ->__writeback_single_inode ->__sync_single_inode ->do_writepages ->mpage_writepages The best fix for this is to visit all ram-backed filesystems and give them a no-op a_ops.writepages. But baling out if the file is memory-backed is a sufficient coverall and is how we handle this in __filemap_fdatawrite(). Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 02 Jun, 2004 33 commits
-
-
Bartlomiej Zolnierkiewicz authored
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
It only gives (not mapped in case of MMIO) DMA base addresses. The same info is given during driver initialization (if BM-DMA is used) or can be obtained from 'lspci -v' output (if MMIO-DMA is used). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
per jgarzik's suggestion Define it in <asm/ide.h> if ide_default_io_base(), ide_default_irq() and ide_init_default_irq() are needed. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
They are identical (modulo infamous PC9800 stuff). Acked by Andi. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
Also print the same warning as on m68k on other archs too. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
From: "Brian Lazara" <blazara@nvidia.com> Add device IDs for new nForce IDE and SATA controllers. Rename some of the existing controller names to correctly match released product names. Acked by Vojtech. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
While at it add DECLARE_AMD_DEV() and DECLARE_NV_DEV() macros (ala piix.h:DECLARE_PIIX_DEV() added by jgarzik). Acked by Vojtech. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
- convert ->isa_ports into ->flags (IDEPCI_FLAG_ISA_PORTS) - add IDEPCI_FLAG_{OBS_FORCE_PDC,FORCE_MASTER} flags and use them in setup-pci.c - use struct pci_dev ->vendor and ->device fields directly in generic.c and serverworks.c - remove no longer needed debug checks (dev->device != d->device) - remove ->vendor and ->device fields from ide_pci_device_t - misc cleanups Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
Extracted from the Debian kernel package. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Bartlomiej Zolnierkiewicz authored
From: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://kernel.bkbits.net/davem/sparc-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://gkernel.bkbits.net/libata-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://gkernel.bkbits.net/net-drivers-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Arjan van de Ven authored
-
Jeff Garzik authored
When taskfile delivery is improved, we will actually perform this command, instead of no-oping it. For now, this is cosmetic except for removing an annoying message that some users see.
-
Jeff Garzik authored
The ->tf_load and ->exec_command driver hooks were changed to assume that PIO was the only type of taskfile ever delivered to these functions. This will be true... in the future, but not today. In other drivers this change was not needed, but Promise executes commands differently due to its "ATA packet" hardware features, so the Promise drivers need this change reverted. Diagnosis and initial fix by Brad Campbell <brad@wasp.net.au>
-
Jeff Garzik authored
into redhat.com:/spare/repo/net-drivers-2.6
-
Krzysztof Halasa authored
The attached patch updates generic HDLC: - fixed some carrier-related problems (Cisco HDLC and FR links could report valid link when no carrier was detected at startup). - fixed kbuild problems with wanxl firmware (building kernel in separate tree). $(src)/wanxlfw.inc is now wanxlfw.inc_shipped.
-
Paul Mackerras authored
Jeff Garzik writes: > So what was the resolution of this? This patch is what we want. We don't in fact need to do the read lock, only the write lock, which is what the original patch did. However, we need to do it in ppp_synctty.c as well as ppp_async.c. Thanks to John K Luebs <jkluebs@luebsphoto.com> for pointing out the problem. Signed-off-by: Paul Mackerras <paulus@samba.org>
-
Jeff Garzik authored
Revert CONFIG_NET_GIGE change. The proper fix is _not_ NET_ETHERNET or default twiddling, but better overall organization of the ethernet driver selection, which would include not only CONFIG_NET_GIGE but other options as well. Reverted back to old behavior until a full and complete solution appears (and people like it, of course).
-
Margit Schubert-While authored
* islpci_eth.[c,h], islpci_dev.[c,h], isl_ioctl.[c,h] : added support for avs header in monitor mode. Based on the work of Antonio Eugenio Burriel <aeb@ryanstudios.com>. Unified packets header (rfmon_header and rx_annex) for iwspy.
-
Margit Schubert-While authored
* islpci_eth.c, islpci_dev.h, isl_ioctl.c : iwspy support.
-
Margit Schubert-While authored
* islpci_eth.[c,h] islpci_dev.[c,h] : reset card on tx_timeout. Patch submited by Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
-
Margit Schubert-While authored
* oid_mgt.[c,h] : added type to oids. New functions : oid_cpu_to_le(), mgt_le_to_cpu() and mgt_response_to_str(). * isl_ioctl.c : use private sub-ioctls. Added a bunch of private sub-ioctls. Removed the le??_to_cpu and cpu_to_le??. Give the error code when sending wireless events.
-
Margit Schubert-While authored
* Remove CVS tags from source
-
Herbert Xu authored
I received a bug report that a PLIP interface was incorrectly identified as wireless because plip_ioctl did not check what the value of cmd is before processing the request. This patch fixes exactly that.
-
David S. Miller authored
-
Tom 'spot' Callaway authored
-
Christoph Hellwig authored
-
David S. Miller authored
-
Jeremy Kerr authored
Fix a race identified by Jeremy Kerr <jeremy@redfishsoftware.com.au>: if update_process_times() decides to deliver a signal due to process timer expiry, it can race with __exit_sighand()'s freeing of task->sighand. Fix that by clearing the per-process timer state in exit_notify(), while under local_irq_disable() and under tasklist_lock. tasklist_lock provides exclusion wrt release_task()'s freeing of task->sighand and local_irq_disable() provides exclusion wrt update_process_times()'s inspection of the per-process timer state. We also need to deal with the send_sig() calls in do_process_times() by setting rlim_cur to RLIM_INFINITY. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://linux-ntfs.bkbits.net/ntfs-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
- 01 Jun, 2004 2 commits
-
-
Anton Altaparmakov authored
into cantab.net:/home/src/ntfs-2.6
-
bk://bk.skbuff.net:20607/linux-2.6-ipstatsDavid S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
- 02 Jun, 2004 3 commits
-
-
Hideaki Yoshifuji authored
-
Hideaki Yoshifuji authored
-
Hideaki Yoshifuji authored
-