23 Sep, 2009

1 commit

  • When syslog is not possible, at the same time there's no serial/net
    console available, it will be hard to read the printk messages. For
    example oops/panic/warning messages in shutdown phase.

    Add a printk delay feature, we can make each printk message delay some
    milliseconds.

    Setting the delay by proc/sysctl interface: /proc/sys/kernel/printk_delay

    The value range from 0 - 10000, default value is 0

    [akpm@linux-foundation.org: fix a few things]
    Signed-off-by: Dave Young
    Acked-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dave Young
     

22 Sep, 2009

17 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vegard/kmemcheck:
    kmemcheck: add missing braces to do-while in kmemcheck_annotate_bitfield
    kmemcheck: update documentation
    kmemcheck: depend on HAVE_ARCH_KMEMCHECK
    kmemcheck: remove useless check
    kmemcheck: remove duplicated #include

    Linus Torvalds
     
  • * 'for-2.6.32' of git://linux-nfs.org/~bfields/linux: (68 commits)
    nfsd4: nfsv4 clients should cross mountpoints
    nfsd: revise 4.1 status documentation
    sunrpc/cache: avoid variable over-loading in cache_defer_req
    sunrpc/cache: use list_del_init for the list_head entries in cache_deferred_req
    nfsd: return success for non-NFS4 nfs4_state_start
    nfsd41: Refactor create_client()
    nfsd41: modify nfsd4.1 backchannel to use new xprt class
    nfsd41: Backchannel: Implement cb_recall over NFSv4.1
    nfsd41: Backchannel: cb_sequence callback
    nfsd41: Backchannel: Setup sequence information
    nfsd41: Backchannel: Server backchannel RPC wait queue
    nfsd41: Backchannel: Add sequence arguments to callback RPC arguments
    nfsd41: Backchannel: callback infrastructure
    nfsd4: use common rpc_cred for all callbacks
    nfsd4: allow nfs4 state startup to fail
    SUNRPC: Defer the auth_gss upcall when the RPC call is asynchronous
    nfsd4: fix null dereference creating nfsv4 callback client
    nfsd4: fix whitespace in NFSPROC4_CLNT_CB_NULL definition
    nfsd41: sunrpc: add new xprt class for nfsv4.1 backchannel
    sunrpc/cache: simplify cache_fresh_locked and cache_fresh_unlocked.
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits)
    trivial: fix typo in aic7xxx comment
    trivial: fix comment typo in drivers/ata/pata_hpt37x.c
    trivial: typo in kernel-parameters.txt
    trivial: fix typo in tracing documentation
    trivial: add __init/__exit macros in drivers/gpio/bt8xxgpio.c
    trivial: add __init macro/ fix of __exit macro location in ipmi_poweroff.c
    trivial: remove unnecessary semicolons
    trivial: Fix duplicated word "options" in comment
    trivial: kbuild: remove extraneous blank line after declaration of usage()
    trivial: improve help text for mm debug config options
    trivial: doc: hpfall: accept disk device to unload as argument
    trivial: doc: hpfall: reduce risk that hpfall can do harm
    trivial: SubmittingPatches: Fix reference to renumbered step
    trivial: fix typos "man[ae]g?ment" -> "management"
    trivial: media/video/cx88: add __init/__exit macros to cx88 drivers
    trivial: fix typo in CONFIG_DEBUG_FS in gcov doc
    trivial: fix missing printk space in amd_k7_smp_check
    trivial: fix typo s/ketymap/keymap/ in comment
    trivial: fix typo "to to" in multiple files
    trivial: fix typos in comments s/DGBU/DBGU/
    ...

    Linus Torvalds
     
  • Add an example of how to use the MAP_HUGETLB flag to the vm documentation
    directory and a reference to the example in hugetlbpage.txt.

    Signed-off-by: Eric B Munson
    Acked-by: David Rientjes
    Cc: Mel Gorman
    Cc: Adam Litke
    Cc: David Gibson
    Cc: Lee Schermerhorn
    Cc: Nick Piggin
    Cc: Hugh Dickins
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric B Munson
     
  • In Documentation/numastat.txt, it confused me. For example, there are
    nodes [0,1] in system.

    barrios:~$ cat /proc/zoneinfo | egrep 'numa|zone'
    Node 0, zone DMA
    numa_hit 33226
    numa_miss 1739
    numa_foreign 27978
    ..
    ..
    Node 1, zone DMA
    numa_hit 307
    numa_miss 46900
    numa_foreign 0

    1) In node 0, NUMA_MISS means it wanted to allocate page
    in node 1 but ended up with page in node 0

    2) In node 0, NUMA_FOREIGN means it wanted to allocate page
    in node 0 but ended up with page from Node 1.

    But now, numastat explains it oppositely about (MISS, FOREIGN).
    Let's fix up with viewpoint of zone.

    Signed-off-by: Minchan Kim
    Cc: KAMEZAWA Hiroyuki
    Acked-by: Christoph Lameter
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Minchan Kim
     
  • oom-killer kills a process, not task. Then oom_score should be calculated
    as per-process too. it makes consistency more and makes speed up
    select_bad_process().

    Signed-off-by: KOSAKI Motohiro
    Cc: Paul Menage
    Cc: David Rientjes
    Cc: KAMEZAWA Hiroyuki
    Cc: Oleg Nesterov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KOSAKI Motohiro
     
  • Knowing tracepoints exist is not quite the same as knowing what they
    should be used for. This patch adds a document giving a basic description
    of the kmem tracepoints and why they might be useful to a performance
    analyst.

    Signed-off-by: Mel Gorman
    Cc: Rik van Riel
    Reviewed-by: Ingo Molnar
    Cc: Larry Woodman
    Cc: Peter Zijlstra
    Cc: Li Ming Chun
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mel Gorman
     
  • …lysis with tracepoints

    The documentation for ftrace, events and tracepoints is pretty extensive.
    Similarly, the perf PCL tools help files --help are there and the code
    simple enough to figure out what much of the switches mean. However,
    pulling the discrete bits and pieces together and translating that into
    "how do I solve a problem" requires a fair amount of imagination.

    This patch adds a simple document intended to get someone started on the

    Signed-off-by: Mel Gorman <mel@csn.ul.ie>
    Cc: Rik van Riel <riel@redhat.com>
    Reviewed-by: Ingo Molnar <mingo@elte.hu>
    Cc: Larry Woodman <lwoodman@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Li Ming Chun <macli@brc.ubc.ca>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

    Mel Gorman
     
  • This patch adds a simple post-processing script for the
    page-allocator-related trace events. It can be used to give an indication
    of who the most allocator-intensive processes are and how often the zone
    lock was taken during the tracing period. Example output looks like

    Process Pages Pages Pages Pages PCPU PCPU PCPU Fragment Fragment MigType Fragment Fragment Unknown
    details allocd allocd freed freed pages drains refills Fallback Causing Changed Severe Moderate
    under lock direct pagevec drain
    swapper-0 0 0 2 0 0 0 0 0 0 0 0 0 0
    Xorg-3770 10603 5952 3685 6978 5996 194 192 0 0 0 0 0 0
    modprobe-21397 51 0 0 86 31 1 0 0 0 0 0 0 0
    xchat-5370 228 93 0 0 0 0 3 0 0 0 0 0 0
    awesome-4317 32 32 0 0 0 0 32 0 0 0 0 0 0
    thinkfan-3863 2 0 1 1 0 0 0 0 0 0 0 0 0
    hald-addon-stor-3935 2 0 0 0 0 0 0 0 0 0 0 0 0
    akregator-4506 1 1 0 0 0 0 1 0 0 0 0 0 0
    xmms-14888 0 0 1 0 0 0 0 0 0 0 0 0 0
    khelper-12 1 0 0 0 0 0 0 0 0 0 0 0 0

    Optionally, the output can include information on the parent or aggregate
    based on process name instead of aggregating based on each pid. Example output
    including parent information and stripped out the PID looks something like;

    Process Pages Pages Pages Pages PCPU PCPU PCPU Fragment Fragment MigType Fragment Fragment Unknown
    details allocd allocd freed freed pages drains refills Fallback Causing Changed Severe Moderate
    under lock direct pagevec drain
    gdm-3756 :: Xorg-3770 3796 2976 99 3813 3224 104 98 0 0 0 0 0 0
    init-1 :: hald-3892 1 0 0 0 0 0 0 0 0 0 0 0 0
    git-21447 :: editor-21448 4 0 4 0 0 0 0 0 0 0 0 0 0

    This says that Xorg allocated 3796 pages and it's parent process is gdm
    with a PID of 3756;

    The postprocessor parses the text output of tracing. While there is a
    binary format, the expectation is that the binary output can be readily
    translated into text and post-processed offline. Obviously if the text
    format changes, the parser will break but the regular expression parser is
    fairly rudimentary so should be readily adjustable.

    Signed-off-by: Mel Gorman
    Cc: Rik van Riel
    Reviewed-by: Ingo Molnar
    Cc: Larry Woodman
    Cc: Peter Zijlstra
    Cc: Li Ming Chun
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mel Gorman
     
  • The patch makes the clear_refs more versatile in adding the option to
    select anonymous pages or file backed pages for clearing. This addition
    has a measurable impact on user space application performance as it
    decreases the number of pagewalks in scenarios where one is only
    interested in a specific type of page (anonymous or file mapped).

    The patch adds anonymous and file backed filters to the clear_refs interface.

    echo 1 > /proc/PID/clear_refs resets the bits on all pages
    echo 2 > /proc/PID/clear_refs resets the bits on anonymous pages only
    echo 3 > /proc/PID/clear_refs resets the bits on file backed pages only

    Any other value is ignored

    Signed-off-by: Moussa A. Ba
    Signed-off-by: Jared E. Hulbert
    Acked-by: David Rientjes
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Moussa A. Ba
     
  • Add Documentation/vm/ksm.txt: how to use the Kernel Samepage Merging feature

    Signed-off-by: Hugh Dickins
    Cc: Michael Kerrisk
    Cc: Randy Dunlap
    Acked-by: Izik Eidus
    Cc: Andrea Arcangeli
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hugh Dickins
     
  • Reported-by: Christian Thaeter
    Signed-off-by: Jan Kara
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Kara
     
  • Remove some very outdated recommendations in Documentation/memory.txt

    Signed-off-by: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • Attempt to clarify huge page administration and usage, and updates the
    doucmentation to mention the balancing of huge pages across nodes when
    allocating and freeing.

    Signed-off-by: Lee Schermerhorn
    Cc: Mel Gorman
    Cc: Nishanth Aravamudan
    Cc: David Rientjes
    Cc: Adam Litke
    Cc: Andy Whitcroft
    Cc: Eric Whitney
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lee Schermerhorn
     
  • We added a new column in cpuX lines of /proc/stat, to show the amount of
    time spent by a cpu servicing a guest, without updating
    Documentation/filesystems/proc.txt

    Signed-off-by: Eric Dumazet
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric Dumazet
     
  • …nel/git/tip/linux-2.6-tip

    * 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    kernel/profile.c: Switch /proc/irq/prof_cpu_mask to seq_file
    tracing: Export trace_profile_buf symbols
    tracing/events: use list_for_entry_continue
    tracing: remove max_tracer_type_len
    function-graph: use ftrace_graph_funcs directly
    tracing: Remove markers
    tracing: Allocate the ftrace event profile buffer dynamically
    tracing: Factorize the events profile accounting

    Linus Torvalds
     
  • * 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (222 commits)
    V4L/DVB (13033): pt1: Don't use a deprecated DMA_BIT_MASK macro
    V4L/DVB (13029): radio-si4713: remove #include
    V4L/DVB (13027): go7007: convert printks to v4l2_info
    V4L/DVB (13026): s2250-board: Implement brightness and contrast controls
    V4L/DVB (13025): s2250-board: Fix memory leaks
    V4L/DVB (13024): go7007: Implement vidioc_g_std and vidioc_querystd
    V4L/DVB (13023): go7007: Merge struct gofh and go declarations
    V4L/DVB (13022): go7007: Fix mpeg controls
    V4L/DVB (13021): go7007: Fix whitespace and line lengths
    V4L/DVB (13020): go7007: Updates to Kconfig and Makefile
    V4L/DVB (13019): video: initial support for ADV7180
    V4L/DVB (13018): kzalloc failure ignored in au8522_probe()
    V4L/DVB (13017): gspca: kmalloc failure ignored in sd_start()
    V4L/DVB (13016): kmalloc failure ignored in lgdt3304_attach() and s921_attach()
    V4L/DVB (13015): kmalloc failure ignored in m920x_firmware_download()
    V4L/DVB (13014): Add support for Compro VideoMate E800 (DVB-T part only)
    V4L/DVB (13013): FM TX: si4713: Kconfig: Fixed two typos.
    V4L/DVB (13012): uvc: introduce missing kfree
    V4L/DVB (13011): Change tuner type of BeholdTV cards
    V4L/DVB (13009): gspca - stv06xx-hdcs: Reduce exposure range
    ...

    Linus Torvalds
     

21 Sep, 2009

13 commits


19 Sep, 2009

9 commits