1. 21 May, 2002 3 commits
    • Christoph Hellwig's avatar
      [PATCH] buffermem_pages removal (3/5) · 628d1558
      Christoph Hellwig authored
      This one is a bit more controveral as it may break stupid userlevel
      programs:  remove the 'Buffers' field from /proc/meminfo and make
      the Cached field show the full pagecache size instead of subtracting
      the block-device backed pages.
      
      All /proc/meminfo-using programs I have (free, top) still work fine.
      628d1558
    • Christoph Hellwig's avatar
      [PATCH] buffermem_pages removal (2/5) · 44777687
      Christoph Hellwig authored
      Remove buffermem_pages showing from sgi serial code (debug only).
      44777687
    • Christoph Hellwig's avatar
      [PATCH] buffermem_pages removal (1/5) · e95bd965
      Christoph Hellwig authored
      With all work done by akpm in 2.5 Linus no more has a buffer cache
      in the traditional sense.  Still we try to keep estimates about
      what would be the buffer cache size by keeping the number of pages
      indexed by block device inodes.  This is broken not only because the
      old buffercache was also used for file data which is nowdays not
      hashed to block device inodes and thus makes every user of this data
      assume wrong numbers.  Second is is possible to use block device
      pages not through the buffer_head interface (i.e. userspace
      block device nodes, possibly JFS also soon).  In addition the atomic_t
      used for this bookkepping (buffermem_pages) causes cacheline bouncing
      on larger machines.
      
      This is the first patch of a series to get rid of it.  It removes the
      useless output of supposedly buffer pages in show_mem(), which is used
      by the magic sysrq key code.
      e95bd965
  2. 20 May, 2002 37 commits
    • Linus Torvalds's avatar
    • David Gibson's avatar
      [PATCH] Missing init.h in drivers/pci/power.c · 00f42361
      David Gibson authored
      This adds a #include to drivers/pci/power.c to define __init.  At least
      on PPC4xx this fixes compile problems.
      00f42361
    • Linus Torvalds's avatar
      c0713be8
    • Linus Torvalds's avatar
      99ef44b7
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · 6c52c43c
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      6c52c43c
    • Kai Germaschewski's avatar
      kbuild: Speed up vmlinux build · a6209819
      Kai Germaschewski authored
      The recursive build used to do the following: On entering a directory,
      we would first call make in the subdirectories listed in $(subdir-y),
      and then call make in the current directory again, with the target
      'all_targets'.
      
      The second invocation was used to make sure that the subdir makes completed
      before trying to build the O_TARGET/L_TARGET in the current dir, since
      this would link in objects in these subdirectories.
      
      However, using correct dependencies achieves the same, i.e. just
      make the objects in $(obj-y) which are not in the local subdirectory
      depend on 'sub_dirs', which is the rule to descend into subdirs.
      
      This patch actually halves the time "make vmlinux" takes when there's
      nothing to do (which makes sense, as we save half of the make invocations)
      a6209819
    • Kai Germaschewski's avatar
    • Kai Germaschewski's avatar
      kbuild: Standardize building of init/* · 5674ceba
      Kai Germaschewski authored
      There's no good reason to build the objects in init/ explicitly from
      the top-level Makefile. Instead, handle init/ like every other
      subdir, which also provides the automatic checks for a changed
      command line etc.
      5674ceba
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.misc · bdf47e98
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      bdf47e98
    • Kai Germaschewski's avatar
      Fix some compiler warnings · d3d3a50a
      Kai Germaschewski authored
      Fix some trivial variable/functions/label defined (static) but not used
      warnings.
      d3d3a50a
    • Kai Germaschewski's avatar
      Fix ext2 compilation · 974173c9
      Kai Germaschewski authored
      Removal of locks.h broke the build due to missing definition of capable()
      and current.
      974173c9
    • Linus Torvalds's avatar
      8e60e749
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.export · 80af11be
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      80af11be
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5 · 7a2b1693
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.export
      7a2b1693
    • Jack Hammer's avatar
      [PATCH] ips for 2.5 · 99baa651
      Jack Hammer authored
      ips driver update ( version 5.10.13-BETA )
      99baa651
    • Linus Torvalds's avatar
      Update kernel version to 2.5.17 · 97e87c96
      Linus Torvalds authored
      97e87c96
    • Linus Torvalds's avatar
    • Christoph Hellwig's avatar
      [PATCH] get rid of <linux/locks.h> · bd2b0c85
      Christoph Hellwig authored
      The lock.h header contained some hand-crafted lcoking routines from
      the pre-SMP days.  In 2.5 only lock_super/unlock_super are left,
      guarded by a number of completly unrelated (!) includes.
      
      This patch moves lock_super/unlock_super to fs.h, which defined
      struct super_block that is needed for those to operate it, removes
      locks.h and updates all caller to not include it and add the missing,
      previously nested includes where needed.
      bd2b0c85
    • Linus Torvalds's avatar
      Merge quota update from Jan Kara · 43a3a37b
      Linus Torvalds authored
      43a3a37b
    • Jan Kara's avatar
      [PATCH] [13/13] quota-13-ioctl · ad447df3
      Jan Kara authored
      This patch implements ioctl() for getting space used by file.
      I agree it's ioctl() abuse, it doesn't work on links and has
      other ugly properties. Better would be to change 'struct stat'
      but changing it just due to this is overkill and it will take
      some time before there will be enough changes which will provoke
      yet another struct stat :). So this is temporary solution...
      If you don't like it, simply reject it. The function it provides
      is not fundamental...
      
      So that should be all patches. Any comments (or decision about
      including/not including) welcome.
      								Honza
      ad447df3
    • Jan Kara's avatar
      [PATCH] [12/13] quota-12-compat · 1c5bbffe
      Jan Kara authored
      This patch implements configurable backward compatible quota interface.
      Maybe this isn't needed in 2.5 but as some people want to use patches
      in 2.4 where it's necessary I have implemented it.
      1c5bbffe
    • Jan Kara's avatar
      [PATCH] [11/13] quota-11-sync · 736e690e
      Jan Kara authored
      Implemented proper syncing of dquots - ie. also global information
      about quota files are synced. We find info to sync by walking through
      all superblocks...
      736e690e
    • Jan Kara's avatar
      [PATCH] [10/13] quota-10-inttype · 0c532315
      Jan Kara authored
      Remove use of 'short' in parameters of functions. 'int' is used instead.
      0c532315
    • Jan Kara's avatar
      [PATCH] [9/13] quota-9-format2 · 8ea6f99a
      Jan Kara authored
      Implementation of new quota format. The code is almost the same
      as in -ac versions of kernel. All the code for new format is in
      quota_v2.c
      8ea6f99a
    • Jan Kara's avatar
      [PATCH] [8/13] quota-8-format1 · dcfb8111
      Jan Kara authored
      Implementation of old quota format. All the code for old format is now in
      quota_v1.c. Code mostly remained the same as in older kernels (just minor
      changes were needed to bind it with quota interface).
      dcfb8111
    • Jan Kara's avatar
      [PATCH] [7/13] quota-7-quotactl · b5abbc1f
      Jan Kara authored
      This is probably the largest chunk in quota patches. It removes old quotactl interface
      and implements new one. New interface should not need arch specific conversions so they
      are removed. All quota interface stuff is moved to quota.c so we can
      easily separate things which should be compiled even if quota is disabled (mainly
      because XFS needs some interface even if standard VFS quota is disabled).
      Callbacks to filesystem on quota_on() and quota_off() are implemented (needed by Ext3),
      quota operations callbacks are now set in super.c on superblock initialization and
      not on quota_on(). This way it starts to make sense to have callbacks on alloc_space(),
      alloc_inode() etc. as filesystem can override them on read_super(). This will be used
      later for implementing journalled quota.
      b5abbc1f
    • Jan Kara's avatar
      [PATCH] [6/13] quota-6-bytes · ce9fb139
      Jan Kara authored
      This patch implements counting of used space in inodes in bytes.
      New field i_bytes is added and used space modulo 512 is kept in
      it (rest is still kept in i_blocks). Functions manipulating both
      i_blocks and i_bytes are implemented (inode_add_bytes(), inode_sub_bytes()
      and inode_set_bytes()). Filesystems allocating only in whole blocks
      can safely ignore i_bytes field and continue using i_blocks...
      ce9fb139
    • Jan Kara's avatar
      [PATCH] [5/13] quota-5-space · f0071c7b
      Jan Kara authored
      This patch implements accounting of used space in bytes.
      f0071c7b
    • Jan Kara's avatar
      [PATCH] [4/13] quota-4-getstats · f48acc23
      Jan Kara authored
        This patch moves reporting of quota statistics from Q_GETSTATS call to
      /proc/fs/quota. Also reporting of registered quota formats is added.
      f48acc23
    • Jan Kara's avatar
      [PATCH] [3/13] quota-3-register · 48c39f24
      Jan Kara authored
        This patch implements list 'quota_formats' with registered quota formats
      and functions register_quota_format() and unregister_quota_format() for
      manipulating the list.
      48c39f24
    • Jan Kara's avatar
      [PATCH] [2/13] quota-2-formats · b80d2549
      Jan Kara authored
      This patch removes most format dependent code from dquot.c and quota.h
      and puts calls of callback functions instead.
      b80d2549
    • Jan Kara's avatar
      [PATCH] [1/13] quota-1-newlocks · 61d681d6
      Jan Kara authored
        This patch adds dq_dup_ref to struct dquot. Functions altering just usage of
      quota take just this duplicated reference, inodes, quotactl() helpers take real
      dq_count reference. dqput() blocks if there are some duplicated references and
      put reference is last 'real one'. This way is assured that quota IO is not
      done from functions altering quota usage (quota structure is written on last dqput()).
      61d681d6
    • Linus Torvalds's avatar
      Merge · 6033f024
      Linus Torvalds authored
      6033f024
    • Jan Harkes's avatar
      [PATCH] iget_locked [6/6] · 9b406173
      Jan Harkes authored
      As of the last patch the inode_hashtable doesn't really need to be
      indexed by i_ino anymore, the only reason we still have to keep the
      hashvalue and i_ino identical is because of insert_inode_hash.
      
      If at some point a FS specific getattr method is implemented it will be
      possible to completely remove any use of i_ino by the VFS.
      9b406173
    • Jan Harkes's avatar
      [PATCH] iget_locked [5/6] · aa624c8d
      Jan Harkes authored
      This patch starts taking i_ino dependencies out of the VFS. The FS
      provided test and set callbacks become responsible for testing and
      setting inode->i_ino.
      
      Because most filesystems are based on 32-bit unique inode numbers
      several functions are duplicated to keep iget_locked as a fast path. We
      can avoid unnecessary pointer dereferences and function calls for this
      specific case.
      aa624c8d
    • Jan Harkes's avatar
      [PATCH] iget_locked [4/6] · 16fb4ea3
      Jan Harkes authored
      Now that we have no more users of iget4 we can kill the function and the
      associated read_inode2 callback (i.e. the 'reiserfs specific hack').
      
      Document iget5_locked as the replacement for iget4 in filesystems/porting.
      16fb4ea3
    • Jan Harkes's avatar
      [PATCH] iget_locked [3/6] · 77d1ac9b
      Jan Harkes authored
      Convert existing filesystems (Coda/NFS/ReiserFS) that currently use
      iget4 to iget5_locked.
      77d1ac9b