1. 12 Jul, 2003 3 commits
    • Andi Kleen's avatar
      [PATCH] Deprecate numerical sysctl · 209f0abb
      Andi Kleen authored
      Deprecate the numerical sysctl name space. People can use /proc/sys
      instead.
      
      The numeric name space was never well maintained and especially
      in distribution kernels is not very consistent (everybody has their
      own extensions, conflicting with others). It's also a great
      source of rejects when merging patches.  The name-based /proc/sys
      is a much better interface for this, which people should use instead.
      
      Discussion of this on l-k found no advocate for it, so it seems to not
      be very popular anyways.
      
      This patch deprecates numerical name space accesses to make it possible
      to remove them in the future. The only exception is kernel.version,
      which is used by glibc (this one has to be maintained forever)
      209f0abb
    • Bernardo Innocenti's avatar
      [PATCH] asm-generic/div64.h breakage · ed08e6df
      Bernardo Innocenti authored
       - __div64_32(): remove __attribute_pure__ qualifier from the prototype
         since this function obviously clobbers memory through &(n);
      
       - do_div(): add a check to ensure (n) is type-compatible with uint64_t;
      
       - as_update_iohist(): Use sector_div() instead of do_div().
         (Whether the result of the addition should always be stored in 64bits
         regardless of CONFIG_LBD is still being discussed, therefore it's
         unadderessed here);
      
       - Fix all places where do_div() was being called with a bad divisor argument.
      ed08e6df
    • Jens Axboe's avatar
      [PATCH] Fix IDE-CD command failure re-play · 963436f3
      Jens Axboe authored
      Every failed SG_IO request is replayed second time without data
      transfer.  Fix the problem by immediately purging the failed SG_IO
      request from the request queue.
      
      It fixes (among others)
      
      	http://marc.theaimsgroup.com/?t=105634805100001&r=1&w=2
      
      where induced kernel crash occurs upon packet replay.
      963436f3
  2. 11 Jul, 2003 37 commits