24 Jul, 2020

1 commit

  • The LB_BIAS feature was removed in commit 1c1b8a7b03ef ("sched/fair:
    Replace source_load() & target_load() with weighted_cpuload()"), so drop
    the mention that it is disabled in the no_hz case.

    Signed-off-by: Julia Lawall

    Link: https://lore.kernel.org/r/1595088518-28116-1-git-send-email-Julia.Lawall@inria.fr
    Signed-off-by: Jonathan Corbet

    Julia Lawall
     

07 May, 2020

1 commit

  • Sleeping for a certain amount of time requires use of different
    functions, depending on the time period.
    Documentation/timers/timers-howto.rst explains when to use which
    function, and also checkpatch checks for some potentially
    problematic cases.

    So let's create a helper that automatically chooses the appropriate
    sleep function -> fsleep(), for flexible sleeping

    If the delay is a constant, then the compiler should be able to ensure
    that the new helper doesn't create overhead. If the delay is not
    constant, then the new helper can save some code.

    Signed-off-by: Heiner Kallweit
    Signed-off-by: David S. Miller

    Heiner Kallweit
     

15 Jul, 2019

1 commit

  • The contents of those directories were orphaned at the documentation
    body.

    While those directories could likely be moved to be inside some guide,
    I'm opting to just adding their indexes to the main one, removing the
    :orphan: and adding the SPDX header.

    For the drivers, the rationale is that the documentation contains
    a mix of Kernelspace, uAPI and admin-guide. So, better to keep them on
    separate directories, as we've be doing with similar subsystem-specific
    docs that were not split yet.

    For the others, well... I'm too lazy to do the move. Also, it
    seems to make sense to keep at least some of those at the main
    dir (like kbuild, for example). In any case, a latter patch
    could do the move.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Bartlomiej Zolnierkiewicz

    Mauro Carvalho Chehab
     

15 Jun, 2019

1 commit

  • The conversion here is really trivial: just a bunch of title
    markups and very few puntual changes is enough to make it to
    be parsed by Sphinx and generate a nice html.

    The conversion is actually:
    - add blank lines and identation in order to identify paragraphs;
    - fix tables markups;
    - add some lists markups;
    - mark literal blocks;
    - adjust title markups.

    At its new index.rst, let's add a :orphan: while this is not linked to
    the main index.rst file, in order to avoid build warnings.

    Signed-off-by: Mauro Carvalho Chehab
    Acked-by: Mark Brown
    Signed-off-by: Jonathan Corbet

    Mauro Carvalho Chehab
     

22 Feb, 2019

1 commit


10 Sep, 2018

1 commit

  • This is a respin with a wider audience (all that get_maintainer returned)
    and I know this spams a *lot* of people. Not sure what would be the correct
    way, so my apologies for ruining your inbox.

    The 00-INDEX files are supposed to give a summary of all files present
    in a directory, but these files are horribly out of date and their
    usefulness is brought into question. Often a simple "ls" would reveal
    the same information as the filenames are generally quite descriptive as
    a short introduction to what the file covers (it should not surprise
    anyone what Documentation/sched/sched-design-CFS.txt covers)

    A few years back it was mentioned that these files were no longer really
    needed, and they have since then grown further out of date, so perhaps
    it is time to just throw them out.

    A short status yields the following _outdated_ 00-INDEX files, first
    counter is files listed in 00-INDEX but missing in the directory, last
    is files present but not listed in 00-INDEX.

    List of outdated 00-INDEX:
    Documentation: (4/10)
    Documentation/sysctl: (0/1)
    Documentation/timers: (1/0)
    Documentation/blockdev: (3/1)
    Documentation/w1/slaves: (0/1)
    Documentation/locking: (0/1)
    Documentation/devicetree: (0/5)
    Documentation/power: (1/1)
    Documentation/powerpc: (0/5)
    Documentation/arm: (1/0)
    Documentation/x86: (0/9)
    Documentation/x86/x86_64: (1/1)
    Documentation/scsi: (4/4)
    Documentation/filesystems: (2/9)
    Documentation/filesystems/nfs: (0/2)
    Documentation/cgroup-v1: (0/2)
    Documentation/kbuild: (0/4)
    Documentation/spi: (1/0)
    Documentation/virtual/kvm: (1/0)
    Documentation/scheduler: (0/2)
    Documentation/fb: (0/1)
    Documentation/block: (0/1)
    Documentation/networking: (6/37)
    Documentation/vm: (1/3)

    Then there are 364 subdirectories in Documentation/ with several files that
    are missing 00-INDEX alltogether (and another 120 with a single file and no
    00-INDEX).

    I don't really have an opinion to whether or not we /should/ have 00-INDEX,
    but the above 00-INDEX should either be removed or be kept up to date. If
    we should keep the files, I can try to keep them updated, but I rather not
    if we just want to delete them anyway.

    As a starting point, remove all index-files and references to 00-INDEX and
    see where the discussion is going.

    Signed-off-by: Henrik Austad
    Acked-by: "Paul E. McKenney"
    Just-do-it-by: Steven Rostedt
    Reviewed-by: Jens Axboe
    Acked-by: Paul Moore
    Acked-by: Greg Kroah-Hartman
    Acked-by: Mark Brown
    Acked-by: Mike Rapoport
    Cc: [Almost everybody else]
    Signed-off-by: Jonathan Corbet

    Henrik Austad
     

23 Jul, 2018

1 commit


16 Feb, 2018

1 commit

  • Commit 6f1982fedd59 ("sched/isolation: Handle the nohz_full= parameter")
    broke CONFIG_NO_HZ_FULL_ALL=y kernels. This breakage is due to the code
    under CONFIG_NO_HZ_FULL_ALL failing to invoke the shiny new housekeeping
    functions. This means that rcutorture scenario TREE04 now emits RCU CPU
    stall warnings due to the RCU grace-period kthreads not being awakened
    at a time of their choosing, or perhaps even not at all:

    [ 27.731422] rcu_bh kthread starved for 21001 jiffies! g18446744073709551369 c18446744073709551368 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x402 ->cpu=3
    [ 27.731423] rcu_bh I14936 9 2 0x80080000
    [ 27.731435] Call Trace:
    [ 27.731440] __schedule+0x31a/0x6d0
    [ 27.731442] schedule+0x31/0x80
    [ 27.731446] schedule_timeout+0x15a/0x320
    [ 27.731453] ? call_timer_fn+0x130/0x130
    [ 27.731457] rcu_gp_kthread+0x66c/0xea0
    [ 27.731458] ? rcu_gp_kthread+0x66c/0xea0

    Because no one has complained about CONFIG_NO_HZ_FULL_ALL=y being broken,
    I hypothesize that no one is in fact using it, other than rcutorture.
    This commit therefore eliminates CONFIG_NO_HZ_FULL_ALL and updates
    rcutorture's config files to instead use the nohz_full= kernel parameter
    to put the desired CPUs into nohz_full mode.

    Fixes: 6f1982fedd59 ("sched/isolation: Handle the nohz_full= parameter")

    Reported-by: kernel test robot
    Signed-off-by: Paul E. McKenney
    Cc: Frederic Weisbecker
    Cc: Thomas Gleixner
    Cc: Chris Metcalf
    Cc: Christoph Lameter
    Cc: Linus Torvalds
    Cc: Luiz Capitulino
    Cc: Mike Galbraith
    Cc: Peter Zijlstra
    Cc: Rik van Riel
    Cc: Wanpeng Li
    Cc: Ingo Molnar
    Cc: John Stultz
    Cc: Jonathan Corbet

    Paul E. McKenney
     

27 Sep, 2017

1 commit


09 Jun, 2017

1 commit

  • The CONFIG_RCU_NOCB_CPU_ALL, CONFIG_RCU_NOCB_CPU_NONE, and
    CONFIG_RCU_NOCB_CPU_ZERO Kconfig options are used only in testing and
    are redundant with the rcu_nocbs= boot parameter. This commit therefore
    removes these three Kconfig options and adjusts the rcutorture scripts
    to use the boot parameter instead.

    Signed-off-by: Paul E. McKenney

    Paul E. McKenney
     

10 Feb, 2017

1 commit

  • Currently CONFIG_TIMER_STATS exposes process information across namespaces:

    kernel/time/timer_list.c print_timer():

    SEQ_printf(m, ", %s/%d", tmp, timer->start_pid);

    /proc/timer_list:

    #11: , hrtimer_wakeup, S:01, do_nanosleep, cron/2570

    Given that the tracer can give the same information, this patch entirely
    removes CONFIG_TIMER_STATS.

    Suggested-by: Thomas Gleixner
    Signed-off-by: Kees Cook
    Acked-by: John Stultz
    Cc: Nicolas Pitre
    Cc: linux-doc@vger.kernel.org
    Cc: Lai Jiangshan
    Cc: Shuah Khan
    Cc: Xing Gao
    Cc: Jonathan Corbet
    Cc: Jessica Frazelle
    Cc: kernel-hardening@lists.openwall.com
    Cc: Nicolas Iooss
    Cc: "Paul E. McKenney"
    Cc: Petr Mladek
    Cc: Richard Cochran
    Cc: Tejun Heo
    Cc: Michal Marek
    Cc: Josh Poimboeuf
    Cc: Dmitry Vyukov
    Cc: Oleg Nesterov
    Cc: "Eric W. Biederman"
    Cc: Olof Johansson
    Cc: Andrew Morton
    Cc: linux-api@vger.kernel.org
    Cc: Arjan van de Ven
    Link: http://lkml.kernel.org/r/20170208192659.GA32582@beast
    Signed-off-by: Thomas Gleixner

    Kees Cook
     

10 Oct, 2016

1 commit


24 Sep, 2016

1 commit

  • Move timers examples to samples and remove it from Documentation
    Makefile. Create a new Makefile to build timers. It can be built
    from top level directory or from timers directory:

    Run make -C samples/timers or cd samples/timers; make

    Acked-by: Jonathan Corbet
    Acked-by: Clemens Ladisch
    Signed-off-by: Shuah Khan

    Shuah Khan
     

28 Apr, 2016

2 commits


18 Mar, 2016

1 commit

  • Pul documentation update from Jon Corbet:
    "Another relatively boring cycle for the docs tree: typo fixes,
    translation updates, etc"

    * tag 'docs-for-linus' of git://git.lwn.net/linux:
    modsign: Fix documentation on module signing enforcement parameter.
    Doc: nfs: Fix typos in Documentation/filesystems/nfs
    Documentation: kselftest: Remove duplicate word
    doc: fix grammar
    Documentation: Howto: Fixed subtitles style
    Doc: ARM: Fix a typo in clksrc-change-registers.awk
    Documentation/ko_KR: update maintainer information
    Documentation: Fix int/unsigned int comparison
    Documentation: Chinese translation of arm64/silicon-errata.txt
    Documentation:Update Documentation/zh_CN/arm64/booting.txt
    Documentation: HOWTO: remove obsolete info about regression postings
    Doc: ja_JP: Fix a typo in HOWTO
    Doc: i2c: Fix typo in Documentation/i2c
    Doc: DocBook: Fix a typo in device-drivers.tmpl
    Remove "arch" usage in Documentation/features/list-arch.sh
    README: cosmetic fixes
    Documentation/CodingStyle: add space before parenthesis in example macro
    SubmittingPatches: fix spelling of "git send-email"

    Linus Torvalds
     

18 Feb, 2016

1 commit

  • Signed int - unsigned int comparison fixed in mpssd, prctl, ptp, and
    timers in Documentation. In places where 'int argc' and 'const char
    **argv' are not used, they are replaced with void

    Documentation/mic/mpssd/mpssd.c: Fixed comparison in sum_iovec_len and
    disp_iovec

    Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c: main signature
    changed to void, as parameters 'argc' and 'argv' are never used

    Documentation/prctl/disable-tsc-on-off-stress-test.c: main signature
    changed to void

    Documentation/prctl/disable-tsc-test.c: main signature changed to void

    Documentation/ptp/testptp.c: Sign comparison fix
    Documentation/timers/hpet_example.c: Sign comparision fix

    Signed-off-by: Mahesh Khanwalkar
    Signed-off-by: Jonathan Corbet

    Mahesh Khanwalkar
     

17 Feb, 2016

1 commit

  • Looks like the HPET spec at intel.com got moved.
    It isn't hard to find so drop the link, just mention
    the revision assumed.

    Suggested-by: Thomas Gleixner
    Signed-off-by: Michael S. Tsirkin
    Acked-by: Greg Kroah-Hartman
    Cc: Arnd Bergmann
    Cc: Clemens Ladisch
    Cc: Jonathan Corbet
    Cc: Linus Torvalds
    Cc: Peter Zijlstra
    Cc: linux-doc@vger.kernel.org
    Link: http://lkml.kernel.org/r/1455145462-3877-1-git-send-email-mst@redhat.com
    Signed-off-by: Ingo Molnar

    Michael S. Tsirkin
     

27 Feb, 2015

1 commit


26 Sep, 2014

2 commits


24 Jul, 2014

1 commit

  • This adds some documentation about clock sources, clock events,
    the weak sched_clock() function and delay timers that answers
    questions that repeatedly arise on the mailing lists.

    Cc: Thomas Gleixner
    Cc: Nicolas Pitre
    Cc: Colin Cross
    Cc: John Stultz
    Cc: Peter Zijlstra
    Cc: Ingo Molnar
    Signed-off-by: Linus Walleij
    Acked-by: Nicolas Pitre
    Signed-off-by: John Stultz

    Linus Walleij
     

05 May, 2014

1 commit

  • Documentation/timers/timer_stats.txt claims:

    "The readout of /proc/timer_stats automatically disables sampling. The sampled
    information is kept until a new sample period is started. This allows multiple
    readouts."

    Some simple testing shows that reading from /proc/timer_stats
    does not disable sampling. Looking back over past source code,
    it appears that it never did.

    Signed-off-by: Michael Kerrisk
    Cc: Randy Dunlap
    Link: http://lkml.kernel.org/r/53636FB6.9060407@gmail.com
    [ Small tidyup of the changelog. ]
    Signed-off-by: Ingo Molnar

    Michael Kerrisk
     

11 Feb, 2014

1 commit

  • Some of the 00-INDEX files are somewhat outdated and some folders does
    not contain 00-INDEX at all. Only outdated (with the notably exception
    of spi) indexes are touched here, the 169 folders without 00-INDEX has
    not been touched.

    New 00-INDEX
    - spi/* was added in a series of commits dating back to 2006

    Added files (missing in (*/)00-INDEX)
    - dmatest.txt was added by commit 851b7e16a07d ("dmatest: run test via
    debugfs")
    - this_cpu_ops.txt was added by commit a1b2a555d637 ("percpu: add
    documentation on this_cpu operations")
    - ww-mutex-design.txt was added by commit 040a0a371005 ("mutex: Add
    support for wound/wait style locks")
    - bcache.txt was added by commit cafe56359144 ("bcache: A block layer
    cache")
    - kernel-per-CPU-kthreads.txt was added by commit 49717cb40410
    ("kthread: Document ways of reducing OS jitter due to per-CPU
    kthreads")
    - phy.txt was added by commit ff764963479a ("drivers: phy: add generic
    PHY framework")
    - block/null_blk was added by commit 12f8f4fc0314 ("null_blk:
    documentation")
    - module-signing.txt was added by commit 3cafea307642 ("Add
    Documentation/module-signing.txt file")
    - assoc_array.txt was added by commit 3cb989501c26 ("Add a generic
    associative array implementation.")
    - arm/IXP4xx was part of the initial repo
    - arm/cluster-pm-race-avoidance.txt was added by commit 7fe31d28e839
    ("ARM: mcpm: introduce helpers for platform coherency exit/setup")
    - arm/firmware.txt was added by commit 7366b92a77fc ("ARM: Add
    interface for registering and calling firmware-specific operations")
    - arm/kernel_mode_neon.txt was added by commit 2afd0a05241d ("ARM:
    7825/1: document the use of NEON in kernel mode")
    - arm/tcm.txt was added by commit bc581770cfdd ("ARM: 5580/2: ARM TCM
    (Tightly-Coupled Memory) support v3")
    - arm/vlocks.txt was added by commit 9762f12d3e05 ("ARM: mcpm: Add
    baremetal voting mutexes")
    - blackfin/gptimers-example.c, Makefile was added by commit
    4b60779d5ea7 ("Blackfin: add an example showing how to use the
    gptimers API")
    - devicetree/usage-model.txt was added by commit 31134efc681a ("dt:
    Linux DT usage model documentation")
    - fb/api.txt was added by commit fb21c2f42879 ("fbdev: Add FOURCC-based
    format configuration API")
    - fb/sm501.txt was added by commit e6a049807105 ("video, sm501: add
    edid and commandline support")
    - fb/udlfb.txt was added by commit 96f8d864afd6 ("fbdev: move udlfb out
    of staging.")
    - filesystems/Makefile was added by commit 1e0051ae48a2
    ("Documentation/fs/: split txt and source files")
    - filesystems/nfs/nfsd-admin-interfaces.txt was added by commit
    8a4c6e19cfed ("nfsd: document kernel interfaces for nfsd
    configuration")
    - ide/warm-plug-howto.txt was added by commit f74c91413ec6 ("ide: add
    warm-plug support for IDE devices (take 2)")
    - laptops/Makefile was added by commit d49129accc21
    ("Documentation/laptop/: split txt and source files")
    - leds/leds-blinkm.txt was added by commit b54cf35a7f65 ("LEDS: add
    BlinkM RGB LED driver, documentation and update MAINTAINERS")
    - leds/ledtrig-oneshot.txt was added by commit 5e417281cde2 ("leds: add
    oneshot trigger")
    - leds/ledtrig-transient.txt was added by commit 44e1e9f8e705 ("leds:
    add new transient trigger for one shot timer activation")
    - m68k/README.buddha was part of the initial repo
    - networking/LICENSE.(qla3xxx|qlcnic|qlge) was added by commits
    40839129f779, c4e84bde1d59, 5a4faa873782
    - networking/Makefile was added by commit 3794f3e812ef ("docsrc: build
    Documentation/ sources")
    - networking/i40evf.txt was added by commit 105bf2fe6b32 ("i40evf: add
    driver to kernel build system")
    - networking/ipsec.txt was added by commit b3c6efbc36e2 ("xfrm: Add
    file to document IPsec corner case")
    - networking/mac80211-auth-assoc-deauth.txt was added by commit
    3cd7920a2be8 ("mac80211: add auth/assoc/deauth flow diagram")
    - networking/netlink_mmap.txt was added by commit 5683264c3981
    ("netlink: add documentation for memory mapped I/O")
    - networking/nf_conntrack-sysctl.txt was added by commit c9f9e0e1597f
    ("netfilter: doc: add nf_conntrack sysctl api documentation") lan)
    - networking/team.txt was added by commit 3d249d4ca7d0 ("net: introduce
    ethernet teaming device")
    - networking/vxlan.txt was added by commit d342894c5d2f ("vxlan:
    virtual extensible lan")
    - power/runtime_pm.txt was added by commit 5e928f77a09a ("PM: Introduce
    core framework for run-time PM of I/O devices (rev. 17)")
    - power/charger-manager.txt was added by commit 3bb3dbbd56ea
    ("power_supply: Add initial Charger-Manager driver")
    - RCU/lockdep-splat.txt was added by commit d7bd2d68aa2e ("rcu:
    Document interpretation of RCU-lockdep splats")
    - s390/kvm.txt was added by 5ecee4b (KVM: s390: API documentation)
    - s390/qeth.txt was added by commit b4d72c08b358 ("qeth: bridgeport
    support - basic control")
    - scheduler/sched-bwc.txt was added by commit 88ebc08ea9f7 ("sched: Add
    documentation for bandwidth control")
    - scsi/advansys.txt was added by commit 4bd6d7f35661 ("[SCSI] advansys:
    Move documentation to Documentation/scsi")
    - scsi/bfa.txt was added by commit 1ec90174bdb4 ("[SCSI] bfa: add
    readme file")
    - scsi/bnx2fc.txt was added by commit 12b8fc10eaf4 ("[SCSI] bnx2fc: Add
    driver documentation")
    - scsi/cxgb3i.txt was added by commit c3673464ebc0 ("[SCSI] cxgb3i: Add
    cxgb3i iSCSI driver.")
    - scsi/hpsa.txt was added by commit 992ebcf14f3c ("[SCSI] hpsa: Add
    hpsa.txt to Documentation/scsi")
    - scsi/link_power_management_policy.txt was added by commit
    ca77329fb713 ("[libata] Link power management infrastructure")
    - scsi/osd.txt was added by commit 78e0c621deca ("[SCSI] osd:
    Documentation for OSD library")
    - scsi/scsi-parameter.txt was created/moved by commit 163475fb111c
    ("Documentation: move SCSI parameters to their own text file")
    - serial/driver was part of the initial repo
    - serial/n_gsm.txt was added by commit 323e84122ec6 ("n_gsm: add a
    documentation")
    - timers/Makefile was added by commit 3794f3e812ef ("docsrc: build
    Documentation/ sources")
    - virt/kvm/s390.txt was added by commit d9101fca3d57 ("KVM: s390:
    diagnose call documentation")
    - vm/split_page_table_lock was added by commit 49076ec2ccaf ("mm:
    dynamically allocate page->ptl if it cannot be embedded to struct
    page")
    - w1/slaves/w1_ds28e04 was added by commit fbf7f7b4e2ae ("w1: Add
    1-wire slave device driver for DS28E04-100")
    - w1/masters/omap-hdq was added by commit e0a29382c6f5 ("hdq:
    documentation for OMAP HDQ")
    - x86/early-microcode.txt was added by commit 0d91ea86a895 ("x86, doc:
    Documentation for early microcode loading")
    - x86/earlyprintk.txt was added by commit a1aade478862 ("x86/doc:
    mini-howto for using earlyprintk=dbgp")
    - x86/entry_64.txt was added by commit 8b4777a4b50c ("x86-64: Document
    some of entry_64.S")
    - x86/pat.txt was added by commit d27554d874c7 ("x86: PAT
    documentation")

    Moved files
    - arm/kernel_user_helpers.txt was moved out of arch/arm/kernel by
    commit 37b8304642c7 ("ARM: kuser: move interface documentation out of
    the source code")
    - efi-stub.txt was moved out of x86/ and down into Documentation/ in
    commit 4172fe2f8a47 ("EFI stub documentation updates")
    - laptops/hpfall.c was moved out of hwmon/ and into laptops/ in commit
    efcfed9bad88 ("Move hp_accel to drivers/platform/x86")
    - commit 5616c23ad9cd ("x86: doc: move x86-generic documentation from
    Doc/x86/i386"):
    * x86/usb-legacy-support.txt
    * x86/boot.txt
    * x86/zero_page.txt
    - power/video_extension.txt was moved to acpi in commit 70e66e4df191
    ("ACPI / video: move video_extension.txt to Documentation/acpi")

    Removed files (left in 00-INDEX)
    - memory.txt was removed by commit 00ea8990aadf ("memory.txt: remove
    stray information")
    - gpio.txt was moved to gpio/ in commit fd8e198cfcaa ("Documentation:
    gpiolib: document new interface")
    - networking/DLINK.txt was removed by commit 168e06ae26dd
    ("drivers/net: delete old parallel port de600/de620 drivers")
    - serial/hayes-esp.txt was removed by commit f53a2ade0bb9 ("tty: esp:
    remove broken driver")
    - s390/TAPE was removed by commit 9e280f669308 ("[S390] remove tape
    block docu")
    - vm/locking was removed by commit 57ea8171d2bc ("mm: documentation:
    remove hopelessly out-of-date locking doc")
    - laptops/acer-wmi.txt was remvoed by commit 020036678e81 ("acer-wmi:
    Delete out-of-date documentation")

    Typos/misc issues
    - rpc-server-gss.txt was added as knfsd-rpcgss.txt in commit
    030d794bf498 ("SUNRPC: Use gssproxy upcall for server RPCGSS
    authentication.")
    - commit b88cf73d9278 ("net: add missing entries to
    Documentation/networking/00-INDEX")
    * generic-hdlc.txt was added as generic_hdlc.txt
    * spider_net.txt was added as spider-net.txt
    - w1/master/mxc-w1 was added as mxc_w1 by commit a5fd9139f74c ("w1: add
    1-wire master driver for i.MX27 / i.MX31")
    - s390/zfcpdump.txt was added as zfcpdump by commit 6920c12a407e
    ("[S390] Add Documentation/s390/00-INDEX.")

    Signed-off-by: Henrik Austad
    Reviewed-by: Paul E. McKenney [rcu bits]
    Acked-by: Rob Landley
    Cc: Jiri Kosina
    Cc: Thomas Gleixner
    Cc: Rob Herring
    Cc: David S. Miller
    Cc: Mark Brown
    Cc: "H. Peter Anvin"
    Cc: Ingo Molnar
    Cc: Gleb Natapov
    Cc: Linus Torvalds
    Cc: Len Brown
    Cc: James Bottomley
    Cc: Jean-Christophe Plagniol-Villard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Henrik Austad
     

28 Oct, 2013

1 commit

  • - timers-howto was added by commit 0fcb8081 (Documentation: Add
    timers/timers-howto.txt)
    - NO_HZ was added by commit 0c87f9b5 (nohz_full: Add documentation.)

    Cc: Patrick Pannuto
    Signed-off-by: Henrik Austad
    Reviewed-by: Paul E. McKenney
    Signed-off-by: Jiri Kosina

    Henrik Austad
     

19 Aug, 2013

1 commit


11 Jun, 2013

2 commits

  • This commit calls out the potential for slowing the tick even when there
    are multiple runnable processes per CPU, It also points out that current
    mainlined version keeps the tick going on at least one CPU even when all
    CPUs are otherwise idle. Finally, it notes the need for a 1-HZ tick in
    order to calculate CPU load, maintain sched average, compute CFS entity
    vruntime, compute avenrun, and carry out load balancing.

    Signed-off-by: Paul E. McKenney
    Reviewed-by: Josh Triplett

    Paul E. McKenney
     
  • Make it more clear that there are three options, and give hints as
    to which of the three is most likely to be useful in different
    situations.

    Reported-by: Sedat Dilek
    Signed-off-by: Paul E. McKenney
    Reviewed-by: Josh Triplett

    Paul E. McKenney
     

28 Apr, 2013

1 commit

  • Signed-off-by: Paul E. McKenney
    Cc: Frederic Weisbecker
    Cc: Steven Rostedt
    Cc: Borislav Petkov
    Cc: Arjan van de Ven
    Cc: Kevin Hilman
    Cc: Christoph Lameter
    Cc: Peter Zijlstra
    Cc: Thomas Gleixner
    Cc: Olivier Baetz
    Reviewed-by: Randy Dunlap
    Reviewed-by: Borislav Petkov
    Reviewed-by: Kevin Hilman

    Paul E. McKenney
     

28 Sep, 2011

1 commit

  • There are numerous broken references to Documentation files (in other
    Documentation files, in comments, etc.). These broken references are
    caused by typo's in the references, and by renames or removals of the
    Documentation files. Some broken references are simply odd.

    Fix these broken references, sometimes by dropping the irrelevant text
    they were part of.

    Signed-off-by: Paul Bolle
    Signed-off-by: Jiri Kosina

    Paul Bolle
     

17 May, 2011

1 commit


02 Nov, 2010

1 commit

  • "gadget", "through", "command", "maintain", "maintain", "controller", "address",
    "between", "initiali[zs]e", "instead", "function", "select", "already",
    "equal", "access", "management", "hierarchy", "registration", "interest",
    "relative", "memory", "offset", "already",

    Signed-off-by: Uwe Kleine-König
    Signed-off-by: Jiri Kosina

    Uwe Kleine-König
     

27 Oct, 2010

1 commit


04 Aug, 2010

1 commit

  • This file seeks to explain the nuances in various delays;
    many driver writers are not necessarily familiar with the
    various kernel timers, their shortfalls, and quirks. When
    faced with

    ndelay, udelay, mdelay, usleep_range, msleep, and msleep_interrubtible

    the question "How do I just wait 1 ms for my hardware to
    latch?" has the non-intuitive "best" answer:
    usleep_range(1000,1500)

    This patch is followed by a series of checkpatch additions
    that seek to help kernel hackers pick the best delay.

    Signed-off-by: Patrick Pannuto
    Cc: apw@canonical.com
    Cc: corbet@lwn.net
    Cc: arjan@linux.intel.com
    Cc: Randy Dunlap
    Cc: Andrew Morton
    LKML-Reference:
    Signed-off-by: Thomas Gleixner

    Patrick Pannuto
     

02 Jun, 2010

1 commit


24 May, 2010

1 commit


13 Mar, 2010

1 commit

  • Documentation/timers/hpet.txt:
    Expose example and tool source files in the Documentation/timers/ directory in
    their own files instead of being buried (almost hidden) in readme/txt files.
    This should help to prevent bitrot.

    This will make them more visible/usable to users who may need
    to use them, to developers who may need to test with them, and
    to anyone who would fix/update them if they were more visible.

    Also, if any of these possibly should not be in the kernel tree at
    all, it will be clearer that they are here and we can discuss if
    they should be removed.

    Signed-off-by: Randy Dunlap
    Cc: Thomas Gleixner
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

09 Nov, 2009

1 commit

  • That URL is out of date. Update it.

    Cc: Thomas Gleixner
    Cc: Randy Dunlap
    Cc: Matt LaPlante
    Cc: Jiri Kosina
    Signed-off-by: WANG Cong
    Acked-by: Matt LaPlante
    Signed-off-by: Jiri Kosina

    Amerigo Wang
     

13 Jun, 2009

1 commit


01 Aug, 2008

1 commit

  • Minor /dev/hpet updates and bugfixes:

    * Remove dead code, mostly remnants of an incomplete/unusable
    kernel interface ... noted when addressing "sparse" warnings:
    + hpet_unregister() and a routine it calls
    + hpet_task and all references, including hpet_task_lock
    + hpet_data.hd_flags (and HPET_DATA_PLATFORM)

    * Correct and improve boot message:
    + displays *counter* (shared between comparators) bit width,
    not *timer* bit widths (which are often mixed)
    + relabel "timers" as "comparators"; this is less confusing,
    they are not independent like normal timers are (sigh)
    + display MHz not Hz; it's never less than 10 MHz.

    * Tighten and correct the userspace interface code
    + don't accidentally program comparators in 64-bit mode using
    32-bit values ... always force comparators into 32-bit mode
    + provide the correct bit definition flagging comparators with
    periodic capability ... the ABI is unchanged

    * Update Documentation/hpet.txt
    + be more correct and current
    + expand description a bit
    + don't mention that now-gone kernel interface

    Plus, add a FIXME comment for something that could cause big trouble
    on systems with more capable HPETs than at least Intel seems to ship.

    It seems that few folk use this userspace interface; it's not very
    usable given the general lack of HPET IRQ routing. I'm told that
    the only real point of it any more is to mmap for fast timestamps;
    IMO that's handled better through the gettimeofday() vsyscall.

    Signed-off-by: David Brownell
    Acked-by: Clemens Ladisch
    Signed-off-by: Ingo Molnar

    David Brownell