1. 22 May, 2002 3 commits
  2. 21 May, 2002 37 commits
    • Linus Torvalds's avatar
      d8814650
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/preemption · d4c64640
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      d4c64640
    • Robert Love's avatar
      [PATCH] remove preempt_disable from pdflush · eb245678
      Robert Love authored
      It seems by the comments the statements were only there to prevent the
      thread from finding itself as TASK_RUNNING after a kernel preemption.
      Since we reverted to the original preemption behavior (which does not do
      that) it should be safe.  Looking over the code confirms - it seems to
      not be doing anything evil and is properly locked otherwise.
      eb245678
    • Pavel Machek's avatar
      [PATCH] One more fix for swsusp · ffab9e04
      Pavel Machek authored
      As andrew pointed out, it is bad idea to run_task_queue() when
      spinlock is held. This fixes it (only could be triggered by user
      pressing Magic-D). There's minor problem left where Magic-D could be
      delayed/ignored under high load. I'll either fix that or kill Magic-D
      support (with acpi, it is very easy to trigger swsusp by echo 4 >
      /proc/acpi/sleep, so magic key is probably not neccessary any more).
      ffab9e04
    • Robert Love's avatar
      [PATCH] get/put_cpu methods · 79eb6a12
      Robert Love authored
      This implements a get_cpu() and matching put_cpu() to safely hand out
      the current CPU to avoid preempt races.  Andrew and I have been bitching
      about the need for such a method.
      
      I also went ahead and replaced an example of current explicit
      preempt-off with the new methods, as a case in point.
      79eb6a12
    • Pavel Machek's avatar
      [PATCH] more suspend-to-{RAM,disk} fixes · 8e93dcc8
      Pavel Machek authored
      One more build fix, this time for !CONFIG_SOFTWARE_SUSPEND but
      CONFIG_ACPI:
      
      I've choosen this solution for now, as it is safest for ACPI people.
      I'll modify suspend.c so that freezing part can be included without
      whole suspend-to-disk support being included.
      8e93dcc8
    • Pavel Machek's avatar
      [PATCH] suspend-to-{RAM,disk} fixup · f7fd88b4
      Pavel Machek authored
      Fix compile problem with suspending diabled
      f7fd88b4
    • Pavel Machek's avatar
      [PATCH] suspend-to-{RAM,disk} · 542f96a5
      Pavel Machek authored
      Here's suspend-to-{RAM,disk} combined patch for
      2.5.17. Suspend-to-disk is pretty stable and was tested in
      2.4-ac. Suspend-to-RAM is little more experimental, but works for me,
      and is certainly better than disk-eating version currently in kernel.
      
      Major parts are: process stopper, S3 specific code, S4 specific
      code.
      542f96a5
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make-as · 79998dec
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      79998dec
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5 · 84ba3c52
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-as
      84ba3c52
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · 07d84350
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      07d84350
    • Kai Germaschewski's avatar
      kbuild: Restore build nr, improve vmlinux link · ea52ca1b
      Kai Germaschewski authored
      People relied on the build generation number to find out if they actually
      booted the right kernel, only incrementing it on config changes isn't
      enough for them. So this patch goes back to the old behavior, only done
      right this time:
      
      We now don't increment the generation number on every invocation of make, 
      but on every link of vmlinux. At the same time, this patch fixes the
      Makefile to only relink vmlinux if any of its prequisite object files
      (or the command line) changed. Incrementing the version number
      happens *after* we decided to relink vmlinux.
      ea52ca1b
    • Kai Germaschewski's avatar
      kbuild: Regenerate include/linux/version.h only if necessary · 5b281f91
      Kai Germaschewski authored
      Before overwriting version.h, check if it actually changed - otherwise
      we will unnecessarily rebuild a lot of files, as e.g. module.h depends
      on version.h, and many files include module.h
      5b281f91
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · 490f5458
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      490f5458
    • Jan-Benedict Glaw's avatar
      [PATCH] Update to srm_env.c driver (for Alpha arch.) · e0c8dbaa
      Jan-Benedict Glaw authored
      Hi Linus!
      
      Please apply this patch. It updates the srm_env.c driver (to access
      Alpha's SRM environment variables) to its current version (which is
      already included in up-to-date 2.4.x kernels).
      
      MfG, JBG
      e0c8dbaa
    • Brian Gerst's avatar
      [PATCH] remaining cpu_has cleanups · ec66b46d
      Brian Gerst authored
      This patch cleans up the remaining direct tests against x86_capability.
            It moves the cpu_has_* macros to the more appropriate
      cpufeature.h.  It also introduces the cpu_has() macro to test features
      for individual cpus.
      ec66b46d
    • Brian Gerst's avatar
      [PATCH] cpu_has_tsc · 7a1fc3a6
      Brian Gerst authored
      This patch converts drivers/char/random.c and
      drivers/input/joystick/analog.c to use the cpu_has_tsc macro.
      7a1fc3a6
    • Brian Gerst's avatar
      [PATCH] cpu_has_mmx · 9a3f1f54
      Brian Gerst authored
      This patch takes the cpu_has_mmx macro introduced in the xor.h header
      and puts it in the proper place.  It also converts the ov511 driver to
      use the new macro.
      9a3f1f54
    • Andries E. Brouwer's avatar
      [PATCH] usb-storage · eae28375
      Andries E. Brouwer authored
      Created the first of a series of usb-storage patches
      this afternoon. Please find it below or on ftp.XX.kernel.org
      under people/aeb/2.5.16-us-patch .
      It removes 5% of the usb-storage code, but should, if I made
      no mistake, not affect the behaviour of the code.
      
      (This is the introduction of raw_bulk.c to hold USB-bulk
      and scatter-gather code that was repeated three-five times
      in various drivers. The next patch is smartmedia.c.)
      eae28375
    • Greg Kroah-Hartman's avatar
      [PATCH] USB Makefile bug fix · 9d74f116
      Greg Kroah-Hartman authored
      fixed problem with UHCI_HCD drivers set to 'y' were not causing the build
      to go into the drivers/usb/host directory.
      9d74f116
    • Petko Manolov's avatar
      [PATCH] USB pegasus driver, new vendor and device id. · 1b5a7980
      Petko Manolov authored
      new vendor and device ID
      1b5a7980
    • Dave Kleikamp's avatar
      4c5378a9
    • Dave Kleikamp's avatar
      [PATCH] JFS external journal support · 425fff9f
      Dave Kleikamp authored
      Additional support for external journal.  We're basically adding uuid's
      to both the file system and the journal to tie the two together.
      425fff9f
    • Linus Torvalds's avatar
      Move check_pgt_cache() to tlb_finish_mmu(). · b24c4e67
      Linus Torvalds authored
      It should be _after_ we have flushed the TLB.
      b24c4e67
    • Kai Germaschewski's avatar
      kbuild: aic7xxx firmware build should not overwrite shipped files · b3434820
      Kai Germaschewski authored
      o Add dependencies on generated files explicitly to the
        aic7xxx Makefile - These cannot be figured out
        automatically
       
      o Rename the precompiled firmware files to 
        shipped_aic7xxx_{reg,seq}.h, so that we don't overwrite 
        shipped files when regenerating the firmware
      b3434820
    • Chris Mason's avatar
      [PATCH] reiserfs 64 bit bug in get_virtual_node_size · ea882f08
      Chris Mason authored
      This patch fixes a problem with reiserfs on 64 bit machines.  Our
      struct virtual_item is a different size there, and some calculations
      that assume otherwise lead to this panic create_virtual_node:
      
      vs-8030: create_virtual_node: virtual node space consumed
      ea882f08
    • Christoph Hellwig's avatar
      [PATCH] bfs header move around + warning fix · 70e08a38
      Christoph Hellwig authored
      (Patch has been ACKed by the bfs maintainer)
      
      Now that bfs no more is included in the big unions in fs.h it makes
      sense to move the contents of bfs_fs_i.h and bfs_fs_sb.h to a bfs-private
      location.  I've created fs/bfs/bfs.h for that, also merging in bfs_defs.h.
      
      In addition I've changed si_imap to an unsigned long pointer as the bitops
      now use that type explicitly.
      70e08a38
    • Christoph Hellwig's avatar
      [PATCH] fix sr compile warnings · 4fbda124
      Christoph Hellwig authored
      Remove an unused label and an unused variable.
      4fbda124
    • Christoph Hellwig's avatar
      [PATCH] fix bitop warnings in parallel port generic driver · 8829c752
      Christoph Hellwig authored
      pg tried to issue bitops on int, this fixes it to use an ulong instead.
      8829c752
    • Rusty Russell's avatar
      [PATCH] Tasklet cleanup · 2c6e92ad
      Rusty Russell authored
      This makes tasklet_vec and tasklet_hi_vec static inside softirq.c, and
      makes them __per_cpu_data.
      2c6e92ad
    • Rusty Russell's avatar
      [PATCH] Futex update. · facdecfa
      Rusty Russell authored
      This changes futex semantics to a simple "sleep if this address
      equals this value" interface, which is more convenient for building
      other primitives.  It also adds a timeout value.
      
      Example library can be found at:
         http://www.kernel.org/pub/linux/kernel/people/rusty/futex-2.0.tar.gz
      facdecfa
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · da320c63
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      da320c63
    • Christoph Hellwig's avatar
      [PATCH] buffermem_pages removal (5/5) · 978364b9
      Christoph Hellwig authored
      No more users of buffermem_pages are left, remove it.
      While at it also remove some orphaned externs around it in swap.h
      978364b9
    • Christoph Hellwig's avatar
      [PATCH] buffermem_pages removal (4/5) · 71e6cd0a
      Christoph Hellwig authored
      This is the most discussion-worthy patch of the series:  Change the
      meaning of si_meminfo->bufferram from "all pages in pagecache
      backed by block devices" to "all pages in pagecache".
      
      In the header/manpage is is documented as "Memory used by buffers",
      but as the buffercache is gone I think the new meaning fits the
      intention from pre-pagecache days much better.
      71e6cd0a
    • Christoph Hellwig's avatar
      [PATCH] buffermem_pages removal (3/5) · 628d1558
      Christoph Hellwig authored
      This one is a bit more controveral as it may break stupid userlevel
      programs:  remove the 'Buffers' field from /proc/meminfo and make
      the Cached field show the full pagecache size instead of subtracting
      the block-device backed pages.
      
      All /proc/meminfo-using programs I have (free, top) still work fine.
      628d1558
    • Christoph Hellwig's avatar
      [PATCH] buffermem_pages removal (2/5) · 44777687
      Christoph Hellwig authored
      Remove buffermem_pages showing from sgi serial code (debug only).
      44777687
    • Christoph Hellwig's avatar
      [PATCH] buffermem_pages removal (1/5) · e95bd965
      Christoph Hellwig authored
      With all work done by akpm in 2.5 Linus no more has a buffer cache
      in the traditional sense.  Still we try to keep estimates about
      what would be the buffer cache size by keeping the number of pages
      indexed by block device inodes.  This is broken not only because the
      old buffercache was also used for file data which is nowdays not
      hashed to block device inodes and thus makes every user of this data
      assume wrong numbers.  Second is is possible to use block device
      pages not through the buffer_head interface (i.e. userspace
      block device nodes, possibly JFS also soon).  In addition the atomic_t
      used for this bookkepping (buffermem_pages) causes cacheline bouncing
      on larger machines.
      
      This is the first patch of a series to get rid of it.  It removes the
      useless output of supposedly buffer pages in show_mem(), which is used
      by the magic sysrq key code.
      e95bd965