1. 09 Mar, 2004 1 commit
  2. 08 Mar, 2004 39 commits
    • Rusty Russell's avatar
      [PATCH] Clean up hotplug slab some more · c5d9af3e
      Rusty Russell authored
      This is a cleaner fix for the previous bogon fix.
      c5d9af3e
    • Linus Torvalds's avatar
      3d32d5d0
    • Rusty Russell's avatar
      [PATCH] minor slab cleanups for hotplug CPUs · bd7c5d21
      Rusty Russell authored
      - Move free_block prototype, and ac_entry and ac_data functions up in file.
      
      - Use list_for_each_entry in cpuup_callback.
      
      - Remove unneccessary g_cpucache_up in cpuup_callback.
      
      - Make reap_timer_func take CPU number as data, and check if that is
        offline before rescheduing (noop without CONFIG_HOTPLUG_CPU).
      bd7c5d21
    • Rusty Russell's avatar
      [PATCH] remove sparc64's num_possible_cpus() · 9f989ac8
      Rusty Russell authored
      Levent Serinol <levent.serinol@mynet.com> found that the hotplug cpu
      patch broke Sparc64.  I introduced a num_possible_cpus(), which
      Sparc64 already has.  Remove the Sparc64 one.
      
      I also removed Sparc64's cpu_online() macro: it's in linux/cpumask.h
      already.
      9f989ac8
    • Rusty Russell's avatar
      [PATCH] minor cleanups for hotplug CPUs · a59d2e4e
      Rusty Russell authored
      Note that without CONFIG_HOTPLUG_CPU, online cpus == possible cpus, so
      substitutions are a noop.
      
      - Changes show_stat to print out stats for every possible cpu, not
        just online CPUs.
      
      - Allocate mem in stat_open on possible, not online_cpus.
      
      - Add conventient macros to cpu.h: especially cpu_is_offline() for
        testing if a cpu is still online.
      
      - Add a num_possible_cpus() similar to num_online_cpus(), and define
        cpu_possible_mask for UP.
      
      - Allow printk on down cpus once system is running.
      
      - Mask cpumask with possible, not online cpus, for sys_getaffinity().
      a59d2e4e
    • Rusty Russell's avatar
      [PATCH] introduce __drain_pages() to take a CPU number · 33a7ddaa
      Rusty Russell authored
      Extracts core of drain_pages() for hotcpu use.  Trivial.
      
      Hotplug CPU needs to drain pages on a downed CPU (usually it's the
      current cpu).  Introduce "__drain_pages", make the CPU an argument,
      and expose it if CONFIG_HOTPLUG_CPU as well as CONFIG_PM.
      33a7ddaa
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/jgarzik/via-crypto-2.5 · 409f3569
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      409f3569
    • Jeff Garzik's avatar
      Merge redhat.com:/spare/repo/linux-2.5 · 0628cffc
      Jeff Garzik authored
      into redhat.com:/spare/repo/via-crypto-2.5
      0628cffc
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/libata-2.5 · 6cc556b6
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      6cc556b6
    • Jeff Garzik's avatar
      [libata sata_promise] provide proper SCSI completion function · 4cb629dd
      Jeff Garzik authored
      Promise driver uses a custom error handling function, so we need
      the fix that was applied to the libata core:  the SCSI error
      handling thread requires that we complete commands using a special
      completion function, since the normal one doesn't work inside
      the error handling thread.
      4cb629dd
    • Jeff Garzik's avatar
    • Jeff Garzik's avatar
      [libata] Include linux/suspend.h · e37388ca
      Jeff Garzik authored
      e37388ca
    • Arjan van de Ven's avatar
      [PATCH] sata vs suspend-to-ram · fde09706
      Arjan van de Ven authored
      The following patch is a very crude one to at least not make sata block
      suspend-to-ram entirely. Probably you want more powermanagement handling as
      well... but it's a start
      fde09706
    • Linus Torvalds's avatar
      Merge bk://gkernel.bkbits.net/net-drivers-2.5 · 0b2bfc7d
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      0b2bfc7d
    • Don Fry's avatar
      [PATCH] pcnet32 transmit hang fix · febd4f29
      Don Fry authored
      The pcnet32 driver will hang after a few frames (<30) with the 79C971
      (and probably the 79C972 though I don't have the hardware to prove it).
      By interrupting slightly more frequently the hang will not occur.
      febd4f29
    • Marc Zyngier's avatar
      [PATCH] Fix hp100 EISA probing · d6258fcd
      Marc Zyngier authored
      >>>>> "Pawel" == Pawel Sokolowski <falcon@muflon.linux.pl> writes:
      
      Pawel> This machine has RAM BIOS booted from floppy. I ran it and EISA
      Pawel> configure utility to check this once more. Card is enabled and not
      Pawel> locked. I added eisa_bus.enable_dev=2 parameter but it didn't help much.
      Pawel> I'm getting:
      
      Pawel> EISA: Probing bus 0 at eisa0
      Pawel> EISA: Mainboard HWPC061 detected.
      Pawel> EISA: slot 2 : HWP1940 detected (forced enabled).
      Pawel> EISA: Detected 1 card.
      
      Pawel> I added this final entry you mailed but nothing changed. Still - module
      Pawel> loads and unloads cleanly and without any warnings on 2.6.4-rc1. But
      Pawel> does nothing - not a single line in logs/dmesg after it's loaded. Card
      Pawel> does not work after modprobe, I can't get interface up.
      
      Ok, found it.
      
      It really looks like the new EISA probing code in hp100 never got
      tested, since a precious offset has disappeared during the rewriting
      process.
      
      Please note that you still need to enable the device by hand, since
      your BIOS (or maybe the EISA CFG file, since I'm seeing the exact same
      problem on a Compaq machine here) doesn't properly enable the card.
      
      Here is what I'm getting on my test system :
      
      EISA: Probing bus 0 at 0000:00:0f.0
      EISA: Mainboard CPQ0541 detected.
      EISA: slot 1 : DEC4250 detected.
      EISA: slot 2 : UNB0048 detected.
      EISA: slot 3 : HWP1940 detected (forced enabled).
      hp100: Using (slow) programmed i/o mode.
      hp100: at 0x3c38, IRQ 3, EISA bus, 128k SRAM (rx/tx 75%).
      hp100: Adapter is attached to 10Mb/s network (10baseT).
      EISA: slot 4 : NVL0701 detected.
      d6258fcd
    • Rusty Russell's avatar
      [PATCH] make module code use stop_machine.c · 1af452e4
      Rusty Russell authored
      Now we've moved the bogolock code out to stop_machine.c and
      generalized it a little, use it in module.c and delete the duplicate
      code there.
      1af452e4
    • Rusty Russell's avatar
      [PATCH] stop_machine_run: Move Bogolock Code Out of module.c · 80037662
      Rusty Russell authored
      The "bogolock" code was introduced in module.c, as a way of freezing
      the machine when we wanted to remove a module.  This patch moves it
      out to stop_machine.c and stop_machine.h.
      
      Since the code changes affinity and proirity, it's impolite to hijack
      the current context, so we use a kthread.  This means we have to pass
      the function rather than implement "stop_machine()" and
      "restart_machine()".
      80037662
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.6 · 23d54a89
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      23d54a89
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.6 · 5f3ac182
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      5f3ac182
    • David S. Miller's avatar
      Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6 · 64994feb
      David S. Miller authored
      into kernel.bkbits.net:/home/davem/sparc-2.6
      64994feb
    • Linus Torvalds's avatar
      Merge http://jfs.bkbits.net/linux-2.5 · 05beebbe
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      05beebbe
    • Dave Kleikamp's avatar
      Merge jfs@jfs.bkbits.net:linux-2.5 · 8d7d9915
      Dave Kleikamp authored
      into austin.ibm.com:/shaggy/bk/jfs-2.5
      8d7d9915
    • Dave Kleikamp's avatar
      JFS: Add lots of missing statics and remove dead code · 16ecfdb9
      Dave Kleikamp authored
      Submitted by Christoph Hellwig
      16ecfdb9
    • Dave Kleikamp's avatar
      JFS: Avoid incrementing i_count on file create · 64194c24
      Dave Kleikamp authored
      Committing a transaction creating a file required insuring that the
      inode stayed in cache until the journal was written to.  i_count was
      being incremented until the transaction was complete.
      
      However, incrementing i_count caused fcntl(S_SETLEASE) to fail.  I
      reworked the transaction code so that the inode does not have to
      stay in-memory while the transaction is being committed.
      
      Thanks to Steve French for figuring out why setlease was failing.
      64194c24
    • Dave Kleikamp's avatar
      JFS: warn users of inaccessible file names · e2423dc0
      Dave Kleikamp authored
      When no iocharset is specified, the default action is to trivially
      map each byte into the low order of the 16-bit unicode character.
      If an existing name exists that has a non-zero high order byte, the
      file will be inaccessible without remounting with iocharset set to
      a charset that supports the character.
      
      This patch will cause a warning to be issued to the syslog (no more
      than five times) suggesting that the volume be mounted with
      iocharset=utf8 in order to access the file.
      e2423dc0
    • Andrew Morton's avatar
      [PATCH] gcc-3.5 io_apic.c build fix · fe0353f0
      Andrew Morton authored
      From: Valdis.Kletnieks@vt.edu
      
      The send_IPI_self() in smp.c was fixed but the one in io_apic.c was not.
      fe0353f0
    • Andrew Morton's avatar
      [PATCH] vma corruption fix · bc3d0059
      Andrew Morton authored
      From: Hugh Dickins <hugh@veritas.com>
      
      Fixes bugzilla #2219
      
      fork's dup_mmap leaves child mm_rb as copied from parent mm while doing all
      the copy_page_ranges, and then calls build_mmap_rb without holding
      page_table_lock.
      
      try_to_unmap_one's find_vma (holding page_table_lock not mmap_sem) coming
      on another cpu may cause mm mayhem.  It may leave the child's mmap_cache
      pointing to a vma of the parent mm.
      
      When the parent exits and the child faults, quite what happens rather
      depends on what junk then inhabits vm_page_prot, which gets set in the page
      table, with page_add_rmap adding the ptep, but junk pte likely to fail the
      tests for page_remove_rmap.
      
      Eventually the child exits, the page table is freed and try_to_unmap_one
      oopses on null ptep_to_mm (but in a kernel with rss limiting, usually
      page_referenced hits the null ptep_to_mm first).
      
      This took me days and days to unravel!  Big thanks to Matthieu for
      reporting it with a good test case.
      bc3d0059
    • Andrew Morton's avatar
      [PATCH] update filemap_flush() comments · ecad96d5
      Andrew Morton authored
      It provides a best-effort, minimum-latency "get all the writeout
      underway" function.
      ecad96d5
    • Dave Kleikamp's avatar
      JFS: setting xattr should update ctime · 06e89f5e
      Dave Kleikamp authored
      06e89f5e
    • Linus Torvalds's avatar
      Add missing QUEUE_FLAG_REENTER bit from Jens' · d456c644
      Linus Torvalds authored
      blk_start_queue() fix.
      d456c644
    • Bartlomiej Zolnierkiewicz's avatar
      [PATCH] fix CONFIG_PDC202XX_FORCE/BURST for modular pdc202xx new/old drivers · d0c639ea
      Bartlomiej Zolnierkiewicz authored
      From: Jakub Bogusz <qboosh@pld-linux.org>
      d0c639ea
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/tg3-2.6 · 1c3fb21e
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      1c3fb21e
    • David S. Miller's avatar
      Merge nuts.davemloft.net:/disk1/BK/network-2.6 · dd12d6d5
      David S. Miller authored
      into nuts.davemloft.net:/disk1/BK/net-2.6
      dd12d6d5
    • Chris Wright's avatar
      [PATCH] proper error cleanup on security_acct hook · 91bcca24
      Chris Wright authored
      Noted by Stephen Smalley: sys_acct does not properly clean up the open
      file when the security_acct hook returns an error.
      
      Fixed thus.
      91bcca24
    • Jens Axboe's avatar
      [PATCH] fix blk_start_queue() · c1b1d258
      Jens Axboe authored
      Here's the second attempt at fixing blk_start_queue().  The only change
      since last version is using proper atomic bitops.  If we moved the
      read/write full to a different variable, we could rely on the queue lock
      for plugging and stop/start of queue (by far the most used bit
      operations there) and skip the atomic bitops.
      c1b1d258
    • David Stevens's avatar
      b46f30e2
    • Wensong Zhang's avatar
      [IPVS]: Code tidy up. · f93fe4da
      Wensong Zhang authored
      Patch from Horms <horms@vergenet.net>
      
      1. The trailing '\n' was missing, it has been added
      2. The protocol is already in host byte order,
         the ntohl() call has been removed
      f93fe4da
    • Herbert Xu's avatar