Skip to content
Permalink
Tree: 12c7428ad2
Commits on May 9, 2018
  1. docs: add link for PH-1 kernel

    jb-essential authored and dvyukov committed May 8, 2018
    Signed-off-by: Jean-Baptiste Theou <jb@essential.com>
Commits on May 8, 2018
  1. sys/linux: add AF_NETLINK/NETLINK_ROUTE SCHED support

    liuhangbin authored and dvyukov committed May 3, 2018
    Update #533
    
    As TC(net sched) is a large group, I separate it from socket_netlink_route.txt.
    Currently I only implement the framework with two qdisc/tclass/filters.
    I will add the others later.
    
    v2: Fix tcm_handle major and minor order. Add tcm_handle_offsets.
    
    Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Commits on May 7, 2018
  1. pkg/csource: fix test exit code

    dvyukov committed May 7, 2018
  2. pkg/csource: skip tests under race detector

    dvyukov committed May 7, 2018
    csource tests consume too much memory under race detector (>1GB),
    and periodically timeout on Travis. So we skip them.
  3. all: get rid of underscores in identifiers

    dvyukov committed May 7, 2018
    Underscores are against Go coding style.
    
    Update #538
  4. dashboard/app: split overly long function

    dvyukov committed May 7, 2018
    Update #538
  5. pkg/ifuzz: move generated code to a separate package

    dvyukov committed May 7, 2018
    This helps to ignore generated code with gometalinter.
    There is currently no other way:
    alecthomas/gometalinter#270
    
    Update #538
  6. prog: deduplicate minimization test

    dvyukov committed May 7, 2018
    Update #538
  7. prog: dedup checksumming code

    dvyukov committed May 7, 2018
    Update #538
  8. prog: reorder checksum functions

    dvyukov committed May 7, 2018
    Put the most important function at the top.
  9. prog: dedup mutation code

    dvyukov committed May 7, 2018
    Update #538
  10. pkg/git: remove duplicated code in tests

    dvyukov committed May 7, 2018
    Update #538
  11. pkg/report: remove duplicated stub code

    dvyukov committed May 7, 2018
    Update #538
  12. gometalinter: reduce checker timeout

    dvyukov committed May 7, 2018
    Travis has timeout of 10 minutes, so reduce
    our timeout to 8 minutes.
Commits on May 6, 2018
  1. pkg/db: remove code duplication in test

    dvyukov committed May 6, 2018
    Update #538
  2. sys: dedup mmap code across OSes

    dvyukov committed May 6, 2018
    Update #538
  3. vm/{adb,isolated}: dudup common code

    dvyukov committed May 6, 2018
    Found with gometalinter/dupl.
    
    Update #538
  4. fixed link to generated file in the docs

    alex authored and dvyukov committed May 5, 2018
Commits on May 5, 2018
  1. all: fix too long lines

    dvyukov committed May 5, 2018
    Not sure why I have not seen warnings about
    these lines on another machine...
  2. sys: move generate files to separate packages

    dvyukov committed May 5, 2018
    Move generated files to gen subdir. This allows to:
    1. Rebuild init.go without rebuilding generated code.
    2. Excluding generated files from gometalinter checking.
    This makes faster and consume less memory.
    
    Update #538
  3. Makefile: fix deps

    dvyukov committed May 5, 2018
    syz-sysgen depends on prog which depends on pkg/ifuzz.
    Currently we concurrently regenerate pkg/ifuzz and build
    syz-sysgen, which can cause failures.
    Make pkg/ifuzz dependent on syz-sysgen, so that it is
    built before we regenerate ifuzz.
  4. prog: rework validation code

    dvyukov committed May 5, 2018
    The current code is total, unstructured mess.
    Since we now have 1:1 type -> arg correspondence,
    rework validation around args. This makes code
    much cleaner and 30% shorter.
  5. prog: make c.Ret optional

    dvyukov committed May 5, 2018
    No reason to allocate return value if there is no return type.
    c.Ret == nil is the reasonable indication that this is a "void" call.
  6. prog: simplify code

    dvyukov committed May 5, 2018
    Now that we don't have ReturnArg and only ResultArg's refer
    to other ResultArg's we can remove ArgUser/ArgUsed and
    devirtualize lots of code.
  7. prog: remove ReturnArg

    dvyukov committed May 5, 2018
    It's not all that needed.
Commits on May 4, 2018
  1. Makefile: parallelize

    dvyukov committed May 4, 2018
    Use -j by default and parallelize targets as much as possible.
  2. prog: parallelize tests

    dvyukov committed May 4, 2018
    Parallelize more tests and reduce number of iterations
    in random tests under race detector.
  3. gometalinter: enable cyclomatic complexity checking

    dvyukov committed May 4, 2018
    Refactor some functions to be simpler.
    
    Update #538
  4. gometalinter: enable line length checking

    dvyukov committed May 4, 2018
    120 columns looks like a reasonable limit
    and requires few changes to existing code.
    
    Update #538
Older
You can’t perform that action at this time.