1. 05 Oct, 2003 9 commits
    • Andrew Morton's avatar
      [PATCH] document the macro for translating PROT_ to VM_ bits · 62f75b29
      Andrew Morton authored
      From: Muli Ben-Yehuda <mulix@mulix.org>
      
      Shed some much-needed light.
      62f75b29
    • Andrew Morton's avatar
      [PATCH] compat ioctl consolidation · f7719648
      Andrew Morton authored
      From: Arun Sharma <arun.sharma@intel.com>, kevin.tian@intel.com
      
      Move a whole bunch of filesystem ioctl conversion functions out of per-arch
      files and into fs/compat_ioctl.c
      
      It moves linux32_dirent to compat.h and renames it as compat_dirent. 
      linux32_dirent has been eliminated from ia64.  Other archs should do the
      same.
      
      We'll leave old_linux_dirent32 as is, since it seems to be arch specific
      (ia64 doesn't use it for example).
      f7719648
    • Andrew Morton's avatar
      [PATCH] node enumeration fixes · ca887863
      Andrew Morton authored
      From: Matthew Dobson <colpatch@us.ibm.com>
      
      Here's a small update to the numnodes fix that went into -mm3.  The biggest
      changes are:
      
      1) move the actual NODES_SHIFT and MAX_NUMNODES definitions into
         linux/numa.h and include this in linux/mmzone.h, instead of being
         directly in linux/mmzone.h.  This allows other files to include *just*
         the NUMNODES stuff w/out grabbing all of mmzone.h.
      
      2) pull NODE_SHIFT out of linux/mm.h.  This isn't used anywhere in the
         kernel, and it will only get confused with NODES_SHIFT.
      
      3) Fix the IA64 patch.  The original patch I had sent out hadn't been
         tested on IA64.  It was mostly right, but there were circular
         dependencies.  All better now, and acked by Jesse.
      
      4) In linux/mmzone.h, insert code to define MAX_NODES_SHIFT based on the
         size of unsigned long.  For 64-bit arches, we can have a much larger
         value.  This allows IA64 to have 100's or 1000's of nodes.
         MAX_NODES_SHIFT is defined as 10 (ie: 1024 nodes) for 64-bit for now,
         although it could likely be much larger.  For 32-bit it is 6 (ie: 64
         nodes).
      
      5) Small cleanup in include/asm-arm/memory.h.  Mostly the result of the
         new linux/numa.h file.  Much cleaner and more readable now.
      ca887863
    • Andrew Morton's avatar
      [PATCH] Clean up MAX_NR_NODES/NUMNODES/etc. [5/5] · d5135580
      Andrew Morton authored
      From: Matthew Dobson <colpatch@us.ibm.com>
      
      Fix up the ia64 arch.
      d5135580
    • Andrew Morton's avatar
      [PATCH] Clean up MAX_NR_NODES/NUMNODES/etc. [4/5] · b9fa8456
      Andrew Morton authored
      From: Matthew Dobson <colpatch@us.ibm.com>
      
      Fix up the arm arch.  This needs to be reviewed.  Relatively
      straightforward replacement of NR_NODES with standard MAX_NUMNODES.
      b9fa8456
    • Andrew Morton's avatar
      [PATCH] Clean up MAX_NR_NODES/NUMNODES/etc. [3/5] · dbe97702
      Andrew Morton authored
      From: Matthew Dobson <colpatch@us.ibm.com>
      
      Fix up the sh arch.  sh defined NR_NODES, change sh to use standard
      MAX_NUMNODES instead.
      dbe97702
    • Andrew Morton's avatar
      [PATCH] Clean up MAX_NR_NODES/NUMNODES/etc. [2/5] · 5bdcf4f8
      Andrew Morton authored
      From: Matthew Dobson <colpatch@us.ibm.com>
      
      Remove MAX_NR_NODES.  This value is only used in a couple of places, and
      it's incorrectly used in all those places as far as I can tell.  Replace
      with MAX_NUMNODES.  Create MAX_NODES_SHIFT and use this value to check
      NODES_SHIFT is appropriate.  A possible future patch should make
      MAX_NODES_SHIFT vary based on 32 vs.  64 bit archs.
      5bdcf4f8
    • Andrew Morton's avatar
      [PATCH] Clean up MAX_NR_NODES/NUMNODES/etc. [1/5] · c72da22f
      Andrew Morton authored
      From: Matthew Dobson <colpatch@us.ibm.com>
      
      This starts a series of cleanups against the way in which the various
      architectures specify the number of nodes and memory zones.  We end up
      supporting up to 1024 memory zones on ia64, which is a recent requirement.
      
      Has been tested on ia32, ia64 (UMA), ppa64 (UMA) and NUMAQ.
      
      
      Make sure MAX_NUMNODES is defined in one and only one place.  Remove
      superfluous definitions.  Instead of defining MAX_NUMNODES in
      asm/numnodes.h, we define NODES_SHIFT there.  Then in linux/mmzone.h we
      turn that NODES_SHIFT value into MAX_NUMNODES.
      c72da22f
    • Andrew Morton's avatar
      [PATCH] boot-time selectable log buffer size · 96fcef0a
      Andrew Morton authored
      From: Andrea Arcangeli <andrea@suse.de>
      
      Allow the printk log buffer size to be selected with a __setup parameter,
      `log_buf_len=N', where N must be a power-of-two.
      
      The default, initial statically allocated buffer size is still determined via
      kernel config.
      96fcef0a
  2. 04 Oct, 2003 31 commits