1. 03 1月, 2006 13 次提交
  2. 23 12月, 2005 1 次提交
  3. 16 12月, 2005 1 次提交
  4. 23 11月, 2005 2 次提交
    • H
      [PATCH] unpaged: fix sound Bad page states · f3d48f03
      Hugh Dickins 提交于
      Earlier I unifdefed PageCompound, so that snd_pcm_mmap_control_nopage and
      others can give out a 0-order component of a higher-order page, which won't
      be mistakenly freed when zap_pte_range unmaps it.  But many Bad page states
      reported a PG_reserved was freed after all: I had missed that we need to
      say __GFP_COMP to get compound page behaviour.
      
      Some of these higher-order pages are allocated by snd_malloc_pages, some by
      snd_malloc_dev_pages; or if SBUS, by sbus_alloc_consistent - but that has
      no gfp arg, so add __GFP_COMP into its sparc32/64 implementations.
      
      I'm still rather puzzled that DRM seems not to need a similar change.
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f3d48f03
    • H
      [PATCH] unpaged: sound nopage get_page · 1cdca61b
      Hugh Dickins 提交于
      Something noticed when studying use of VM_RESERVED in different drivers:
      snd_usX2Y_hwdep_pcm_vm_nopage omitted to get_page: fixed.
      
      And how did this work before?  Aargh!  That nopage is returning a page from
      within a buffer allocated by snd_malloc_pages, which allocates a high-order
      page, then does SetPageReserved on each 0-order page within.
      
      That would have worked in 2.6.14, because when the area was unmapped,
      PageReserved inhibited put_page.  2.6.15-rc1 removed that inhibition (while
      leaving ineffective PageReserveds around for now), but it hasn't caused
      trouble because..  we've not been freeing from VM_RESERVED at all.
      Signed-off-by: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      1cdca61b
  5. 16 11月, 2005 1 次提交
  6. 14 11月, 2005 1 次提交
  7. 11 11月, 2005 2 次提交
  8. 10 11月, 2005 1 次提交
  9. 09 11月, 2005 3 次提交
  10. 08 11月, 2005 3 次提交
  11. 07 11月, 2005 3 次提交
  12. 04 11月, 2005 9 次提交