1. 06 Jan, 2005 3 commits
    • Raghavendra Koushik's avatar
      [PATCH] S2io: fixes in free_shared_mem function · 477dfa31
      Raghavendra Koushik authored
      Hello All,
      	As per KK's review comment received on Nov 8 about the free_shared_mem function, Iam sending the following patch.
      
      The change log includes:
      
      1. Break from the main 'for loop' if ba[i] is NULL.
      
      2. In the second level 'for loop', if ba[i][j] is NULL, instead of
      continuing as was done previously, we now free the ba[i] pointer and
      break from the main 'for loop'.
      
      3. In the 'while loop' inside the second tier 'for loop', if any of the
      three pointers (ba or ba->ba_0_org or ba->ba_1_org) is found to be NULL,
      then ba[i], ba[i][j] and the non NULL buffer pointer if any
      (ba_0_org or ba_1_org) is freed and break from the main 'for loop'.
      Signed-off-by: default avatarKoushik <raghavendra.koushik@s2io.com>
      Signed-off-by: default avatarRavi <ravinandan.arakali@s2io.com>
      Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
      477dfa31
    • Alexander Viro's avatar
      [PATCH] Fix up compiler inefficiencies · eb25b5b2
      Alexander Viro authored
      Oh, bugger...
      
      The recent mmzone.h change triggered some very, very ugly things in
      next_zone(), is_highmem(), is_normal() and zone_idx() because it changed
      the size of "struct zone" subtly.
      
      Pointer subtraction is no fun when sizeof of object gets weird and poor
      gcc blows its brains out trying to optimize that...  This slowed down an
      ARM cross-build by a factor of 2.5. 
      
      Turn the pointer subtraction tests into pointer addition tests instead
      where possible, making them trivial to deal with (and gets better code,
      in addition to faster compile).
      
      zone_idx() still does a subtraction.
      eb25b5b2
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk · 1e95245b
      Linus Torvalds authored
      into ppc970.osdl.org:/home/torvalds/v2.6/linux
      1e95245b
  2. 07 Jan, 2005 3 commits
  3. 06 Jan, 2005 23 commits
  4. 05 Jan, 2005 11 commits