1. 29 Oct, 2002 40 commits
    • Andrew Morton's avatar
      [PATCH] tmpfs: shmem fs cleanup · 1956960b
      Andrew Morton authored
      Patch from Hugh Dickins
      
      Remove obsolete shmem_fs_type: we were in some doubt whether safe yet
      to do so, then found 2.5.4 typo changed it from 2.4's "shm" to "shmem"
      ever since: nobody complained, delete it - we're "tmpfs" since 2.4.4.
      Use libfs' simple_empty and simple_sync_file instead of homegrown.
      Remove exit_shmem_fs, it fools people that this might be a module.
      Allow for faint possibility that shm_mnt could not be initialized.
      1956960b
    • Andrew Morton's avatar
      [PATCH] tmpfs: shmem_getpage reading holes · 2671b00a
      Andrew Morton authored
      Patch from Hugh Dickins
      
      Here I intended a patch to remove the unsatisfactory shmem_recalc_inode
      (which tries to work out when vmscan has freed undirtied hole pages,
      to relax its blocks-in-use limit; but can only do so per-inode when it
      needs to be per-super).  I had hoped to use the releasepage method, but
      it looks like it can't quite be bent to this task, the page might still
      be rebusied after release.  2.4-ac uses a removepage method dedicated to
      this, but I'm reluctant to ask for such a minor address_space_operation.
      
      So, leave shmem_recalc_inode as is, but avoid the issue as much as
      possible, by letting shmem_getpage use the empty_zero_page instead of
      allocating when a hole is read (but this cannot be done when it's being
      mapped, nowadays the nopage doesn't know if page will be copied or not).
      Whereupon shmem_getpage(,,,SGP_READ) can do partial trunc's holdpage.
      2671b00a
    • Andrew Morton's avatar
      [PATCH] tmpfs: shmem_getpage beyond eof · 3c840525
      Andrew Morton authored
      Patch from Hugh Dickins
      
      The last set of tmpfs patches left shmem_getpage with an inadequate
      next_index test to guard against races with truncation.  Now remove
      that check and settle the issue with checks against i_size within
      shmem_swp_alloc, which needs to know whether reading or writing.
      3c840525
    • Andrew Morton's avatar
      [PATCH] tmpfs: shmem_getpage unlock_page · e7e27221
      Andrew Morton authored
      Patch from Hugh Dickins
      
      shmem_getpage does need to lock its page (to secure it against
      shmem_writepage), but it's easier for its callers if it unlocks
      before returning.  The only caller who appeared to be using the
      page lock was shmem_file_write, but it wasn't actually protecting
      against anything - i_sem prevents concurrent writes and truncates,
      and do_shmem_file_read was dropping the lock before copying anyway.
      e7e27221
    • Alexander Viro's avatar
      [PATCH] removal of root_dev_names[] · 51924607
      Alexander Viro authored
       - name_to_kdev_t() turned into name_to_dev_t(), callers updated.
       - table of names is gone, we use driverfs instead.
      
       - root name is converted to dev_t only at prepare_namespace() time - we
         use to do it in setup and we need it after driver initialization.  So
         setup only stores the root name and leaves the work to
         prepare_namespace().
      
       - disk names for rd and cm206 changed to match the old behaviour of
         root= parser: ramdisks have ram<n> in ->disk_name now (instead of
         rd<n>) and cm206 - cm206cd (instead of cm206).
      51924607
    • Pavel Machek's avatar
      [PATCH] swsusp updates · 82b3980b
      Pavel Machek authored
      This uses better constraints that do not go through the register
      unneccessarily.
      82b3980b
    • Pavel Machek's avatar
      [PATCH] swsusp -- small fixes · 24cc3559
      Pavel Machek authored
      Do not oops when no swapfile is available and make it compile on
      DISCONTIGMEM machines.
      24cc3559
    • Brian Gerst's avatar
      [PATCH] i386 __verify_write fixes · d7952bdd
      Brian Gerst authored
      This patch does a few cleanups/fixes with __verify_write:
       - Only compile it when needed.
       - Move test for KERNEL_DS out of line.
       - The mmap semaphore is needed to access the vma list.
       - Use fixmap for the WP test.
       - Removes an obsolete comment in fixmap.h
      d7952bdd
    • Brian Gerst's avatar
      [PATCH] remove __verify_write from sh arch · 10531a52
      Brian Gerst authored
      It was copied from i386 and is unused.
      10531a52
    • Christoph Hellwig's avatar
      83e1ce3f
    • Brian Gerst's avatar
      [PATCH] make x86 ptrace use init_fpu() · f8542e1c
      Brian Gerst authored
      This fixes PTRACE_GETFPREGS to initilize the fpu struct correctly on
      cpus with fxsr, as well as removing redundant code.
      f8542e1c
    • Alexander Viro's avatar
      [PATCH] gendisk fixes · 22dda8bf
      Alexander Viro authored
       - fixes an idiocy with floppy_find() et.al. - they forgot to set
         *part to 0.  As the result, open() on anything other than fd0 had
         lead to interesting effects...
      
       - fixes off-by-1 in set_disk_ro().
      22dda8bf
    • Linus Torvalds's avatar
      Fix up horribly wrong test in new copy-to-user() · b3caff53
      Linus Torvalds authored
      implementation. The optimized versions only work
      for large areas, make sure we don't use them for
      anything else.
      b3caff53
    • Linus Torvalds's avatar
      Fix ACPI frequency states to not play games with the · 808c016c
      Linus Torvalds authored
      configuration system, and instead just cleanly show
      the dependency.
      808c016c
    • Christoph Hellwig's avatar
      [PATCH] sanitize intel movsl selection · 51b14c76
      Christoph Hellwig authored
      The ifdef <actual cpu selection> is very bad style, we usually introduce
      feature CONFIG_ options in config.in instead.
      51b14c76
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/pci_hp-2.5 · 1d4123ec
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      1d4123ec
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/pnp-2.5 · 4a554b57
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      4a554b57
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5 · 7694db54
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/pci_hp-2.5
      7694db54
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/hirofumi · 9179a307
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      9179a307
    • Hirofumi Ogawa's avatar
      [PATCH] small cleanup of fat (3/3) · 3b26a2ed
      Hirofumi Ogawa authored
       - cleanup
       - remove unneeded mark_inode_dirty() in fat_extend_dir()
      3b26a2ed
    • Hirofumi Ogawa's avatar
      [PATCH] remove the fat_cvf stuff (2/3) · f4c4ca9d
      Hirofumi Ogawa authored
      This removes fat_cvf stuff, and adds printk() level. As far as I
      know, all the challengers gave up porting of fat_cvf.
      (This patch from Christoph Hellwig)
      f4c4ca9d
    • Hirofumi Ogawa's avatar
      [PATCH] remove the conv option of fat (1/3) · abce3154
      Hirofumi Ogawa authored
      This removes the conv option. This option does nothing, now.
      (This patch from René Scharfe)
      abce3154
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5 · e4efb4bf
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/pnp-2.5
      e4efb4bf
    • Robert Love's avatar
      [PATCH] overcommit-accounting doc fix · 56fed2f2
      Robert Love authored
      56fed2f2
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/misc-2.5 · 117dbfb1
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      117dbfb1
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/net-drivers-2.5 · 8efc48a4
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      8efc48a4
    • Linus Torvalds's avatar
      Merge http://jfs.bkbits.net/linux-2.5 · 0661c4a9
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      0661c4a9
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · d81bc5d7
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      d81bc5d7
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/crypto-2.5 · 7b742dac
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      7b742dac
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/sparc-2.5 · 23c0bc6f
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      23c0bc6f
    • Linus Torvalds's avatar
      Merge http://linux-sound.bkbits.net/linux-sound · fb796d31
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      fb796d31
    • Jaroslav Kysela's avatar
      ALSA update (0.9.0rc5) · d9c28b28
      Jaroslav Kysela authored
        - ICE1712 - fixed Midiman M-audio Delta1010LT code
        - fixed typos in comments (es1938, intel8x0)
        - fixed quirks for Edirol UA-20 and UA-700 (USB driver)
      d9c28b28
    • Jaroslav Kysela's avatar
      Merge http://linux.bkbits.net/linux-2.5 · 387d4324
      Jaroslav Kysela authored
      into suse.cz:/home/perex/bk/linux-sound/linux-sound
      387d4324
    • Jens Axboe's avatar
      [PATCH] arrange request fiels sanely · 3fddff46
      Jens Axboe authored
      Right now, various fields in struct request are just scattered
      throughout the struct. This makes for bad cache behaviour. This patch
      puts commonly referenced together fiels in the same cache lines and also
      removes the prefetches in deadline_merge(). The latter was actually
      hurting performance here now that struct request is sanely laid out wrt
      cache.
      
      This is worth ~40% less deadline_merge() runtime during disk intensive
      tests!
      3fddff46
    • Jens Axboe's avatar
      [PATCH] remember to export scsi_command_size[] · 1273c16c
      Jens Axboe authored
      Move the export to block/scsi_ioctl.c as well.
      1273c16c
    • Jens Axboe's avatar
      [PATCH] scsi_command_size[] only known when SCSI is enabled · ad7a458c
      Jens Axboe authored
      block/scsi_ioctl.c uses scsi_command_size[] to get from opcode to length
      of cdb, but that is only available with SCSI enabled. Move to
      block/scsi_ioctl.c from scsi/scsi.c.
      ad7a458c
    • Jens Axboe's avatar
      [PATCH] bad scsi merge · ad3fb438
      Jens Axboe authored
      When someone deleted scsi_merge, they also killed the fixes I sent to
      you earlier...
      ad3fb438
    • Andrew Morton's avatar
      [PATCH] much miscellany · 2e7f5efb
      Andrew Morton authored
      - add locking comments to do_mmap_pgoff(), filemap.c
      
      - used unsigned long for cpu flags in aio.c (Andi)
      
      - An x86-64 typo fix from Andi.
      
      - Fix a tpyo
      
      - Fix an unused var warning in the stack overflow check code
      
      - mptlan compile fix (Rasmus Andersen)
      
      - Update misleading comment in ia32 highmem.c
      
      - "attempting to mount an ext3 fs on a stopped md/raid1 array caused a
         divide by 0 error in ext3_fill_super.  Fix duplicates check already
         in ext2." - Angus Sawyer <angus.sawyer@dsl.pipex.com>
      
      - Someone changed the return type of inl() again! Fix up compiler
        warnings in 3c59x.c again.
      2e7f5efb
    • Andrew Morton's avatar
      [PATCH] don't invalidate pagecache after direct-IO reads · c4c95471
      Andrew Morton authored
      There's no need to take down pagecache after performing direct-IO reads
      from a file or a blockdevice.
      
      And when using direct access to a blockdev which has a filesystem
      mounted it creates unnecessary disturbance of filesystem activity.
      c4c95471
    • Andrew Morton's avatar
      [PATCH] thread-aware oom-killer · f7844601
      Andrew Morton authored
      From Ingo
      
      - performance optimization: do not kill threads in the same thread group
        as the OOM-ing thread. (it's still necessery to scan over every thread
        though, as it's possible to have CLONE_VM threads in a different thread
        group - we do not want those to escape the OOM-kill.)
      
      - to not let newly created child threads slip out of the group-kill. Note
        that the 2.4 kernel's OOM handler has the same problem, and it could be
        the reason why forkbombs occasionally slip out of the OOM kill.
      f7844601