1. 14 8月, 2008 1 次提交
  2. 13 8月, 2008 8 次提交
  3. 12 8月, 2008 4 次提交
    • A
      modules: extend initcall_debug functionality to the module loader · 59f9415f
      Arjan van de Ven 提交于
      The kernel has this really nice facility where if you put "initcall_debug"
      on the kernel commandline, it'll print which function it's going to
      execute just before calling an initcall, and then after the call completes
      it will
      
      1) print if it had an error code
      
      2) checks for a few simple bugs (like leaving irqs off)
      and
      
      3) print how long the init call took in milliseconds.
      
      While trying to optimize the boot speed of my laptop, I have been loving
      number 3 to figure out what to optimize...  ...  and then I wished that
      the same thing was done for module loading.
      
      This patch makes the module loader use this exact same functionality; it's
      a logical extension in my view (since modules are just sort of late
      binding initcalls anyway) and so far I've found it quite useful in finding
      where things are too slow in my boot.
      Signed-off-by: NArjan van de Ven <arjan@linux.intel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      59f9415f
    • C
      export virtio_rng.h · 4bceba41
      Christian Borntraeger 提交于
      Hello Rusty,
      
      The entropy device was added after we exported all virtio headers. This
      patch adds virtio_rng.h to the exportable userspace headers.
      Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      4bceba41
    • R
      mm: Make generic weak get_user_pages_fast and EXPORT_GPL it · 912985dc
      Rusty Russell 提交于
      Out of line get_user_pages_fast fallback implementation, make it a weak
      symbol, get rid of CONFIG_HAVE_GET_USER_PAGES_FAST.
      
      Export the symbol to modules so lguest can use it.
      Signed-off-by: NNick Piggin <npiggin@suse.de>
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      912985dc
    • K
      intel/agp: rewrite GTT on resume · a8c84df9
      Keith Packard 提交于
      On my Intel chipset (965GM), the GTT is entirely erased across
      suspend/resume.  This patch simply re-plays the current mapping at resume
      time to restore the table.=20
      
      I noticed this once I started relying on persistent GTT mappings across VT
      switch in our GEM work -- the old X server and DRM code carefully unbind
      all memory from the GTT on VT switch, but GEM does not bother.
      
      I placed the list management and rewrite code in the generic layer on the
      assumption that it will be needed on other hardware, but I did not add the
      rewrite call to anything other than the Intel resume function.
      
      Keep a list of current GATT mappings.  At resume time, rewrite them into
      the GATT.  This is needed on Intel (at least) as the entire GATT is
      cleared across suspend/resume.
      
      [akpm@linux-foundation.org: coding-style fixes]
      Signed-off-by: NKeith Packard <keithp@keithp.com>
      Cc: Dave Jones <davej@codemonkey.org.uk>
      Cc: Andi Kleen <andi@firstfloor.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      a8c84df9
  4. 11 8月, 2008 14 次提交
  5. 09 8月, 2008 1 次提交
  6. 08 8月, 2008 4 次提交
  7. 07 8月, 2008 6 次提交
  8. 06 8月, 2008 2 次提交