1. 19 11月, 2015 1 次提交
  2. 15 10月, 2015 1 次提交
  3. 10 10月, 2015 1 次提交
  4. 01 10月, 2015 1 次提交
  5. 30 9月, 2015 2 次提交
    • T
      testptp: Silence compiler warnings on ppc64 · 9ae6d493
      Thomas Huth 提交于
      When compiling Documentation/ptp/testptp.c the following compiler
      warnings are printed out:
      
      Documentation/ptp/testptp.c: In function ‘main’:
      Documentation/ptp/testptp.c:367:11: warning: format ‘%lld’ expects argument
          of type ‘long long int’, but argument 3 has type ‘__s64’ [-Wformat=]
                 event.t.sec, event.t.nsec);
                 ^
      Documentation/ptp/testptp.c:505:5: warning: format ‘%lld’ expects argument
          of type ‘long long int’, but argument 2 has type ‘__s64’ [-Wformat=]
           (pct+2*i)->sec, (pct+2*i)->nsec);
           ^
      Documentation/ptp/testptp.c:507:5: warning: format ‘%lld’ expects argument
          of type ‘long long int’, but argument 2 has type ‘__s64’ [-Wformat=]
           (pct+2*i+1)->sec, (pct+2*i+1)->nsec);
           ^
      Documentation/ptp/testptp.c:509:5: warning: format ‘%lld’ expects argument
          of type ‘long long int’, but argument 2 has type ‘__s64’ [-Wformat=]
           (pct+2*i+2)->sec, (pct+2*i+2)->nsec);
      
      This happens because __s64 is by default defined as "long" on ppc64,
      not as "long long". However, to fix these warnings, it's possible to
      define the __SANE_USERSPACE_TYPES__ so that __s64 gets defined to
      "long long" on ppc64, too.
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      Acked-by: NRichard Cochran <richardcochran@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      9ae6d493
    • G
      spi: sh-msiof: Match renesas,rx-fifo-size in DT bindings doc with driver · eb8d0ac4
      Geert Uytterhoeven 提交于
      Commit fe78d0b7 ("spi: sh-msiof: Fix FIFO size to 64 word from
      256 word") changed the default RX FIFO size on R-Car Gen2 SoCs in the
      driver code, but forgot to update the DT bindings documentation.
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      eb8d0ac4
  6. 25 9月, 2015 5 次提交
  7. 23 9月, 2015 1 次提交
  8. 20 9月, 2015 2 次提交
  9. 18 9月, 2015 7 次提交
  10. 15 9月, 2015 2 次提交
  11. 14 9月, 2015 4 次提交
  12. 13 9月, 2015 1 次提交
  13. 11 9月, 2015 6 次提交
    • C
      PM / devfreq: exynos-ppmu: Update documentation to support PPMUv2 · d80f0223
      Chanwoo Choi 提交于
      This patch updates the documentation to include the information of PPMUv2.
      The PPMUv2 is used for Exynos5433 and Exynos7420 to monitor the performance
      of each IP in Exynos SoC.
      
      Cc: MyungJoo Ham <myungjoo.ham@samsung.com>
      Cc: Kyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
      d80f0223
    • J
      PM / devfreq: event: Remove incorrect property in exynos-ppmu DT binding · f47ff87f
      Javier Martinez Canillas 提交于
      The exynos-ppmu driver is only a clock consumer and not a clock provider
      but its Device Tree binding listed #clock-cells as an optional property.
      Signed-off-by: NJavier Martinez Canillas <javier@osg.samsung.com>
      Reviewed-by: NChanwoo Choi <cw00.choi@samsung.com>
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      f47ff87f
    • V
      proc: export idle flag via kpageflags · f074a8f4
      Vladimir Davydov 提交于
      As noted by Minchan, a benefit of reading idle flag from /proc/kpageflags
      is that one can easily filter dirty and/or unevictable pages while
      estimating the size of unused memory.
      
      Note that idle flag read from /proc/kpageflags may be stale in case the
      page was accessed via a PTE, because it would be too costly to iterate
      over all page mappings on each /proc/kpageflags read to provide an
      up-to-date value.  To make sure the flag is up-to-date one has to read
      /sys/kernel/mm/page_idle/bitmap first.
      Signed-off-by: NVladimir Davydov <vdavydov@parallels.com>
      Reviewed-by: NAndres Lagar-Cavilla <andreslc@google.com>
      Cc: Minchan Kim <minchan@kernel.org>
      Cc: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Michal Hocko <mhocko@suse.cz>
      Cc: Greg Thelen <gthelen@google.com>
      Cc: Michel Lespinasse <walken@google.com>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Pavel Emelyanov <xemul@parallels.com>
      Cc: Cyrill Gorcunov <gorcunov@openvz.org>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f074a8f4
    • V
      mm: introduce idle page tracking · 33c3fc71
      Vladimir Davydov 提交于
      Knowing the portion of memory that is not used by a certain application or
      memory cgroup (idle memory) can be useful for partitioning the system
      efficiently, e.g.  by setting memory cgroup limits appropriately.
      Currently, the only means to estimate the amount of idle memory provided
      by the kernel is /proc/PID/{clear_refs,smaps}: the user can clear the
      access bit for all pages mapped to a particular process by writing 1 to
      clear_refs, wait for some time, and then count smaps:Referenced.  However,
      this method has two serious shortcomings:
      
       - it does not count unmapped file pages
       - it affects the reclaimer logic
      
      To overcome these drawbacks, this patch introduces two new page flags,
      Idle and Young, and a new sysfs file, /sys/kernel/mm/page_idle/bitmap.
      A page's Idle flag can only be set from userspace by setting bit in
      /sys/kernel/mm/page_idle/bitmap at the offset corresponding to the page,
      and it is cleared whenever the page is accessed either through page tables
      (it is cleared in page_referenced() in this case) or using the read(2)
      system call (mark_page_accessed()). Thus by setting the Idle flag for
      pages of a particular workload, which can be found e.g.  by reading
      /proc/PID/pagemap, waiting for some time to let the workload access its
      working set, and then reading the bitmap file, one can estimate the amount
      of pages that are not used by the workload.
      
      The Young page flag is used to avoid interference with the memory
      reclaimer.  A page's Young flag is set whenever the Access bit of a page
      table entry pointing to the page is cleared by writing to the bitmap file.
      If page_referenced() is called on a Young page, it will add 1 to its
      return value, therefore concealing the fact that the Access bit was
      cleared.
      
      Note, since there is no room for extra page flags on 32 bit, this feature
      uses extended page flags when compiled on 32 bit.
      
      [akpm@linux-foundation.org: fix build]
      [akpm@linux-foundation.org: kpageidle requires an MMU]
      [akpm@linux-foundation.org: decouple from page-flags rework]
      Signed-off-by: NVladimir Davydov <vdavydov@parallels.com>
      Reviewed-by: NAndres Lagar-Cavilla <andreslc@google.com>
      Cc: Minchan Kim <minchan@kernel.org>
      Cc: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Michal Hocko <mhocko@suse.cz>
      Cc: Greg Thelen <gthelen@google.com>
      Cc: Michel Lespinasse <walken@google.com>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Pavel Emelyanov <xemul@parallels.com>
      Cc: Cyrill Gorcunov <gorcunov@openvz.org>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      33c3fc71
    • V
      proc: add kpagecgroup file · 80ae2fdc
      Vladimir Davydov 提交于
      /proc/kpagecgroup contains a 64-bit inode number of the memory cgroup each
      page is charged to, indexed by PFN.  Having this information is useful for
      estimating a cgroup working set size.
      
      The file is present if CONFIG_PROC_PAGE_MONITOR && CONFIG_MEMCG.
      Signed-off-by: NVladimir Davydov <vdavydov@parallels.com>
      Reviewed-by: NAndres Lagar-Cavilla <andreslc@google.com>
      Cc: Minchan Kim <minchan@kernel.org>
      Cc: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>
      Cc: Johannes Weiner <hannes@cmpxchg.org>
      Cc: Michal Hocko <mhocko@suse.cz>
      Cc: Greg Thelen <gthelen@google.com>
      Cc: Michel Lespinasse <walken@google.com>
      Cc: David Rientjes <rientjes@google.com>
      Cc: Pavel Emelyanov <xemul@parallels.com>
      Cc: Cyrill Gorcunov <gorcunov@openvz.org>
      Cc: Jonathan Corbet <corbet@lwn.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      80ae2fdc
    • D
      zswap: update docs for runtime-changeable attributes · 9c4c5ef3
      Dan Streetman 提交于
      Change the Documentation/vm/zswap.txt doc to indicate that the "zpool" and
      "compressor" params are now changeable at runtime.
      Signed-off-by: NDan Streetman <ddstreet@ieee.org>
      Cc: Seth Jennings <sjennings@variantweb.net>
      Cc: Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
      Cc: Vlastimil Babka <vbabka@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      9c4c5ef3
  14. 10 9月, 2015 5 次提交
  15. 09 9月, 2015 1 次提交