1. 13 7月, 2008 1 次提交
    • J
      fbdev: bugfix for multiprocess defio · f31ad92f
      Jaya Kumar 提交于
      This patch is a bugfix for how defio handles multiple processes manipulating
      the same framebuffer.
      
      Thanks to Bernard Blackham for identifying this bug.
      
      It occurs when two applications mmap the same framebuffer and concurrently
      write to the same page.  Normally, this doesn't occur since only a single
      process mmaps the framebuffer.  The symptom of the bug is that the mapping
      applications will hang.  The cause is that defio incorrectly tries to add the
      same page twice to the pagelist.  The solution I have is to walk the pagelist
      and check for a duplicate before adding.  Since I needed to walk the pagelist,
      I now also keep the pagelist in sorted order.
      Signed-off-by: NJaya Kumar <jayakumar.lkml@gmail.com>
      Cc: Bernard Blackham <bernard@largestprime.net>
      Cc: <stable@kernel.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f31ad92f
  2. 20 3月, 2008 1 次提交
  3. 07 2月, 2008 1 次提交
  4. 17 10月, 2007 1 次提交
  5. 09 5月, 2007 4 次提交