1. 23 3月, 2006 3 次提交
  2. 22 3月, 2006 19 次提交
  3. 20 3月, 2006 1 次提交
  4. 16 3月, 2006 1 次提交
  5. 13 3月, 2006 1 次提交
  6. 07 3月, 2006 1 次提交
  7. 23 2月, 2006 2 次提交
  8. 17 2月, 2006 1 次提交
  9. 16 2月, 2006 2 次提交
    • R
      [ARM] Fix SMP initialisation oops · 7bbb7940
      Russell King 提交于
      A change to the SMP initialisation caused the following oops:
      
       CPU1: Booted secondary processor
       CPU1: D VIPT write-back cache
       CPU1: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
       CPU1: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
       <7>Calibrating delay loop... 83.14 BogoMIPS (lpj=415744)
       <1>Unable to handle kernel NULL pointer dereference at virtual address 0000001c
       ...
       PC is at enqueue_task+0x1c/0x64
       LR is at activate_task+0xcc/0xe4
      
      SMP initialisation now requires cpu_possible_map to be initialised in
      setup_arch().  Move this from smp_prepare_cpus() to smp_init_cpus()
      and call it from our setup_arch() if CONFIG_SMP is enabled.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      7bbb7940
    • M
      [PATCH] add asm-generic/mman.h · 5f6164f3
      Michael S. Tsirkin 提交于
      Make new MADV_REMOVE, MADV_DONTFORK, MADV_DOFORK consistent across all
      arches.  The idea is to make it possible to use them portably even before
      distros include them in libc headers.
      
      Move common flags to asm-generic/mman.h
      Signed-off-by: NMichael S. Tsirkin <mst@mellanox.co.il>
      Cc: Roland Dreier <rolandd@cisco.com>
      Cc: Badari Pulavarty <pbadari@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5f6164f3
  10. 15 2月, 2006 1 次提交
    • M
      [PATCH] madvise MADV_DONTFORK/MADV_DOFORK · f8225661
      Michael S. Tsirkin 提交于
      Currently, copy-on-write may change the physical address of a page even if the
      user requested that the page is pinned in memory (either by mlock or by
      get_user_pages).  This happens if the process forks meanwhile, and the parent
      writes to that page.  As a result, the page is orphaned: in case of
      get_user_pages, the application will never see any data hardware DMA's into
      this page after the COW.  In case of mlock'd memory, the parent is not getting
      the realtime/security benefits of mlock.
      
      In particular, this affects the Infiniband modules which do DMA from and into
      user pages all the time.
      
      This patch adds madvise options to control whether memory range is inherited
      across fork.  Useful e.g.  for when hardware is doing DMA from/into these
      pages.  Could also be useful to an application wanting to speed up its forks
      by cutting large areas out of consideration.
      Signed-off-by: NMichael S. Tsirkin <mst@mellanox.co.il>
      Acked-by: NHugh Dickins <hugh@veritas.com>
      Cc: Michael Kerrisk <mtk-manpages@gmx.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f8225661
  11. 11 2月, 2006 1 次提交
  12. 09 2月, 2006 2 次提交
  13. 02 2月, 2006 2 次提交
  14. 26 1月, 2006 2 次提交
  15. 19 1月, 2006 1 次提交