1. 29 May, 2002 13 commits
  2. 28 May, 2002 27 commits
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-ok · 2ce8d421
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-drivers
      2ce8d421
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-ok · 1eeca271
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
      1eeca271
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5 · 4fd5bb5d
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-ok
      4fd5bb5d
    • Linus Torvalds's avatar
      Add missing thermal interrupt prototype. · 2cc6f920
      Linus Torvalds authored
      2cc6f920
    • Kai Germaschewski's avatar
      kbuild: Provide correct 'make some/dir/file.[iso]' · 7a897475
      Kai Germaschewski authored
      Don't include Rules.make in the top-level Makefile, we don't
      actually build anything from there, so we don't need the rules.
      
      If asked to build some file in a subdirectory, descend into the
      subdir and build it from there - only there we can know what
      extra flags etc we have to add.
      
      This also works for building preprocessed [.i] and assembler
      output [.s].
      7a897475
    • Brian Gerst's avatar
      [PATCH] fix thermal_interrupt · 6bfd6b8f
      Brian Gerst authored
      The asm stub for thermal_interrupt was not being created.
      6bfd6b8f
    • Kai Germaschewski's avatar
      kbuild: Build targets locally · 04a8c2f5
      Kai Germaschewski authored
      Targets should always be built from the Makefile local to the subdir
      they are in. So build scripts/* from scripts/Makefile.
      
      Clean up scripts/Makefile as we go.
      04a8c2f5
    • Kai Germaschewski's avatar
      kbuild: beautify Makefile / Rules.make... · 999281bc
      Kai Germaschewski authored
      Basically only cosmetics, and move the 'update-modverfile:'
      rule from Rules.make to the top-level Makefile, since that's the
      only place where it's used.
      999281bc
    • Rusty Russell's avatar
      [PATCH] DIE "Russel", DIE! · d8ecee59
      Rusty Russell authored
      My name is *not* GPL: you may not derive works without approval.
      
      Rusty.
      PS.  I've also applied for a patent...
      d8ecee59
    • Linus Torvalds's avatar
      Allocate new mm_struct for execve() early, so that we have · 83ca4c7e
      Linus Torvalds authored
      access to it by the time we start copying arguments.
      
      We don't actually use it at this point yet.
      83ca4c7e
    • Kai Germaschewski's avatar
    • Kai Germaschewski's avatar
      kbuild: Group together descending/linking in drivers/* · dc3b2a73
      Kai Germaschewski authored
      We currently decide whether we need to descend into the subdirs of
      drivers/ in drivers/Makefile, but link the resulting objects from
      the top-level Makefile.
      
      Making these two decisions at the same time (in drivers/Makefile) cleans
      up the top-level Makefile quite a bit.
      
      Link order does not change at all apart from sound/, which is now linked
      last.
      dc3b2a73
    • Kai Germaschewski's avatar
      Merge http://linus.bkbits.net/linux-2.5 · faf7b0b0
      Kai Germaschewski authored
      into hostme.bitkeeper.com:/ua/repos/l/linux-isdn/linux-2.5.make
      faf7b0b0
    • Brian Gerst's avatar
      [PATCH] i386 mm init cleanup part 2 · bbe302ee
      Brian Gerst authored
      The remaining cleanups are to switch to using pfn instead of vaddr, and
      improve readability.
      bbe302ee
    • Brian Gerst's avatar
      [PATCH] i386 mm init cleanup part 1 · 131ca9c0
      Brian Gerst authored
      This revised patch starts untangling the mess in arch/i386/mm/init.c
      - Pull setting bits in cr4 out of the loop
      - Make __PAGE_KERNEL a variable and cache the global bit there.
      - New pfn_pmd() for large pages.
      131ca9c0
    • Brian Gerst's avatar
      [PATCH] i386 head.S cleanup · 81d3703c
      Brian Gerst authored
      Cleans up some redundant code in head.S:
      - Combine checking of AC and ID eflags.
      - Streamline the setting of %cr0.
      81d3703c
    • Linus Torvalds's avatar
      Remove re-use of "struct mm_struct" at execve() time. · 1d0c3d18
      Linus Torvalds authored
      This will eventually allow us to copy argc/argv without
      any intermediate storage (removing current argument size
      limitations).
      1d0c3d18
    • Patrick Mochel's avatar
      Merge master.kernel.org:/home/mochel/BK/linux-2.5-linus · ff0ce79f
      Patrick Mochel authored
      into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-linus
      ff0ce79f
    • Kai Germaschewski's avatar
      kbuild: Don't overwrite Rules.make's first_rule · 89a6351c
      Kai Germaschewski authored
      Many Makefiles did a put an own rule in front of 
      "include $(TOPDIR)/Rules.make" for no good reason at all,
      the only places where it made sense are converted to using
      EXTRA_TARGETS now.
      89a6351c
    • Trond Myklebust's avatar
      [PATCH] Clean out routines that were obsoleted by previous · 4873da0e
      Trond Myklebust authored
      Remove obsolete NFS and RPC routines.
      Remove 'inline' attribute from xdr_decode_fattr().
      4873da0e
    • Trond Myklebust's avatar
      [PATCH] RPC client receive deadlock removal on HIGHMEM systems · 68c45a68
      Trond Myklebust authored
      Remove another class of rpciod deadlocks on HIGHMEM systems. Kick habit of
      keeping pages kmap()ed for the entire duration of NFS
      read/readdir/readlink operations.
      
      Use struct page directly in RPC client data receive buffer. TCP and UDP
      sk->data_ready() bottom-halves copy (and checksum when needed) data into
      pages rather than iovecs. atomic_kmap() of single pages is used for the
      copy.
      
      include/linux/xdr.h
         Declare structure for copying an sk_buff here rather than in xprt.c.
         Forward declaration of new functions.
      
      include/linux/sunrpc/xprt.h
         RPC client receive buffer changed to use new format 'struct xdr_buf'.
      
      net/sunrpc/clnt.c
         Initialize new format receive buffer.
      
      net/sunrpc/sunrpc_syms.c
         Export xdr_inline_pages(), xdr_shift_buf()
      
      net/sunrpc/xdr.c
         xdr_inline_pages() inlines pages into the receive buffer.
         xdr_partial_copy_from_skb() replaces csum_partial_copy_to_page_cache()
      	and copy code in tcp_read_request(). Provides sendfile()-style
      	method for copying data from an skb into a struct xdr_buf.
         xdr_shift_buf() replaces xdr_shift_iovec() for when we overestimate
      	the size of the RPC/NFS header.
      
      net/sunrpc/xprt.c
         Adapt UDP and TCP receive routines to use new format xdr_buf.
      
      include/linux/nfs_xdr.h
         struct nfs_readargs, nfs_readdirargs, nfs_readlinkargs,
      	nfs3_readdirargs, nfs3_readlinkargs all transmit page information.
         struct nfs_readdirres, nfs_readlinkres, nfs3_readlinkres obsoleted.
         struct nfs_rpc_ops->readlink(), readdir(), read() now send pages
      
      fs/nfs/dir.c
         Adapt to new format ->readdir().
         Avoid kmap() around the RPC call.
      
      fs/nfs/read.c
         Adapt to new format ->read() and struct nfs_readargs.
      
      fs/nfs/symlink.c
         Adapt to new format ->readlink().
      
      fs/nfs/proc.c
         Convert nfs_proc_readlink(), nfs_proc_readdir(), nfs_proc_read()
      
      fs/nfs/nfs2xdr.c
         Convert XDR routines to transmit page information.
         Remove duplicate zeroing of pages when server returns a short read.
      
      fs/nfs/nfs3proc.c
         Convert nfs3_proc_readlink(),nfs3_proc_readdir(),nfs3_proc_read()
      
      fs/nfs/nfs3xdr.c
         Convert XDR routines to transmit page information.
         Remove duplicate zeroing of pages when server returns a short read.
      
      Cheers,
        Trond
      68c45a68
    • Trond Myklebust's avatar
      [PATCH] Teach RPC client to send pages rather than iovecs. · 9f73fdbc
      Trond Myklebust authored
      Stop rpciod from deadlocking against itself in map_new_virtual() on HIGHMEM
      systems. RPC client currently has to keep all pages that are scheduled for
      transmission kmap()ed into an iovec for the entire duration of the call.
      We only actually need to kmap() pages while making the (non-blocking)
      call to sock_sendmsg().
      
      NOTE: When transmitting several pages in one RPC call, sock_sendmsg()
      requires us to kmap() *all* those pages at the same time. Opens for
      deadlocks between rpciod and some other process that also kmaps more
      than 1 page at a time.
      For the TCP case we can solve later by converting to TCP_CORK+sendpage().
      
      include/linux/sunrpc/xdr.h
         Introduce 'struct xdr_buf' in order to allow RPC layer to handle
         pages directly.
      
      include/linux/sunrpc/xprt.h:
         Convert the RPC client send-buffer to the new format.
      
      net/sunrpc/clnt.c
         Initialize the new format RPC send-buffer.
      
      net/sunrpc/sunrpc_syms.c
         Export xdr_encode_pages()
      
      net/sunrpc/xdr.c
         xdr_kmap() kmap()+copy a struct xdr_buf into an iovec array.
         xdr_kunmap() clean up after xdr_kmap().
         xdr_encode_pages() used to inline pages for transmission.
      
      net/sunrpc/xprt.c
         xprt_sendmsg() needs to kmap() the pages into an iovec for transmission.
      
      include/linux/nfs_xdr.h
         struct nfs_writeargs transmits full page information.
         Convert nfs_rpc_ops->write() to send pages.
      
      fs/nfs/write.c
         Adapt to new format nfs_writeargs / nfs_rpc_ops->write()
      
      fs/nfs/proc.c
         Convert nfs_proc_write().
      
      fs/nfs/nfs2xdr.c
         Convert nfs_xdr_writeargs()
      
      fs/nfs/nfs3proc.c
         Convert nfs3_proc_write().
      
      fs/nfs/nfs3xdr.c
         Convert nfs3_xdr_writeargs()
      
      Cheers,
         Trond
      9f73fdbc
    • Luca Barbieri's avatar
      [PATCH] [2.4] [2.5] Fix PPPoATM crash on disconnection · b2521b9c
      Luca Barbieri authored
      PPPoATM uses tasklet_disable() on a tasklet inside a struct and then
      frees the struct, leaving a pointer to the freed tasklet inside tasklet
      lists.
      
      This patch replaces tasklet_disable() with tasklet_kill().
      b2521b9c
    • Linus Torvalds's avatar
      Merge signal arch cleanups · f7e837b2
      Linus Torvalds authored
      f7e837b2
    • Stephen Rothwell's avatar
      [PATCH] consolidate errno definitions · 2cf5814b
      Stephen Rothwell authored
      Just remove duplicates among the asm-*/errno.h.
      2cf5814b
    • Stephen Rothwell's avatar
      [PATCH] consolidate do_signal · e9946e06
      Stephen Rothwell authored
      11 out of our 17 architectures have basically the same code
      in arch/../kernel/signal.c:do_signal.  This patch creates a
      common function for that bit of code and uses it in the places
      it can be.
      
      The 2.5.15 version of this patch builds and runs on i386 and PPC and has
      been briefly looked at by the CRIS, PARISC, PPC64 and x86_64 maintainers.
      
      As a bonus, this fixes the "ignore SIGURG" bug for 9 more architectures
      (i386 and PPC already were fixed).
      e9946e06
    • Stephen Rothwell's avatar
      [PATCH] consolidate generic peices of the siginfo structures and associated stuff · 6ba85d4c
      Stephen Rothwell authored
      This patch creates asm-generic/siginfo.h and uses it to remove a
      lot of duplicate code in the various asm-*/siginfo.h files.  Some
      if it is a little ugly, but I think it will be worth it just to
      help us eliminate some of the bugs that have come from code copying.
      6ba85d4c