1. 07 Nov, 2008 3 commits
    • Jeremy Fitzhardinge's avatar
      xen: make sure stray alias mappings are gone before pinning · d05fdf31
      Jeremy Fitzhardinge authored
      Xen requires that all mappings of pagetable pages are read-only, so
      that they can't be updated illegally.  As a result, if a page is being
      turned into a pagetable page, we need to make sure all its mappings
      are RO.
      
      If the page had been used for ioremap or vmalloc, it may still have
      left over mappings as a result of not having been lazily unmapped.
      This change makes sure we explicitly mop them all up before pinning
      the page.
      
      Unlike aliases created by kmap, the there can be vmalloc aliases even
      for non-high pages, so we must do the flush unconditionally.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Linux Memory Management List <linux-mm@kvack.org>
      Cc: Nick Piggin <nickpiggin@yahoo.com.au>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      d05fdf31
    • Jeremy Fitzhardinge's avatar
      vmap: cope with vm_unmap_aliases before vmalloc_init() · 9b463334
      Jeremy Fitzhardinge authored
      Xen can end up calling vm_unmap_aliases() before vmalloc_init() has
      been called.  In this case its safe to make it a simple no-op.
      Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Cc: Linux Memory Management List <linux-mm@kvack.org>
      Cc: Nick Piggin <nickpiggin@yahoo.com.au>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      9b463334
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · 4bab0ea1
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
        net: Fix recursive descent in __scm_destroy().
        iwl3945: fix deadlock on suspend
        iwl3945: do not send scan command if channel count zero
        iwl3945: clear scanning bits upon failure
        ath5k: correct handling of rx status fields
        zd1211rw: Add 2 device IDs
        Fix logic error in rfkill_check_duplicity
        iwlagn: avoid sleep in softirq context
        iwlwifi: clear scanning bits upon failure
        Revert "ath5k: honor FIF_BCN_PRBRESP_PROMISC in STA mode"
        tcp: Fix recvmsg MSG_PEEK influence of blocking behavior.
        netfilter: netns ct: walk netns list under RTNL
        ipv6: fix run pending DAD when interface becomes ready
        net/9p: fix printk format warnings
        net: fix packet socket delivery in rx irq handler
        xfrm: Have af-specific init_tempsel() initialize family field of temporary selector
      4bab0ea1
  2. 06 Nov, 2008 37 commits