1. 04 8月, 2010 2 次提交
    • J
      CRIS: invoke oom-killer from page fault · 3648bdf7
      Jesper Nilsson 提交于
      As explained in commit 1c0fe6e3, we want to call the architecture independent
      oom killer when getting an unexplained OOM from handle_mm_fault, rather than
      simply killing current.
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Acked-by: NDavid Rientjes <rientjes@google.com>
      Signed-off-by: NJesper Nilsson <jesper.nilsson@axis.com>
      Signed-off-by: NMikael Starvik <starvik@axis.com>
      3648bdf7
    • J
      CRIS: GENERIC_TIME fixes · 60dbd663
      Jesper Nilsson 提交于
      GENERIC_TIME was not functional for CRIS, giving random backward
      time jumps.
      
      For CRISv32 implement a new clocksource using the free running counter
      and ditch the arch_gettimeoffset.
      
      The random time jumps still existed, but turned out to be the write_seqlock
      which was missing around our do_timer() call.
      
      So switch over to GENERIC_TIME using the clocksource for CRISv32.
      
      CRISv10 doesn't have the free running counter needed for the
      clocksource trick, but we can still use GENERIC_TIME with
      arch_gettimeoffset.
      
      Unfortunately, there were problems in using the prescaler register
      to timer0 for the gettimeoffset calculation, so it is now ignored,
      making our resolution worse by the tune of 40usec (0.4%) worst case.
      
      At the same time, clean up some formatting and use NSEC_PER_SEC
      instead of 1000000000.
      Signed-off-by: NJesper Nilsson <jesper.nilsson@axis.com>
      60dbd663
  2. 27 7月, 2010 15 次提交
  3. 26 7月, 2010 8 次提交
  4. 25 7月, 2010 1 次提交
  5. 23 7月, 2010 10 次提交
  6. 22 7月, 2010 4 次提交