1. 15 Mar, 2004 40 commits
    • Andrew Morton's avatar
      [PATCH] resierfs: scheduling latency improvements · 83e830d0
      Andrew Morton authored
      From: Chris Mason <mason@suse.com>
      
      Add conditional schedules to reiserfs to help lower latencies.  Bits of
      this orginated long ago in code akpm sent me.
      83e830d0
    • Andrew Morton's avatar
      [PATCH] reiserfs: fix null pointer deref · 82106056
      Andrew Morton authored
      From: Chris Mason <mason@suse.com>
      
      From: Jeff Mahoney <jeffm@suse.de>
      
      fsstress manages to setup a sequence of events that allow an attempt to
      perform direct-io on a tail.  bh_result->b_page == NULL, which causes the
      PageLocked and PageWriteback checks to perform a NULL deref, causing the
      oops.
      82106056
    • Andrew Morton's avatar
      [PATCH] kernel-doc build fix · d41853b1
      Andrew Morton authored
      From: Michael Still <mikal@stillhq.com>
      
      This is needed to get any of the SGML documentation to build with 2.6.4.
      d41853b1
    • Andrew Morton's avatar
      [PATCH] fbdev: character drawing enhancement. · fae3a0e9
      Andrew Morton authored
      From: James Simmons <jsimmons@infradead.org>
      
      This patch merges two of the drawing functions.  The patch uses aligned
      transfers when possible even on displays where the characters are not byte
      align.  Tested on my my laptop for 12 bit width fonts and 8 bit wide fonts.
      It works very nicely.
      fae3a0e9
    • Andrew Morton's avatar
      [PATCH] page_referenced() simplification · 54c50cc5
      Andrew Morton authored
      There's no point in calling mark_page_accessed() here.  The page is never on
      the LRU so all mark_page_accessed() will do is to set PG_referenced, which we
      immediately clear again.
      54c50cc5
    • Andrew Morton's avatar
      [PATCH] flush_workqueue(): detect excessive nesting · 2139597d
      Andrew Morton authored
      Add a debug check for workqueues nested more than three deep via the
      direct-run-workqueue() path.
      2139597d
    • Andrew Morton's avatar
      [PATCH] flush_scheduled_work() deadlock fix · b9b52730
      Andrew Morton authored
      Because keventd is a resource which is shared between unrelated parts of the
      kernel it is possible for one person's workqueue handler to accidentally call
      another person's flush_scheduled_work().  thockin managed it by calling
      mntput() from a workqueue handler.  It deadlocks.
      
      It's simple enough to fix: teach flush_scheduled_work() to go direct when it
      discovers that the calling thread is the one which should be running the
      work.
      
      Note that this can cause recursion.  The depth of that recursion is equal to
      the number of currently-queued works which themselves want to call
      flush_scheduled_work().  If this ever exceeds three I'll eat my hat.
      b9b52730
    • Andrew Morton's avatar
      [PATCH] selinux: fix compute_av bug · e6c51795
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch fixes a bug in the SELinux compute_av code; the current code
      yields the right access computation but can cause unnecessary (but
      harmless) processing to occur when transition permission wasn't granted in
      the first place by the TE configuration.  Thanks to Chad Hanson of TCS for
      reporting the bug.
      e6c51795
    • Andrew Morton's avatar
      [PATCH] kbuild: fix modpost when used with O= · 4a116813
      Andrew Morton authored
      From: Sam Ravnborg <sam@ravnborg.org>
      
      modpost or to be more specific sumversion.c was not behaving correct when
      used with O= and MODULE_VERSION was used.  Previously it failed to use
      local .h when calculation the md-sum in case of a O= build.
      
      The following patch introduces the following:
      
      - A generic get_next_line()
      
      - Check that the topmost part of the directory matches
      
      - Using strrch when checking for file with suffix .o
      
      - Use NOFAIL for allocations in sumversion
      
      - Avoid memory leak in new_module
      
      The generic get_next_line will pay off when Andreas implmentation of
      storing symbol addresses in a seperate file is introduced.
      4a116813
    • Andrew Morton's avatar
      [PATCH] fix modular fb drivers · 2d86075a
      Andrew Morton authored
      From: Arnd Bergmann <arnd@arndb.de>
      
      The recent "fbdev: monitor detection fixes" patch broke modular frame
      buffer drivers.
      2d86075a
    • Andrew Morton's avatar
      [PATCH] move PCIBIOS access help text · 180ee043
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>
      
      Moves PCI BIOS Access Mode help text to its top level instead of under
      PCI_GOBIOS (which is only 1 of 4 possible choices).
      180ee043
    • Andrew Morton's avatar
      [PATCH] drivers_cdrom_cdu31c.c check_region() fix · 75fac6dd
      Andrew Morton authored
      From: <viro@parcelfarce.linux.theplanet.co.uk>
      
      check_region() fixes.
      75fac6dd
    • Andrew Morton's avatar
      [PATCH] add warning to DocBook/Makefile · 8fa38bc3
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From:  maximilian attems <janitor@sternwelten.at>
      
      Print something friendlier than:
      
      /bin/sh: fig2dev: command not found
      make[1]: *** [Documentation/DocBook/parport-share.eps] Error 127
      make: *** [pdfdocs] Error 2
      8fa38bc3
    • Andrew Morton's avatar
      [PATCH] Fix comment in drivers/block/genhd.c · 02a1bef0
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From:  a.othieno@bluewin.ch (Arthur Othieno)
      
      add_gendisk() was replaced with add_disk(), but the comment suggests
      otherwise.  Breaks `make *docs'.
      02a1bef0
    • Andrew Morton's avatar
      [PATCH] minor credits updates · 8248abaa
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From:  andersen@codepoet.org
      
      I've moved...  This patch updates my contact info.
      8248abaa
    • Andrew Morton's avatar
      [PATCH] chardev module aliases · d2d0b609
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From: Steve Youngs <sryoungs@bigpond.net.au> Add module aliases for 21285,
      amba, anakin, clps711x, mux, and sa1100 serial drivers.
      d2d0b609
    • Andrew Morton's avatar
      [PATCH] Fix scripts/ver_linux · 332c8c22
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From:  Thomas Molina <tmolina@cablespeed.com>
      
      ver_linux hasn't displayed binutils version right for some time.  This patch
      corrects that and preserves the old behaviour as well, as suggested by Rusty.
      332c8c22
    • Andrew Morton's avatar
      [PATCH] fix for kallsyms module symbol resolution problem · a8b9e8d7
      Andrew Morton authored
      From:  Rusty Russell <rusty@rustcorp.com.au>
      
      Fix a problem with kallsyms being unable to look up symbols which are in
      modules.
      
      add_kallsyms should be above module_finalize, which means you can just use
      the mod->symtab and mod->strtab members.
      a8b9e8d7
    • Andrew Morton's avatar
      [PATCH] filemap.c comment fix · bffb0b0a
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From:  Carl Spalletta <ioanamitu@yahoo.com>
      bffb0b0a
    • Andrew Morton's avatar
      [PATCH] rename one of the acpi_disable() instances · 52e01e04
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From:  Pavel Machek <pavel@ucw.cz>
      
      There's acpi_disable somewhere in the acpi interpreter (it disables
      interrupts, iirc).  Thus blacklisting function needs better name.
      52e01e04
    • Andrew Morton's avatar
      [PATCH] drivers_cdrom_sjcd.c check_region() fix · 5164210d
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From:  Omkhar Arasaratnam <omkhar@rogers.com>
      5164210d
    • Andrew Morton's avatar
      [PATCH] Document tricks to get S3_swsusp working · e5804aa4
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From:  Pavel Machek <pavel@ucw.cz>
      
      I was sending this to users that had problems with swsusp, then lost it.  It
      would be nice to have it directly in the tree.
      e5804aa4
    • Andrew Morton's avatar
      [PATCH] ACPI: document acpi_sleep option · d91b55a2
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From:  Pavel Machek <pavel@ucw.cz>
      
      acpi_sleep option should be documented.
      d91b55a2
    • Andrew Morton's avatar
      [PATCH] drivers_cdrom_cm206.c check_region() fix · 22de7638
      Andrew Morton authored
      From: Trivial Patch Monkey <trivial@rustcorp.com.au>
      
      From:  Omkhar Arasaratnam <omkhar@rogers.com>
      
      check_region() fix
      22de7638
    • Andrew Morton's avatar
      [PATCH] ide-scsi error handling fixes · 4e9fbe87
      Andrew Morton authored
      From: Willem Riede <wrlk@riede.org>
      
      The patch revises the error handling in ide-scsi, fixing the scheduling
      while locked issues, and make it work properly, at least for me...
      
      Specific changes in this patch:
      
      - introduce idescsi_expiry, a timeout routine for the ide subsystem,
        which simply flags the fact that the command timed out, but postpones
        any other action until either the command still finishes on its own
        (unlikely?) or the scsi error handler kicks in;
      
      - introduce idescsi_atapi_error and idescsi_atapi_abort, error routines
        for the ide subsystem, which are modeled after those of ide-cd, but
        take only minimal effort to recover, leaving the heavy lifting for
        the scsi error handler;
      
      - rewrite (and rename for clarity) idescsi_eh_abort and idescsi_eh_error,
        the abort/error routines to be called by the scsi error handler --
        this redesign should not have the scheduling while atomic problems
        of the old implementation.
      
      - move ide_cdrom_dump_status() from ide-cd.c to ide-lib.c as
        ide_dump_atapi_status() and both ide-cd and ide-scsi call it.
      
      - replaces BUG() by WARN_ON()/printk in the error handling code.
      
      - sets TASK_UNINTERRUPTIBLE before schedule_timeout() and moves the host
        unlock/lock around the while loop inside the loop in idescsi_eh_reset().
      4e9fbe87
    • Andrew Morton's avatar
      [PATCH] selinux: Conditional policy extension and MLS detection support · e5c539b8
      Andrew Morton authored
      From: Stephen Smalley <sds@epoch.ncsc.mil>
      
      This patch extends the SELinux policy engine to support conditional policy
      logic based on a set of policy booleans, allowing well-formed changes to
      the policy to be defined within and mediated by the policy itself.
      
      The conditional policy extensions were implemented and contributed by
      Tresys Technology.
      
      Userland packages that support these extensions are already available from
      nsa.gov/selinux, and backward compatibility is provided for the prior
      policy version.
      
      The patch also includes a small change to enable detection of the optional
      MLS policy model on a SELinux system and fixes to the conditional policy
      extensions to allow the MLS policy to work correctly with them that were
      implemented and contributed by Trusted Computer Solutions.
      e5c539b8
    • Andrew Morton's avatar
      [PATCH] s390: update for altered page_state structure · a7e623a9
      Andrew Morton authored
      From: Gerald Schaefer <gerald.schaefer@gmx.net>
      
      Update s390 to track the new fields in struct page_state.
      a7e623a9
    • Andrew Morton's avatar
      [PATCH] ppc32 compile fix · fb3f7b77
      Andrew Morton authored
      From: Tom Rini <trini@kernel.crashing.org>
      
      The problem is that on PPC32 (and probably sparc64) 'asmlinkage' is a
      useless keyword, and should just be removed from include/asm-ppc/unistd.h.
      fb3f7b77
    • Andrew Morton's avatar
      [PATCH] Save some memory in mem_map on x86-64 · 5bfec9f6
      Andrew Morton authored
      From: Andi Kleen <ak@suse.de>
      
      This patch saves 2MB of memory on a 1GB x86-64 machine, 20MB on a 10GB
      machine.  It does this by eliminating 8 bytes of useless padding in struct
      page.
      
      This resurrects an older patch in a hopefully cleaner form.
      5bfec9f6
    • Andrew Morton's avatar
      [PATCH] Fix early parallel make failures · 952a0ae3
      Andrew Morton authored
      From: Sam Ravnborg <sam@ravnborg.org>
      
      Ingo said:
      
        Starting at around 2.6.4-rc2-mm1, I keep seeing 'scripts/fixdep: Text
        file busy' messages when doing a -j10 bzImage build - which seems to
        suggest that by the time fixdep is used by the build system it's not
        built yet.
      
      Sam said:
      
      I was pretty sure it was something I had caused, so I gave it a spin.  What
      actually happened was that we tried to build the target 'silentoldconfig'
      in parrallel with 'scripts'.  Since 'silentoldconfig' started a new make
      and then the config target needed 'scripts' we saw two parallel runs.
      
      The way I decided to fix it was to split scripts/ in two parts.  The first
      part is now the very basic stuff - moved to scripts/basic/.  The second
      part is dependent on kernel config etc.  and kept in scripts/
      
      In the 2.7 timeframe i will redo this initial stuff - it's becoming too
      messy for anyone to understand today.
      
      
      Description:
      
      Fix dependencies in early phases of kernel build.  This solves a few
      problems nively: modpost is no longer rebuild twicewhen reaching the
      'target' state 'make -j10' now works nicely again
      
      The patch is rather large due to the following file moves:
      mkdir scripts/basic
      mv scripts/fixdep.c        scripts/basic
      mv scripts/split-include.c scripts/basic
      mv scripts/docproc.c       scripts/basic
      952a0ae3
    • Linus Torvalds's avatar
      Merge http://lia64.bkbits.net/to-linus-2.5 · 6f2dbcb9
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.5/linux
      6f2dbcb9
    • Benjamin Herrenschmidt's avatar
      [PATCH] g5: Fix iommu vs. pci_device_to_OF_node · 99dd57a5
      Benjamin Herrenschmidt authored
      The g5 iommu code would fill the "iommu_table" member of whatever
      device node was pointed to by pcidev->sysdata during boot. However,
      the ppc64 kernel fills that with a pointer to the PHB node which is
      later replaced "lazily" with a pointer to the real node when calling
      pci_device_to_OF_node(). In this case, we were thus "losign" the
      iommu_table pointer. Typical symptom: loss of the SATA when looking
      at it's /proc entry.
      
      This fixes it by forcing the update to the final sysdata pointer
      when filling up the iommu_table pointers. The "lazy" thing is useless
      on pmac anyway.
      99dd57a5
    • David Mosberger's avatar
      ia64: Update defconfig · 219b5ec0
      David Mosberger authored
      219b5ec0
    • Keith Owens's avatar
      [PATCH] ia64: Decode salinfo oemdata for SN2 via PROM · 130772ca
      Keith Owens authored
      SN2 platforms provide oemdata in salinfo records.  The decode of that
      oemdata is done via prom routines.  This patch provides the interface
      from user space through the kernel into the prom to do the oem decode.
      130772ca
    • David Mosberger's avatar
      ia64: Based on patch by Keith Owens: put stop bit to work around GCC problem. · 57599143
      David Mosberger authored
      Apparently GCC sometimes fails to insert a stop-bit when re-using p14
      after the spinlock directives, even though the register is clearly marked
      as "clobbered".
      57599143
    • Christoph Hellwig's avatar
      [PATCH] ia64: update simscsi to 2.6 scsi APIs · 55808e05
      Christoph Hellwig authored
      Use the proper (and cleaner) probing API instead of the old
      scsi_module.c hack, don't use the typedefs I plan to kill in 2.7 and
      mark everything static
      55808e05
    • David Mosberger's avatar
      Merge tiger.hpl.hp.com:/data1/bk/vanilla/linux-2.5 · 1963fd3f
      David Mosberger authored
      into tiger.hpl.hp.com:/data1/bk/lia64/to-linus-2.5
      1963fd3f
    • Bjorn Helgaas's avatar
      [PATCH] ia64: update ia64/Kconfig · 6737083d
      Bjorn Helgaas authored
      This Kconfig patch basically just makes ia64 look a little more like i386:
              - moves system type above processor type
              - moves PM & ACPI to a new top-level menu
              - moves PCI/PCMCIA to a new top-level menu
      6737083d
    • David Mosberger's avatar
    • Jesse Barnes's avatar
      [PATCH] ia64: kill CONFIG_IA64_MCA · 2c7c376e
      Jesse Barnes authored
      The MCA code is now slim enough that there isn't much point in keeping
      CONFIG_IA64_MCA anymore.
      2c7c376e