1. 10 12月, 2005 1 次提交
    • B
      [ACPI] ACPICA 20050930 · 50eca3eb
      Bob Moore 提交于
      Completed a major overhaul of the Resource Manager code -
      specifically, optimizations in the area of the AML/internal
      resource conversion code. The code has been optimized to
      simplify and eliminate duplicated code, CPU stack use has
      been decreased by optimizing function parameters and local
      variables, and naming conventions across the manager have
      been standardized for clarity and ease of maintenance (this
      includes function, parameter, variable, and struct/typedef
      names.)
      
      All Resource Manager dispatch and information tables have
      been moved to a single location for clarity and ease of
      maintenance. One new file was created, named "rsinfo.c".
      
      The ACPI return macros (return_ACPI_STATUS, etc.) have
      been modified to guarantee that the argument is
      not evaluated twice, making them less prone to macro
      side-effects. However, since there exists the possibility
      of additional stack use if a particular compiler cannot
      optimize them (such as in the debug generation case),
      the original macros are optionally available.  Note that
      some invocations of the return_VALUE macro may now cause
      size mismatch warnings; the return_UINT8 and return_UINT32
      macros are provided to eliminate these. (From Randy Dunlap)
      
      Implemented a new mechanism to enable debug tracing for
      individual control methods. A new external interface,
      acpi_debug_trace(), is provided to enable this mechanism. The
      intent is to allow the host OS to easily enable and disable
      tracing for problematic control methods. This interface
      can be easily exposed to a user or debugger interface if
      desired. See the file psxface.c for details.
      
      acpi_ut_callocate() will now return a valid pointer if a
      length of zero is specified - a length of one is used
      and a warning is issued. This matches the behavior of
      acpi_ut_allocate().
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      50eca3eb
  2. 01 12月, 2005 1 次提交
  3. 29 11月, 2005 1 次提交
    • L
      mm: re-architect the VM_UNPAGED logic · 6aab341e
      Linus Torvalds 提交于
      This replaces the (in my opinion horrible) VM_UNMAPPED logic with very
      explicit support for a "remapped page range" aka VM_PFNMAP.  It allows a
      VM area to contain an arbitrary range of page table entries that the VM
      never touches, and never considers to be normal pages.
      
      Any user of "remap_pfn_range()" automatically gets this new
      functionality, and doesn't even have to mark the pages reserved or
      indeed mark them any other way.  It just works.  As a side effect, doing
      mmap() on /dev/mem works for arbitrary ranges.
      
      Sparc update from David in the next commit.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      6aab341e
  4. 24 11月, 2005 1 次提交
    • D
      drm: fix quiescent locking · cf65f162
      Dave Airlie 提交于
      A fix for a locking bug which is triggered when a client tries to lock with
      flag DMA_QUIESCENT (typically the X server), but gets interrupted by a signal.
      The locking IOCTL should then return an error, but if DMA_QUIESCENT succeeds
      it returns 0, and the client falsely thinks it has the lock. In addition
      The client waits for DMA_QUISCENT and possibly DMA_READY without having the lock.
      
      From: Thomas Hellstrom
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      cf65f162
  5. 23 11月, 2005 4 次提交
  6. 21 11月, 2005 1 次提交
  7. 18 11月, 2005 4 次提交
  8. 17 11月, 2005 2 次提交
  9. 16 11月, 2005 1 次提交
  10. 15 11月, 2005 3 次提交
  11. 14 11月, 2005 9 次提交
  12. 13 11月, 2005 1 次提交
  13. 12 11月, 2005 1 次提交
  14. 11 11月, 2005 1 次提交
  15. 10 11月, 2005 2 次提交
  16. 09 11月, 2005 5 次提交
    • A
      [PATCH] drivers/char/sysrq.c: make two functions static · cf62ddce
      Adrian Bunk 提交于
      This patch makes two needlessly global functions static.
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      cf62ddce
    • O
      [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason · 733482e4
      Olaf Hering 提交于
      This patch removes almost all inclusions of linux/version.h.  The 3
      #defines are unused in most of the touched files.
      
      A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
      unfortunatly in linux/version.h.
      
      There are also lots of #ifdef for long obsolete kernels, this was not
      touched.  In a few places, the linux/version.h include was move to where
      the LINUX_VERSION_CODE was used.
      
      quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'`
      
      search pattern:
      /UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h
      Signed-off-by: NOlaf Hering <olh@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      733482e4
    • D
      [PATCH] drm fixup pci gart settings · d34d7ae2
      Dave Airlie 提交于
      Fix the PCIGART increment and add a cpu_to_le32 for ppc (untested)
      
      Paulus was unsure if we need to cpu_to_le32 but the old code was definitely
      wrong, so make it consistent and let the PPC guys figure it out later.
      Signed-off-by: NDave Airlie <airlied@linux.ie>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Dave Jones <davej@codemonkey.org.uk>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d34d7ae2
    • A
      [PATCH] i460-agp warning fixes · 49ebd7c6
      Andrew Morton 提交于
      drivers/char/agp/i460-agp.c: In function `i460_fetch_size':
      drivers/char/agp/i460-agp.c:115: warning: size_t format, long unsigned int arg (arg 2)
      drivers/char/agp/i460-agp.c:115: warning: size_t format, long unsigned int arg (arg 3)
      drivers/char/agp/i460-agp.c: In function `i460_mask_memory':
      drivers/char/agp/i460-agp.c:542: warning: integer constant is too large for "long" type
      
      Note that the i460_mask_memory() change is a guess.  But a good one, I suspect.
      Signed-off-by: NDave Jones <davej@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      49ebd7c6
    • A
      [PATCH] AGP performance fixes · 88d51967
      Alan Hourihane 提交于
      AGP allocation/deallocation is suffering major performance issues due to
      the nature of global_flush_tlb() being called on every change_page_attr()
      call.
      
      For small allocations this isn't really seen, but when you start allocating
      50000 pages of AGP space, for say, texture memory, then things can take
      seconds to complete.
      
      In some cases the situation is doubled or even quadrupled in the time due
      to SMP, or a deallocation, then a new reallocation.  I've had a case of
      upto 20 seconds wait time to deallocate and reallocate AGP space.
      
      This patch fixes the problem by making it the caller's responsibility to
      call global_flush_tlb(), and so removes it from every instance of mapping a
      page into AGP space until the time that all change_page_attr() changes are
      done.
      Signed-off-by: NDave Jones <davej@redhat.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      88d51967
  17. 08 11月, 2005 1 次提交
  18. 07 11月, 2005 1 次提交