1. 22 Jul, 2013 1 commit
    • Peter Maydell's avatar
      configure: Make NPTL non-optional · 24cb36a6
      Peter Maydell authored
      Now all linux-user targets support building with NPTL, we can make it
      mandatory. This is a good idea because:
       * NPTL is no longer new and experimental; it is completely standard
       * in practice, linux-user without NPTL is nearly useless for
         binaries built against non-ancient glibc
       * it allows us to delete the rather untested code for handling
         the non-NPTL configuration
      
      Note that this patch leaves the CONFIG_USE_NPTL ifdefs in the
      bsd-user codebase alone. This makes no change for bsd-user, since
      our configure test for NPTL had a "#include <linux/futex.h>"
      which means bsd-user would never have been compiled with
      CONFIG_USE_NPTL defined, and it still is not.
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
      Signed-off-by: default avatarRiku Voipio <riku.voipio@linaro.org>
      24cb36a6
  2. 05 Jul, 2013 1 commit
  3. 04 Aug, 2012 1 commit
  4. 19 May, 2012 1 commit
  5. 06 Apr, 2012 1 commit
  6. 08 May, 2011 1 commit
  7. 03 Mar, 2011 1 commit
  8. 03 Dec, 2010 1 commit
  9. 17 Sep, 2010 1 commit
  10. 30 Jul, 2010 1 commit
    • Aurelien Jarno's avatar
      linux-user: fix build on hosts not using guest base · 18e9ea8a
      Aurelien Jarno authored
      Commit 68a1c816 broke qemu on hosts not
      using guest base. It uses reserved_va unconditionally in mmap.c. To
      avoid to many #ifdef #endif blocks, define RESERVED_VA as either
      reserved_va or 0ul, and use it instead of reserved_va, similarly to what
      has been done with guest_base/GUEST_BASE.
      18e9ea8a
  11. 28 May, 2010 2 commits
  12. 05 May, 2010 1 commit
    • Paul Brook's avatar
      Remove PAGE_RESERVED · 2e9a5713
      Paul Brook authored
      The usermode PAGE_RESERVED code is not required by the current mmap
      implementation, and is already broken when guest_base != 0.
      Unfortunately the bsd emulation still uses the old mmap implementation,
      so we can't rip it out altogether.
      Signed-off-by: default avatarPaul Brook <paul@codesourcery.com>
      2e9a5713
  13. 12 Mar, 2010 3 commits
  14. 26 Jan, 2010 2 commits
  15. 25 Sep, 2009 1 commit
  16. 05 Sep, 2009 1 commit
  17. 25 Aug, 2009 1 commit
    • Kirill A. Shutemov's avatar
      linux-user: Rewrite mmap_find_vma() to work fine on 64-bit hosts with 32-bit targets · fe3b4152
      Kirill A. Shutemov authored
      qemu's page table can be incomple if /proc/self/maps is unavailable or
      host allocating a memory with mmap(), so we can't use it to find free
      memory area.
      
      New version mmap_find_vma() uses mmap() without MAP_FIXED to find free
      memory.
      
      Tested-by: Martin Mohring <martin.mohring@opensuse.org> :
      
      quite some time ago this patch had been sent by Kirill to the QEMU ml.
      At that time, the patch was rejected. Now we found out why the current
      user mode memory allocator sometimes fails:
      
      - Kernel Bug  linux/fs/proc/task_mmu.c (fixed after 2.6.27)
      http://bugzilla.kernel.org/attachment.cgi?id=17219
      - use of proc file system to find memory mappings => bad idea
      
      So I please apply the attached patch from Kirill to qemu to fix this
      longstanding bug, because it causes all older linux distros (using
      kernel 2.6.26 or older) to fail the QEMU memory allocator in user mode.
      Signed-off-by: default avatarKirill A. Shutemov <kirill@shutemov.name>
      Signed-off-by: default avatarRiku Voipio <riku.voipio@iki.fi>
      fe3b4152
  18. 27 Jul, 2009 1 commit
  19. 20 Jul, 2009 1 commit
  20. 16 Jul, 2009 1 commit
  21. 16 Jun, 2009 2 commits
  22. 03 Feb, 2009 1 commit
  23. 28 Jan, 2009 1 commit
  24. 23 Jan, 2009 1 commit
  25. 05 Jan, 2009 1 commit
  26. 15 Dec, 2008 1 commit
  27. 11 Dec, 2008 1 commit
  28. 08 Dec, 2008 2 commits
  29. 02 Oct, 2008 1 commit
  30. 09 Jun, 2008 1 commit
  31. 07 Jun, 2008 1 commit
  32. 02 Jun, 2008 1 commit
  33. 31 May, 2008 1 commit
  34. 26 Apr, 2008 1 commit