1. 01 Oct, 2003 34 commits
    • Andrew Morton's avatar
      [PATCH] table-driven filesystems option parsing · 5221f633
      Andrew Morton authored
      From: "Randy.Dunlap" <rddunlap@osdl.org>, Will Dyson <will_dyson@pobox.com>, me
      
      Add generic filesystem options parser (infrastructure) and use it to parse
      mount options in several filesystems (adfs, affs, autofs, autofs4, ext2,
      ext3, fat, hfs, hpfs, isofs, jfs, procfs, udf, and ufs).
      
      It saves between 128 and 512 bytes per filesystem.
      5221f633
    • Andrew Morton's avatar
      [PATCH] memory writeback/invalidation fixes · b2dd8674
      Andrew Morton authored
      From: "David S. Miller" <davem@redhat.com>
      
      This attempts to take care of 2 of the MM todos I had on
      my backlog:
      
      1) Zap the stupid flush_cache_all() thing with more meaningful
         interfaces.
      
      2) Resolve the ptrace user page access issues, first stage.
      
      The "first stage" mentioned for #2 is simply creating the
      user page accesor interfaces.  The next stage needs to be
      mucking with get_user_pages() so that we can control when
      the flush_dcache_page() occurs.  Then we:
      
      1) For every platform where flush_dcache_page() is a non-nop
         add a call to the beginning of copy_{from,to}_user_page().
      2) Make access_process_vm() set the "no dcache flush" bit in
         it's call to get_user_pages().
      
      The idea also was that we'd consolidate the write etc. boolean
      args passed to get_user_pages() into flag bits too.
      
      But at least with the below, we can delete that reminder FIXME
      comment from kernel/ptrace.c, the platforms have the necessary
      tools and just need to make use of it :)
      
      As a bonus I noticed that VMALLOC_VMADDR() did absolutely nothing.
      
      After all of this I only have 1 real TODO left, and that's dealing
      with the SMP TLB/pte invalidation stuff, very low priority until
      someone starts doing more work with sparc32/SMP in 2.6.x :)
      b2dd8674
    • Andrew Morton's avatar
      [PATCH] x86 mman.h fix · bd094583
      Andrew Morton authored
      Remove duplicated #defines
      bd094583
    • Andrew Morton's avatar
      [PATCH] dev_t forward compatibility fix · 1885b3f1
      Andrew Morton authored
      From: Andries.Brouwer@cwi.nl
      
      ext2 used a 32-bit field for dev_t, with possibly undefined storage
      following; thus, no action was required to go to 32-bit dev_t, but going to
      64-bit dev_t required some subtlety: 0 was written in the first word and
      the 64 bits in the following two.  Al truncated my 64-bit stuff to 32 bits
      but did not understand why there was this split, and wrote 0 followed by a
      single word.  We should at least zero the word following to have
      well-defined storage later.
      1885b3f1
    • Andrew Morton's avatar
      [PATCH] Add missing label in isdn_common.c · 297ec1fa
      Andrew Morton authored
      From: Herbert Xu <herbert@gondor.apana.org.au>
      
      The last change to isdn_common.c removed a label that is used when
      ISDN_PPP is defined.  This patch puts it back.
      297ec1fa
    • Andrew Morton's avatar
      [PATCH] Add bin2c copyrights · a04d38c5
      Andrew Morton authored
      From: Oliver Xymoron <oxymoron@waste.org>
      
      I just noticed the ikconfig stuff made it into mainline via -mm. I
      also just noticed that it's based in part on a patch I posted almost 5
      years ago:
      
      http://groups.google.com/groups?q=oliver+xymoron+config.gz&hl=en&lr=&ie=UTF-8&selm=fa.j8fsl5v.g08fjo%40ifi.uio.no&rnum=2
      
      Sadly, after wandering aimlessly in the desert of unloved patches all
      those years, all attribution got lost. This adds a copyright + license
      to scripts/bin2c.c, which hasn't aged a day.
      a04d38c5
    • Andrew Morton's avatar
      [PATCH] Fix double request_region in com20020 · 4f257a74
      Andrew Morton authored
      From: Herbert Xu <herbert@gondor.apana.org.au>
      
      Currently com20020 and com20020_cs both call request_region on the same
      block of ports leading to a conflict.  This patch resolves this by moving
      request_region out of the generic driver and into the isa/pci/cs drivers.
      4f257a74
    • Andrew Morton's avatar
      [PATCH] Fix memory leak in hugetlbfs · b2a51555
      Andrew Morton authored
      From: "Chen, Kenneth W" <kenneth.w.chen@intel.com>
      
      The hugetlbfs_fill_super() doesn't free up memory allocated for sbinfo on
      the way out in case of parsing error (and a few others).  This leads to
      memory leak If root tries to mount a hugetlbfs with invalid mount option.
      Here is a patch that fix the problem.
      b2a51555
    • Andrew Morton's avatar
      [PATCH] dscc4 warning fixes · 3c28ea40
      Andrew Morton authored
      - ifdef out a couple of unused functions
      
      - remove unused label
      
      - __setup function is not used when compiled as a module.
      3c28ea40
    • Jes Sorensen's avatar
      [PATCH] qla1280 locking update · 43a0b672
      Jes Sorensen authored
      This fixes the qla1280 driver to not try to release an unlocked spinlock
      at boot time - as well as a couple of other minor mods.
      
      I also changed the MMIO option to be dependant on X86_VISWS as it's
      really a chipset problem and not something each and every driver should
      be asking for. 
      
      Getting a global CONFIG_MMIO_IS_BROKEN option would probable be a win
      here.
      43a0b672
    • Ivan Kokshaysky's avatar
      [PATCH] Alpha cypress CPU frequency calibration · 4655e5f9
      Ivan Kokshaysky authored
      This fixes (again...) CPU frequency calibration on some platforms with
      the Cypress chip.  That is, at some point CLOCK_TICK_RATE has been
      changed to represent RTC reference clock instead of PIC one.  Which
      makes calibrate_cc_with_pic() produce utterly bogus results.
      4655e5f9
    • Jay Estabrook's avatar
      [PATCH] for Alpha against 2.6.0-test6 · cdbd392c
      Jay Estabrook authored
      Here is a very small set of fixes for Linux/axp, with a new one for
      "sched_clock" just introduced.
      
      Note that all but the arch/alpha/mm/init.c are required for a clean
      build, since warnings->errors is still on.
      
      The arch/alpha/mm/init.c stuff is from Jeff for MARVEL, and MUST be there
      for any machines running the latest firmware...
      cdbd392c
    • Ben Fennema's avatar
      [PATCH] UDF oops on inode read failure · 0cf26c7e
      Ben Fennema authored
      This fixes an oops with failed inode reads on UDF
      0cf26c7e
    • Sander van Malssen's avatar
      [PATCH] fix btaudio error case · 3b9f7811
      Sander van Malssen authored
      Free the right buffer on allocation error
      3b9f7811
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/acme/ksyms-2.6 · d3ed1c8f
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      d3ed1c8f
    • Arnaldo Carvalho de Melo's avatar
    • Arnaldo Carvalho de Melo's avatar
    • Arnaldo Carvalho de Melo's avatar
    • Arnaldo Carvalho de Melo's avatar
    • Arnaldo Carvalho de Melo's avatar
    • Arnaldo Carvalho de Melo's avatar
    • Arnaldo Carvalho de Melo's avatar
      o kernel/ksyms.c: set_cpus_schedule was EXPORT_SYMBOL_GPL, bring it back · 1966f91b
      Arnaldo Carvalho de Melo authored
      Originally, before this set of patches moving stuff out from kernel/ksyms.c,
      set_cpus_schedule was EXPORT_SYMBOL_GPL, my mistake, bring it back.
      
      Also follow Andrew Morton's suggestions of moving the EXPORT_SYMBOL{_GPL) even
      closer to the place where the symbol exported is defined, i.e. just after the
      symbol definition, this makes mistakes more difficult to happen, as when the
      symbol definition is #ifdefed the EXPORT_SYMBOL{_GPL} is in the same block.
      1966f91b
    • Arnaldo Carvalho de Melo's avatar
    • Linus Torvalds's avatar
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/acme/ksyms-2.6 · 1ced4444
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      1ced4444
    • Jörn Engel's avatar
      [PATCH] Fix wrong CONFIG_* in comment · db720de8
      Jörn Engel authored
      Our tools are somewhat too stupid.  They find a mistyped CONFIG_HIGMEM
      (missing 'H') and assume a dependency on config/higmem.h. Fix the comment.
      db720de8
    • Rik van Riel's avatar
      [PATCH] syscall number for vserver · 9ae3a7a2
      Rik van Riel authored
      Vserver is a patch that implements BSD jail style virtual host semantics
      inside Linux, where every process not only runs in its own namespace (it
      reuses the chroot code for that, should switch to CLONE_NEWNS for 2.6),
      but also its own hostname and IP address as well as its own view of
      /proc.
      
      Because of that added functionality, it needs more than what is
      available in the LSM framework (which can only allow/deny permissions,
      not alter return values).
      
      The source code has been running stable for the last few years and is in
      use at quite a few service providers.  The Fedora project also wants to
      use vserver for their build system.  However, vserver for 2.4 just tacks
      their syscalls onto the end of the syscall table and the userland tools
      find those "dynamic numbers" somehow ...  EWWWW.
      
      For 2.6 I'd like to do things right.  At the moment the vserver patch
      has sys_new_s_context and sys_set_ipv4root calls, but since we'll
      probably end up getting an ipv6 call too and people are planning future
      functionality, I guess it would be more appropriate to multiplex these
      through one sys_vserver patch, in the same way sys_ipc works.
      
      For your reference, you can find more information about
      vserver on these pages:
      
      	http://www.13thfloor.at/VServer/
      	http://www.solucorp.qc.ca/miscprj/s_context.hc
      
      I estimate the project has about a dozen developers now.  We are
      planning on making the implementation for 2.6 fairly lightweight,
      reusing infrastructure from other code where possible and only doing
      things through sys_vserver where there is no other way.
      
      This small change just adds sys_vserver to the syscall table.
      9ae3a7a2
    • Nick Piggin's avatar
      [PATCH] AS fix · b9d8a459
      Nick Piggin authored
      This picks up another place where aliases where getting lost.  And adds
      a couple of checks.  I can't hang the osdl database thingy anymore.
      
      The transfer alias list loops could probably quite nicely be changed to
      
      	if (unlikely(!list_empty( old_queuelist )))
      	    __list_splice( old_queuelist, new_queuelist.prev);
      b9d8a459
    • Alexander Viro's avatar
      [PATCH] EFS set_blocksize() error handling · 611fe944
      Alexander Viro authored
      There doesn't seem to be any active maintainer for EFS: It's either
      abandoned, or never required specific patches too badly (also quite
      possible in this case). 
      
      It went into the tree in 2.3.2 and from there to 2.6.0-test6 I see
      nothing that would look like maintainer's update.  OTOH, it's read-only
      and shouldn't be too badly broken (or hard to keep alive).
      
      Outside of trunk (i.e.  in 2.4.16--) we have a backport of global 2.5
      change (sb_bread()) and check for set_blocksize() failures (from Alan). 
      This is the 2.6.x equivalent.
      611fe944
    • Linus Torvalds's avatar
      Merge bk://linux-dj.bkbits.net/cpufreq · f07b8ab2
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      f07b8ab2
    • Linus Torvalds's avatar
      Merge bk://linux-dj.bkbits.net/agpgart · 8b0eeec2
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      8b0eeec2
    • Linus Torvalds's avatar
      Merge http://linux-acpi.bkbits.net/linux-acpi-release-2.6.0 · f028ebf3
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      f028ebf3
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · ef4604f8
      Linus Torvalds authored
      into home.osdl.org:/home/torvalds/v2.5/linux
      ef4604f8
    • Jens Axboe's avatar
      [PATCH] make ide-floppy work · dc5d9d1f
      Jens Axboe authored
      ide-floppy has screwy bio handling. I rewrote it and got confirmation
      from one tester (the only one :) that it actually works now.
      dc5d9d1f
  2. 30 Sep, 2003 6 commits