1. 09 3月, 2006 17 次提交
  2. 08 3月, 2006 12 次提交
  3. 07 3月, 2006 11 次提交
    • C
      [ARM] 3352/1: DSB required for the completion of a TLB maintenance operation · 6a0e2430
      Catalin Marinas 提交于
      Patch from Catalin Marinas
      
      Chapter B2.7.3 in the latest ARM ARM (with v6 information) states that
      the completion of a TLB maintenance operation is only guaranteed by
      the execution of a DSB (Data Syncronization Barrier, formerly Data
      Write Barrier or Drain Write Buffer).
      
      Note that a DSB is only needed in the flush_tlb_kernel_* functions
      since the completion is guaranteed by a mode change (i.e. switching
      back to user mode) for the flush_tlb_user_* functions.
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      6a0e2430
    • M
      [TG3]: Add DMA address workaround · 72f2afb8
      Michael Chan 提交于
      Add DMA workaround for chips that do not support full 64-bit DMA
      addresses.
      
      5714, 5715, and 5780 chips only support DMA addresses less than 40
      bits. On 64-bit systems with IOMMU, set the dma_mask to 40-bit so
      that pci_map_xxx() calls will map the DMA address below 40 bits if
      necessary. On 64-bit systems without IOMMU, set the dma_mask to
      64-bit and check for DMA addresses exceeding the limit in
      tg3_start_xmit().
      
      5788 only supports 32-bit DMA so need to set the mask appropriately
      also.
      
      Thanks to Chris Elmquist at SGI for reporting and helping to debug
      the problem on 5714.
      
      Thanks to David Miller for explaining the HIGHMEM and DMA stuff.
      Signed-off-by: NMichael Chan <mchan@broadcom.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      72f2afb8
    • L
      Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband · d11d9b2d
      Linus Torvalds 提交于
      * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband:
        IB/srp: Don't send task management commands after target removal
      d11d9b2d
    • C
      [PATCH] s390: improve response code handling in chsc_enable_facility() · 15730ddb
      Cornelia Huck 提交于
      Rather than checking for some known failures, check positively for the
      success response code 0x0001 and return -EIO for unrecognized failure
      response codes.
      Signed-off-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Cc: Greg Smith <gsmith@nc.rr.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      15730ddb
    • B
      [PATCH] s390: fix match in ccw modalias · de1d9c03
      Bastian Blank 提交于
      Fix matching of devmodel in modaliases.  It breaks automatic loading of any
      dasd module.
      
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      de1d9c03
    • B
      [PATCH] windfarm license fix · cdd440fe
      Benjamin Herrenschmidt 提交于
      The Windfarm PID module lacks a licence, it should be GPL, here it is
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      cdd440fe
    • N
      [PATCH] smaps: shared fix · ad820c5d
      Nick Piggin 提交于
      The point of the smaps "shared" is to count the number of pages that are
      mapped by more than one process, according to Mauricio Lin.  However, smaps
      uses page_count for this, so it will return a false positive for every page
      that is mapped by just that one process, which is also in pagecache or
      swapcache.  There are false positive situations for anonymous pages not in
      swapcache as well: - page reclaim, migration - get_user_pages (eg.
      direct-io, ptrace)
      
      Use page_mapcount instead, to count the number of mappings to the page.
      
      Use vm_normal_page so that weird things like /dev/mem aren't counted either.
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ad820c5d
    • N
      [PATCH] smaps: hugepages fix · 5ddfae16
      Nick Piggin 提交于
      smaps doesn't have a hugepage pagetable walker. Skip walking hugepage
      vmas.
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      5ddfae16
    • P
      [PATCH] ramfs needs to update directory m/ctime on symlink · ecbd3a63
      Peter Staubach 提交于
      ramfs neglects to update the directory mtime and ctime fields when creating
      a new symbolic link.  Ramfs was modified in 2.6.15 to update these fields
      when other types of entries are created.  The symlink support is separate
      from that other support, so that change did not cover quite all of the
      possibilities.
      
      All of the directory content manipulation entry points now seem to be
      covered with respect to these time field updates.
      Signed-off-by: NPeter Staubach <staubach@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ecbd3a63
    • E
      [PATCH] EFI: Fix gdt load · e8c3b5a6
      Edgar Hucek 提交于
      This patch makes the kernel bootable again on ia32 EFI systems.
      Signed-off-by: NEdgar Hucek <hostmaster@ed-soft.at>
      Cc: Matt Domsch <Matt_Domsch@dell.com>
      Cc: Zachary Amsden <zach@vmware.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e8c3b5a6
    • C
      [PATCH] numa_maps update · 397874df
      Christoph Lameter 提交于
      Change the format of numa_maps to be more compact and contain additional
      information that is useful for managing and troubleshooting memory on a
      NUMA system.  Numa_maps can now also support huge pages.
      
      Fixes:
      
      1. More compact format. Only display fields if they contain additional
      	information.
      
      2. Always display information for all vmas. The old numa_maps did not display
      	vma with no mapped entries. This was a bit confusing because page
      	migration removes ptes for file backed vmas. After page migration
      	a part of the vmas vanished.
      
      3. Rename maxref to maxmap. This is the maximum mapcount of all the pages
      	in a vma and may be used as an indicator as to how many processes
      	may be using a certain vma.
      
      4. Include the ability to scan over huge page vmas.
      
      New items shown:
      
      dirty
      	Number of pages in a vma that have either the dirty bit set in the
      	page_struct or in the pte.
      
      file=<filename>
      	The file backing the pages if any
      
      stack
      	Stack area
      
      heap
      	Heap area
      
      huge
      	Huge page area. The number of pages shows is the number of huge
      	pages not the regular sized pages.
      
      swapcache
      	Number of pages with swap references. Must be >0 in order to
      	be shown.
      
      active
      	Number of active pages. Only displayed if different from the number
      	of pages mapped.
      
      writeback
      	Number of pages under writeback. Only displayed if >0.
      
      Sample ouput of a process using huge pages:
      
      00000000 default
      2000000000000000 default file=/lib/ld-2.3.90.so mapped=13 mapmax=30 N0=13
      2000000000044000 default file=/lib/ld-2.3.90.so anon=2 dirty=2 swapcache=2 N2=2
      2000000000064000 default file=/lib/librt-2.3.90.so mapped=2 active=1 N1=1 N3=1
      2000000000074000 default file=/lib/librt-2.3.90.so
      2000000000080000 default file=/lib/librt-2.3.90.so anon=1 swapcache=1 N2=1
      2000000000084000 default
      2000000000088000 default file=/lib/libc-2.3.90.so mapped=52 mapmax=32 active=48 N0=52
      20000000002bc000 default file=/lib/libc-2.3.90.so
      20000000002c8000 default file=/lib/libc-2.3.90.so anon=3 dirty=2 swapcache=3 active=2 N1=1 N2=2
      20000000002d4000 default anon=1 swapcache=1 N1=1
      20000000002d8000 default file=/lib/libpthread-2.3.90.so mapped=8 mapmax=3 active=7 N2=2 N3=6
      20000000002fc000 default file=/lib/libpthread-2.3.90.so
      2000000000308000 default file=/lib/libpthread-2.3.90.so anon=1 dirty=1 swapcache=1 N1=1
      200000000030c000 default anon=1 dirty=1 swapcache=1 N1=1
      2000000000320000 default anon=1 dirty=1 N1=1
      200000000071c000 default
      2000000000720000 default anon=2 dirty=2 swapcache=1 N1=1 N2=1
      2000000000f1c000 default
      2000000000f20000 default anon=2 dirty=2 swapcache=1 active=1 N2=1 N3=1
      200000000171c000 default
      2000000001720000 default anon=1 dirty=1 swapcache=1 N1=1
      2000000001b20000 default
      2000000001b38000 default file=/lib/libgcc_s.so.1 mapped=2 N1=2
      2000000001b48000 default file=/lib/libgcc_s.so.1
      2000000001b54000 default file=/lib/libgcc_s.so.1 anon=1 dirty=1 active=0 N1=1
      2000000001b58000 default file=/lib/libunwind.so.7.0.0 mapped=2 active=1 N1=2
      2000000001b74000 default file=/lib/libunwind.so.7.0.0
      2000000001b80000 default file=/lib/libunwind.so.7.0.0
      2000000001b84000 default
      4000000000000000 default file=/media/huge/test9 mapped=1 N1=1
      6000000000000000 default file=/media/huge/test9 anon=1 dirty=1 active=0 N1=1
      6000000000004000 default heap
      607fffff7fffc000 default anon=1 dirty=1 swapcache=1 N2=1
      607fffffff06c000 default stack anon=1 dirty=1 active=0 N1=1
      8000000060000000 default file=/mnt/huge/test0 huge dirty=3 N1=3
      8000000090000000 default file=/mnt/huge/test1 huge dirty=3 N0=1 N2=2
      80000000c0000000 default file=/mnt/huge/test2 huge dirty=3 N1=1 N3=2
      Signed-off-by: NChristoph Lameter <clameter@sgi.com>
      Cc: Andi Kleen <ak@muc.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      397874df