1. 28 1月, 2010 1 次提交
    • C
      drm/i915: Selectively enable self-reclaim · 4bdadb97
      Chris Wilson 提交于
      Having missed the ENOMEM return via i915_gem_fault(), there are probably
      other paths that I also missed. By not enabling NORETRY by default these
      paths can run the shrinker and take memory from the system (but not from
      our own inactive lists because our shrinker can not run whilst we hold
      the struct mutex) and this may allow the system to survive a little longer
      whilst our drivers consume all available memory.
      
      References:
        OOM killer unexpectedly called with kernel 2.6.32
        http://bugzilla.kernel.org/show_bug.cgi?id=14933
      
      v2: Pass gfp into page mapping.
      v3: Use new read_cache_page_gfp() instead of open-coding.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
      Cc: Hugh Dickins <hugh.dickins@tiscali.co.uk>
      Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
      Cc: Eric Anholt <eric@anholt.net>
      Cc: stable@kernel.org
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      4bdadb97
  2. 27 1月, 2010 3 次提交
  3. 26 1月, 2010 5 次提交
  4. 25 1月, 2010 16 次提交
  5. 24 1月, 2010 7 次提交
  6. 23 1月, 2010 7 次提交
  7. 22 1月, 2010 1 次提交
    • S
      be2net: fix bug in rx page posting · 26d92f92
      Sathya Perla 提交于
      Pages are posted to the rxq in such a way that more than one frag
      can share the page. The last frag that uses the page unmaps the
      page.  In the case when a page is not fully used (due to lack of space in rxq)
      the last frag that uses the page is not being set as a "last_page_user";
      instead, the next frag in the rxq is incorrectly being set.
      
      The fix has also been tested on ppc64 with 64k pages...
      Signed-off-by: NSathya Perla <sathyap@serverengines.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      26d92f92