1. 31 Oct, 2002 21 commits
    • Andy Grover's avatar
      Merge groveronline.com:/root/bk/linux-2.5 · e873fd89
      Andy Grover authored
      into groveronline.com:/root/bk/linux-acpi
      e873fd89
    • Andy Grover's avatar
      0da54fb8
    • Andy Grover's avatar
      ACPI: · f0f91a9f
      Andy Grover authored
      - Clean up debug-only code
      - Fix typo
      - Correct walking of namespace, to prevent disappearance of processor and
        thermal zone objects
      - Fix button add calls to have the right handle (i.e. none)
      - Prevent spurious cpufreq error
      f0f91a9f
    • Linus Torvalds's avatar
      Merge bk://extfs.bkbits.net/extfs-2.5-update · 6e6e099b
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      6e6e099b
    • Gerd Knorr's avatar
      [PATCH] new v4l2 driver: saa7134 · e12a2bd0
      Gerd Knorr authored
      This patch adds a new device driver to the linux kernel.  It is for TV
      cards based on the Philips SAA7134 chip.  It supports the v4l2 API and
      thus depends on the v4l2 patches of the previous mails.
      e12a2bd0
    • Gerd Knorr's avatar
      [PATCH] bttv update · 8354eb8a
      Gerd Knorr authored
      This updates the bttv driver.  Major changes are (a) adaptions to the
      final v4l2 API and (b) lots of updates in the card-specific code.  There
      are also various other small changes.
      8354eb8a
    • Gerd Knorr's avatar
      [PATCH] bttv documentation update · 3344276f
      Gerd Knorr authored
      3344276f
    • Gerd Knorr's avatar
      [PATCH] tv tuner driver update · 055c508e
      Gerd Knorr authored
      This is a update for the tv tuner module.  It makes the descriptions
      more verbose and also has some minor bugfixes + cleanups.
      055c508e
    • Gerd Knorr's avatar
      [PATCH] add v4l2 api · e028b61b
      Gerd Knorr authored
      This adds the v4l2 API to the linux kernel.
      
      The first, original video4linux API has a number of design bugs.  They
      are fixed in this new API revision.  It already exists for quite some
      time.  Last weeks it got a number of cleanups based on the experiences
      of the last years (drop stuff nobody uses, fix some inconsistencies).
      We consider it being in a pretty good shape now and like to see it in
      2.6.
      
      This patch is basically the header file with all the structs and ioctls
      in there.  A small module with some helper functions for v4l2 drivers is
      included too.  Related updates (bttv, ...) will follow as separate
      patches.
      e028b61b
    • Gerd Knorr's avatar
      [PATCH] videobuf update · b7649ef7
      Gerd Knorr authored
      This updates the video-buf.c module (helper module for video buffer
      management).  Some memory management fixes, also some adaptions to the
      final v4l2 api.
      b7649ef7
    • Robert Love's avatar
      [PATCH] decoded wchan in /proc · 2f61876e
      Robert Love authored
      This implements a pre-decoded wchan in /proc using kallsyms.  I.e.:
      
              [21:23:17]rml@phantasy:~$ cat /proc/1228/wchan
              wait4
      
      Which, aside from being cool, means procps will not have to parse
      Sysyem.map for each process.  In fact, procps will no longer require
      System.map.
      
      If CONFIG_KALLSYMS is not enabled, /proc/#/wchan does not exist to
      conserve memory.  Regardless of CONFIG_KALLSYMS's value, the old wchan
      field in /proc/#/stat still exists.
      
      I have a procps patch I will merge once this is in your tree.
      2f61876e
    • Robert Love's avatar
      [PATCH] hyper-threading info in /proc/cpuinfo · 3ccd5369
      Robert Love authored
      This adds hyper-threading information to /proc/cpuinfo, if relevant: the
      physical processor id and the number of sibling units in this core.
      
      The naming of the fields were debated a bit on lkml and the names below
      offend the least number of people, do not break glibc, and are the same
      as those in 2.4-ac.
      
      This is in 2.4-ac, 2.5-mm, and vendor kernels from RedHat, SuSE, etc.
      3ccd5369
    • John Levon's avatar
      [PATCH] oprofile: tiny makefile tidy · 14029c7b
      John Levon authored
      14029c7b
    • John Levon's avatar
      [PATCH] fix timer_pit.c warning · 213afbef
      John Levon authored
      make x86_do_profile available when UP=y,LOCAL_APIC=n
      213afbef
    • Andrew Morton's avatar
      [PATCH] hugetlbfs backing for SYSV shared memory · bba2dd58
      Andrew Morton authored
      From Bill Irwin
      
      Optionally back priviled processes' shm with hugetlbfs.
      
      One of the more common requests for and/or users of hugetlb interfaces
      in general are databases using shm.  This patch exports functionality
      mostly equivalent to tmpfs, adds the calling sequence to ipc/shm.c, and
      hashes out a small support function in fs/hugetlbfs/inode.c so that shm
      segments may be hugetlbpage-backed if userspace passes a flag to
      shmget().
      
      Access to this resource requires CAP_IPC_LOCK.
      bba2dd58
    • Andrew Morton's avatar
      [PATCH] hugetlbfs file system · 9f3336ab
      Andrew Morton authored
      From Bill Irwin
      
      Tiny hugetlbpage ram-backed filesystem.
      
      Some way to export hugetlbfs through more standard system call
      interfaces was needed, and hugetlbfs already had inodes with ratnodes
      etc.  used to track offset -> page translations, so adding the rest of
      a filesystem around it was easy and natural.  Most of it is identical
      to ramfs, except ->f_op->mmap() is now just a wrapper around the
      hugetlb_prefault() to fill in the VMA, and to simplify it,
      ->readpage(), ->prepare_write(), and ->commit_write() are omitted.
      
      Permissions:
      
      (1) check capable(CAP_IPC_LOCK) in ->f_ops->mmap
              This may be redundant but it errors out with less state to
              clean up and at least clarifies the fact that checks are
              being performed at the relevant entry points.
      
      (2) check capable(CAP_IPC_LOCK) in hugetlbfs_zero_setup()
              This is called at shmget() time and is an actual potential
              security hole. hugetlb_prefault() does not perform this
              check itself, so it must be done here.
      9f3336ab
    • Andrew Morton's avatar
      [PATCH] fix hugetlb thinko · 1541c38b
      Andrew Morton authored
      It's setting the page count on the wrong page.
      1541c38b
    • Andrew Morton's avatar
      [PATCH] hugetlb fixes andhugetlb fixes and cleanups cleanups · b2229e8d
      Andrew Morton authored
      huge_page_release()             -- hugepage refcounting
      free_huge_page()                -- separates freeing from inode refcounting
      unmap_hugepage_range()          -- unmapping refcounting hook when locked
      zap_hugepage_range()            -- unmappping refcounting hook when unlocked
      export setattr_mask()           -- hugetlbfs wants to call it
      export destroy_inode()          -- hugetlbfs wants to use it
      export unmap_vma()              -- hugetlbpage.c wants to use it
      unlock_page() in hugetlbpage.c  -- fixes deadlock in hugetlbfs_truncate()
      b2229e8d
    • Andrew Morton's avatar
      [PATCH] Move hugetlb declarations into their own header · 5c7eb9d8
      Andrew Morton authored
      From Bill Irwin
      
      Move hugetlb and hugetlbfs declarations into a dedicated header file.
      
      Hugetlb's big #ifdeffed block in mm.h got a lot bigger with hugetlbfs.
      This patch basically attempts to remove the noise from mm.h by simply
      rearranging it into a new header, and fixing all users of hugetlb.
      5c7eb9d8
    • Andrew Morton's avatar
      [PATCH] hugetlbpages: factor out some code for hugetlbfs · d38c229c
      Andrew Morton authored
      In order for hugetlbfs to operate, prefaulting the vma at mmap()-time
      while simultaneously instantiating and performing lookups on its
      ratcache entries is needed as an isolated operation.  This is
      implemented as part of a different function within hugetlbpage.c that
      ties it to inode and key lookup and allocation.
      
      The following patch simply moves the code already present into its own
      function, calls it, and makes it available for hugetlbfs to use.
      d38c229c
    • Roman Zippel's avatar
      [PATCH] check QT only if needed · e66c772c
      Roman Zippel authored
      On Wed, 30 Oct 2002, Aaron Lehmann wrote:
      >
      > Now running 'make oldconfig' or 'make menuconfig' requires a Qt
      > installation. I believe that this is a bug because these still work
      > fine without Qt when the -k flag is passed to make.
      
      Yes, it's a bug. This fixes it without breaking xconfig.
      e66c772c
  2. 30 Oct, 2002 19 commits
    • Theodore Y. Ts'o's avatar
      Port of (bugfixed) 0.8.50 acl-ext2 to 2.5 · 12538ad0
      Theodore Y. Ts'o authored
      This patch adds ACL support to the ext2 filesystem.
      12538ad0
    • Theodore Y. Ts'o's avatar
      Port of (bugfixed) 0.8.50 acl-ext3 to 2.5. · 651d4694
      Theodore Y. Ts'o authored
      This patch adds ACL support to the ext3 filesystem.
      651d4694
    • Theodore Y. Ts'o's avatar
      Port 0.8.50 acl-xattr patch to 2.5 (harmonize header file with SGI/XFS) · dcdc0bd8
      Theodore Y. Ts'o authored
      This patch provides converts extended attributes passed in from user
      space to a generic Posix ACL representation.
      dcdc0bd8
    • Theodore Y. Ts'o's avatar
      Port of 0.8.50 acl-ms-posixacl patch to 2.5 · 14183fd4
      Theodore Y. Ts'o authored
      This patch (as well as the previous one) implements core ACL support
      which is needed for XFS as well as ext2/3 ACL support.  It causes umask
      handling to be skilled for inodes that contain POSIX acl's, so that the
      original mode information can be passed down to the low-level fs code,
      which will take care of handling the umask.
      14183fd4
    • Theodore Y. Ts'o's avatar
      Port of 0.8.50 acl patch to 2.5 · 762b1b86
      Theodore Y. Ts'o authored
      This patch (as well as the following two) implements core ACL support.
      This set of convenience functions is used by the ext2/3 filesystem, 
      and may be useful to other filesystems that wish to use "struct posix_acl"
      as their internal representation of acl's.  User mode tools which
      support this interface may be found at http://acl.bestbits.at
      762b1b86
    • Theodore Y. Ts'o's avatar
      Port of (bugfixed) 0.8.50 xattr-ext2 to 2.5 (w/ hch cleanups. mbcache API) · 8603affb
      Theodore Y. Ts'o authored
      This patch adds extended attribute support to the ext2 filesystem.  This
      uses the generic extended attribute patch which was developed by Andreas
      Gruenbacher and the XFS team.  As a result, the user space utilities
      which work for XFS will also work with these patches.
      8603affb
    • Theodore Y. Ts'o's avatar
      Port of (bugfixed) 0.8.50 xattr-ext3 to 2.5 (w/ hch cleanups. mbcache API) · f7cfad91
      Theodore Y. Ts'o authored
      This patch adds extended attribute support to the ext3 filesystem.  This
      uses the generic extended attribute patch which was developed by Andreas
      Gruenbacher and the XFS team.  As a result, the user space utilities
      which work for XFS will also work with these patches.
      f7cfad91
    • Theodore Y. Ts'o's avatar
      Port of the 0.8.50 xattr-mbcache patch to 2.5. (Shrinker API, hch cleanups) · 7cbc2add
      Theodore Y. Ts'o authored
      (now uses struct block_device * to index devices, and uses hash.h for hash function)
      
      This patch creates a meta block cache which is utilized by the ext3 and
      ext2 extended attribute patch (patches 2 and 3, respectively).  This
      cache allows directory blocks to be indexed by multiple keys.  In the
      case of the extended attribute patches, it is used to look up blocks by
      both the block number and by the hash of the extended attributes.  This
      is extremely important to allow the sharing of acl's when stored as
      extended attributes.  Otherwise every single file would require its own,
      separate, one block overhead to store then ACL, even though there might
      be a large number of files that have the same ACL.
      7cbc2add
    • Theodore Y. Ts'o's avatar
      Ext2/3 forward compatibility: inode size · 216114b9
      Theodore Y. Ts'o authored
      This patch allows filesystems with expanded inodes to be mounted.
      (compatibility feature flags will be used to control whether or not the
      filesystem should be mounted in case the new inode fields will result in
      compatibility issues).  This allows for future compatibility with newer
      versions of ext2fs.
      216114b9
    • Theodore Y. Ts'o's avatar
      Ext2/3 forward compatibility: on-line resizing · 1142d28b
      Theodore Y. Ts'o authored
      This patch allows forward compatibility with future filesystems which
      are dynamically grown by using an alternate algorithm for storing the
      block group descriptors.  It's also a bit more efficient, in that it
      uses just a little bit less disk space.  Currently, the ext2 filesystem
      format requires either relocating the inode table, or reserving space in
      before doing the on-line resize.  The new scheme, which is documented in
      "Planned Extensions to the Ext2/3 Filesystem", by Stephen Tweedie and I 
      (see: http://e2fsprogs.sourceforge.net/extensions-ext23)
      1142d28b
    • Theodore Y. Ts'o's avatar
      Default mount options from superblock for ext2/3 filesystems · 841d9227
      Theodore Y. Ts'o authored
      This patch adds support for default mount options to be stored in the
      superblock, so they don't have to be specified on the mount command line
      (or in /etc/fstab).  While I was in the code, I also cleaned up the
      handling of how mount options are processed in the ext2 and ext3
      filesystems.
      
      Most mount options are now processed *after* the superblock has been
      read in.  This allows for a much cleaner handling of those default mount
      option parameters that were already stored in the superblock: the
      resuid, resgid, and s_errors fields were handled using some fairly gross
      special cases.  Now the only mount option which is processed first is
      the sb option, which specifies the location of the superblock.  This
      allows the handling of all of the default mount parameters to be much
      more cleanly and more generally handled.
      
      This does change the behaviour from earlier kernels, in that if the sb
      mount option is specified, it must be specified *first*.  However, this
      option is rarely used, and if it is, it generally is specified first, so
      this seems to be a reasonable restriction.
      841d9227
    • Linus Torvalds's avatar
      Linux v2.5.45. For real this time. · b1b782f7
      Linus Torvalds authored
      b1b782f7
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · dc85a09d
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      dc85a09d
    • Neil Brown's avatar
      [PATCH] kNFSd: Convert nfsd to use a list of pages instead of one big buffer · a0e7d495
      Neil Brown authored
      This means:
        1/ We don't need an order-4 allocation for each nfsd that starts
        2/ We don't need an order-4 allocation in skb_linearize when
           we receive a 32K write request
        3/ It will be easier to incorporate the zero-copy read changes
      
      The pages are handed around using an xdr_buf (instead of svc_buf)
      much like the NFS client so future crypto code can use the same
      data structure for both client and server.
      
      The code assumes that most requests and replies fit in a single page.
      The exceptions are assumed to have some largish 'data' bit, and the
      rest must fit in a single page.
      The 'data' bits are file data, readdir data, and symlinks.
      There must be only one 'data' bit per request.
      This is all fine for nfs/nlm.
      
      This isn't complete:
        1/ NFSv4 hasn't been converted yet (it won't compile)
        2/ NFSv3 allows symlinks upto 4096, but the code will only support
           upto about 3800 at the moment
        3/ readdir responses are limited to about 3800.
      
      but I thought that patch was big enough, and the rest can come
      later.
      
      
      This patch introduces vfs_readv and vfs_writev as parallels to
      vfs_read and vfs_write.  This means there is a fair bit of
      duplication in read_write.c that should probably be tidied up...
      a0e7d495
    • Neil Brown's avatar
      [PATCH] kNFSd: nfsd_readdir changes. · 335c5fc7
      Neil Brown authored
      nfsd_readdir - the common readdir code for all version of nfsd,
      contains a number of version-specific things with appropriate checks,
      and also does some xdr-encoding which rightly belongs elsewhere.
      
      This patch simplifies nfsd_readdir to do just the core stuff, and moves
      the version specifics into version specific files, and the xdr encoding
      into xdr encoding files.
      335c5fc7
    • Neil Brown's avatar
      [PATCH] kNFSd: Fix problem with buffer length with rpc/tcp · f319e5fa
      Neil Brown authored
      I forgot to add '1' for the record-length header in RPC/TCP.
       Thanks to  Hirokazu Takahashi <taka@valinux.co.jp>
      f319e5fa
    • Neil Brown's avatar
      [PATCH] kNFSd: Make sure export_open cleans up on failure. · 988d8f66
      Neil Brown authored
      Currently if the kmalloc in exports_open fails,
      the seq_file isn't seq_released.
      
      We now do the kmalloc first, and make sure to kfree
      if seq_open fails.
      988d8f66
    • Neil Brown's avatar
      [PATCH] kNFSd: Fix nfs shutdown problem. · b9d189e5
      Neil Brown authored
      The 'unexport everything' that happens when the
      last nfsd thread dies was shuting down too much -
      things that should only be shut down on module unload.
      b9d189e5
    • Matthew Dobson's avatar
      [PATCH] Remove sole CONFIG_MULIQUAD in kernel source · 23518c21
      Matthew Dobson authored
      There is one remaining instance of CONFIG_MULTIQUAD in the kernel source.
      
      Fix it to use the proper CONFIG_X86_NUMAQ instead.
      23518c21