30 Aug, 2008

1 commit


29 Aug, 2008

1 commit


25 Aug, 2008

1 commit


14 Aug, 2008

3 commits

  • First, lmb_enforce_memory_limit() interprets it's argument
    (mostly, heh) as a size limit not an address limit. So pass
    the raw cmdline_memory_size value into it. And we don't
    need to check it against zero, lmb_enforce_memory_limit() does
    that for us.

    Next, free_initmem() needs special handling when the kernel
    command line trims the available memory. The problem case is
    if the trimmed out memory is where the kernel image itself
    resides.

    When that memory is trimmed out, we don't add those physical
    ram areas to the sparsemem active ranges, amongst other things.
    Which means that this free_initmem() code will free up invalid
    page structs, resulting in either crashes or hangs.

    Just quick fix this by not freeing initmem at all if "mem="
    was given on the boot command line.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • If 'start' does not begin on a page boundary, we can overshoot
    past 'end'.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • Things like lockdep can try to do stack backtraces before
    the irqstack blocks have been setup. So don't try to match
    their ranges so early on.

    Also, remove unused variable in save_stack_trace().

    Signed-off-by: David S. Miller

    David S. Miller
     

13 Aug, 2008

1 commit


12 Aug, 2008

1 commit


10 Aug, 2008

1 commit


08 Aug, 2008

2 commits


07 Aug, 2008

1 commit


05 Aug, 2008

14 commits


01 Aug, 2008

2 commits

  • That's the userland thread register, so we should never try to change
    it like this.

    Based upon glibc bug nptl/6577 and suggestions by Jakub Jelinek.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • The story is that what we used to do when we actually used
    smp_report_regs() is that if you specifically only wanted to have the
    current cpu's registers dumped you would call "__show_regs()"
    otherwise you would call show_regs() which also invoked
    smp_report_regs().

    Now that we killed off smp_report_regs() there is no longer any
    reason to have these two routines, just show_regs() is sufficient.

    Also kill off a stray declaration of show_regs() in sparc64_ksym.c

    Signed-off-by: David S. Miller

    David S. Miller
     

31 Jul, 2008

4 commits


30 Jul, 2008

1 commit


28 Jul, 2008

6 commits


27 Jul, 2008

1 commit

  • Remove arch-specific show_mem() in favor of the generic version.

    This also removes the following redundant information display:

    - free swap pages, printed by show_swap_cache_info()
    - pages in swapcache, printed by show_swap_cache_info()
    - dirty pages, writeback pages, mapped pages, slab pages,
    pagetables pages, printed by show_free_areas()

    where show_mem() calls show_free_areas(), which calls
    show_swap_cache_info().

    Signed-off-by: Johannes Weiner
    Acked-by: David S. Miller
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Weiner