19 May, 2011

1 commit


08 Mar, 2010

1 commit

  • Cleanup checkstack script:
    * Turn on strict checking
    * Fix resulting error message because the declaration syntax
    was incorrect.
    * Remove incorrect and misleading use of prototype
    - prototype not required for this type of sort function
    because $a and $b are being used in this contex
    - if prototype was being used it should be for both arguments
    * Use closure for sort function

    Signed-off-by: Stephen Hemminger
    Cc: Steven Rostedt
    Cc: Arjan van de Ven
    Cc: Cong Wang
    Cc: Michal Marek
    Signed-off-by: Andrew Morton
    Signed-off-by: Michal Marek

    Stephen Hemminger
     

23 Oct, 2008

1 commit


11 Oct, 2008

1 commit

  • With -march=z990 and later gcc can use the long displacement facility
    insruction lay for stack register handling. This patch adopts checkstack
    to catch lay in addition to ahi and aghi.

    Signed-off-by: Christian Borntraeger
    Signed-off-by: Martin Schwidefsky

    Christian Borntraeger
     

26 Jul, 2008

2 commits

  • uname -m was leaving a newline in $arch, and not passing the tests.

    Also, printing the unknown arch on failure is probably helpful.

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

    Eric Sandeen
     
  • Currently, checkstack.pl only looks for fixed subtractions from the stack
    pointer. However, things like this:

    void function(int size)
    {
    char stackbuster[size << 2];
    ...

    are certainly worth pointing out, I think.

    This could perhaps be done more cleanly, and the following patch only
    adds "dynamic" REs for x86 and x86_64, but it works:

    0x00b0 crypto_cbc_decrypt_inplace [cbc]: Dynamic (%rax)
    0x00ad crypto_pcbc_decrypt_inplace [pcbc]: Dynamic (%rax)
    0x02f6 crypto_pcbc_encrypt_inplace [pcbc]: Dynamic (%rax)
    0x036c _crypto_xcbc_digest_setkey [xcbc]: Dynamic (%rax)
    ...

    (Inspired by Keith Owens' old stack-check script)

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

    Eric Sandeen
     

07 Feb, 2008

1 commit

  • I have been prime author and maintainer of block2mtd from day one, but
    neither MAINTAINERS nor the module source makes this fact clear. And while
    I'm at it, update my email addresses tree-wide, as the old address
    currently bounces and change my name to "joern" as unicode will likely
    continue to cause trouble until the end of this century.

    Signed-off-by: Joern Engel
    Cc: David Woodhouse
    Cc: Andy Whitcroft
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joern Engel
     

21 Oct, 2007

2 commits

  • * 'master' of hera.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6: (29 commits)
    [PARISC] fix uninitialized variable warning in asm/rtc.h
    [PARISC] Port checkstack.pl to parisc
    [PARISC] Make palo target work when $obj != $src
    [PARISC] Zap unused variable warnings in pci.c
    [PARISC] Fix tests in palo target
    [PARISC] Fix palo target
    [PARISC] Restore palo target
    [PARISC] Attempt to clean up parisc/Makefile
    [PARISC] Fix infinite loop in /proc/iomem
    [PARISC] Quiet sysfs_create_link __must_check warnings in pdc_stable
    [PARISC] Squelch pci_enable_device __must_check warning in superio
    [PARISC] Kill off broken irqstack code
    [PARISC] Remove hardcoded uses of PAGE_SIZE
    [PARISC] Clean up pointless ASM_PAGE_SIZE_DIV use
    [PARISC] Kill off the last vestiges of ASM_PAGE_SIZE
    [PARISC] Kill off ASM_PAGE_SIZE use
    [PARISC] Beautify parisc vmlinux.lds.S
    [PARISC] Clean up a resource_size_t warning in sba_iommu
    [PARISC] Kill incorrect cast warning in unwinder
    [PARISC] Kill zone_to_nid printk warning
    ...

    Fixed trivial conflict in include/asm-parisc/tlbflush.h manually

    Linus Torvalds
     
  • Signed-off-by: Kyle McMartin

    Kyle McMartin
     

20 Oct, 2007

1 commit


17 Oct, 2007

1 commit

  • Simply fill out the bits in checkstack.pl for Blackfin. I thought I already
    sent this, but I don't see it in -mm anywhere ...

    Signed-off-by: Mike Frysinger
    Cc: Bryan Wu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mike Frysinger
     

11 Oct, 2007

1 commit


25 Aug, 2006

1 commit


26 Jun, 2006

1 commit

  • Finding "init_module" high stack usage problems is challenging when there
    are over 1600 "init_module" functions in the kernel tree, so make
    checkstack.pl print out the filename where the stack usage occurs. This is
    useful for code built as loadable modules.

    For built-in code, it just prints the kernel image file name, like
    "vmlinux". Examples:

    (before patch:)
    0x0000000d callback: 1928
    0xffffffff81678c09 huft_build: 1560
    0x0018 init_module: 1512

    (after patch:)
    0x0000000d callback [divacapi]: 1928
    0xffffffff81678c09 huft_build [vmlinux]: 1560
    0x0018 init_module [hdaps]: 1512

    Also change one if-series to use elsif to cut down on unneeded tests.

    Signed-off-by: Randy Dunlap
    Acked-by: Joern Engel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

11 Apr, 2006

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds