Re: [PATCH v1 1/2] mm/page_idle: Add support for per-pid page_idle using virtual indexing

2019-07-23 Thread Minchan Kim
On Tue, Jul 23, 2019 at 10:20:49AM -0400, Joel Fernandes wrote: > On Tue, Jul 23, 2019 at 03:13:58PM +0900, Minchan Kim wrote: > > Hi Joel, > > > > On Mon, Jul 22, 2019 at 05:32:04PM -0400, Joel Fernandes (Google) wrote: > > > The page_idle tracking feature currently requires looking up the pagema

RE: [PATCH V15 1/5] dt-bindings: fsl: scu: add thermal binding

2019-07-23 Thread Anson Huang
Ping... > Hi, Daniel/Rui/Eduardo > Could you please take a look at this patch series? > > Anson > > > From: Anson Huang > > > > NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system > > controller, the system controller is in charge of system power, clock > > and thermal sen

[PATCH v7 3/7] of/platform: Add functional dependency link from DT bindings

2019-07-23 Thread Saravana Kannan
Add device-links after the devices are created (but before they are probed) by looking at common DT bindings like clocks and interconnects. Automatically adding device-links for functional dependencies at the framework level provides the following benefits: - Optimizes device probe order and avoi

Re: [PATCH v6 3/7] of/platform: Add functional dependency link from DT bindings

2019-07-23 Thread Saravana Kannan
On Tue, Jul 23, 2019 at 3:18 PM Rob Herring wrote: > > On Tue, Jul 23, 2019 at 2:49 PM Saravana Kannan wrote: > > > > On Tue, Jul 23, 2019 at 11:06 AM Rob Herring wrote: > > > > > > On Sat, Jul 20, 2019 at 12:17 AM Saravana Kannan > > > wrote: > > > > > > > > Add device-links after the devices

Re: [PATCH v6 1/1] sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices

2019-07-23 Thread Phil Auld
On Tue, Jul 23, 2019 at 05:12:18PM -0500 Dave Chiluk wrote: > Thanks for all the help and testing you provided. It's good to know > these changes have passed at least some scheduler regression tests. > If it comes to a v7 I'll add the Reviewed-by, otherwise I'll just let > Peter add it. > Sounds

[PATCH v4 3/3] f2fs: Support case-insensitive file name lookups

2019-07-23 Thread Daniel Rosenberg
Modeled after commit b886ee3e778e ("ext4: Support case-insensitive file name lookups") """ This patch implements the actual support for case-insensitive file name lookups in f2fs, based on the feature bit and the encoding stored in the superblock. A filesystem that has the casefold feature set is

[PATCH v4 2/3] f2fs: include charset encoding information in the superblock

2019-07-23 Thread Daniel Rosenberg
Add charset encoding to f2fs to support casefolding. It is modeled after the same feature introduced in commit c83ad55eaa91 ("ext4: include charset encoding information in the superblock") Currently this is not compatible with encryption, similar to the current ext4 imlpementation. This will chang

[PATCH v4 1/3] fs: Reserve flag for casefolding

2019-07-23 Thread Daniel Rosenberg
In preparation for including the casefold feature within f2fs, elevate the EXT4_CASEFOLD_FL flag to FS_CASEFOLD_FL. Signed-off-by: Daniel Rosenberg --- include/uapi/linux/fs.h | 1 + tools/include/uapi/linux/fs.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/uapi/linux/fs.h

[PATCH v4 0/3] Casefolding in F2FS

2019-07-23 Thread Daniel Rosenberg
These patches are largely based on the casefolding patches for ext4 v4: Added FS_CASEFOLD_FL flag, added documentation that escaped the last format-patch, moved setting dentry ops to f2fs_setup_casefold v3: Addressed feedback, apart from F2FS_CASEFOLD_FL/FS_CASEFOLD_FL Added sysfs file "en

Re: [PATCH v2] Documentation/security-bugs: provide more information about linux-distros

2019-07-23 Thread Kees Cook
On Fri, Jul 19, 2019 at 10:42:15AM +0200, Solar Designer wrote: > - The reporter having been directed to post from elsewhere (and I > suspect this documentation file) without being aware of list policy. Perhaps specify "linux-distros@" without a domain, so it's more clear? Or re-split the Wiki int

Re: [PATCH] Documentation: filesystem: fix "Removed Sysctls" table

2019-07-23 Thread Dave Chinner
On Tue, Jul 23, 2019 at 03:52:01PM +0100, Sheriff Esseson wrote: > On Tue, Jul 23, 2019 at 07:42:18AM -0600, Jonathan Corbet wrote: > > On Tue, 23 Jul 2019 12:48:13 +0100 > > Sheriff Esseson wrote: > > > > > the "Removed Sysctls" section is a table - bring it alive with ReST. > > > > > > Signed-

Re: [PATCH v6 3/7] of/platform: Add functional dependency link from DT bindings

2019-07-23 Thread Rob Herring
On Tue, Jul 23, 2019 at 2:49 PM Saravana Kannan wrote: > > On Tue, Jul 23, 2019 at 11:06 AM Rob Herring wrote: > > > > On Sat, Jul 20, 2019 at 12:17 AM Saravana Kannan > > wrote: > > > > > > Add device-links after the devices are created (but before they are > > > probed) by looking at common D

Re: [PATCH v6 1/1] sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices

2019-07-23 Thread Dave Chiluk
Thanks for all the help and testing you provided. It's good to know these changes have passed at least some scheduler regression tests. If it comes to a v7 I'll add the Reviewed-by, otherwise I'll just let Peter add it. Will you be handling the backport into the RHEL 8 kernels? I'll submit this

Re: [PATCH 2/2] kernel-doc: core-api: Include string.h into core-api

2019-07-23 Thread Kees Cook
On Mon, Jul 22, 2019 at 05:38:16PM -0700, Joe Perches wrote: > core-api should show all the various string functions including the > newly added stracpy and stracpy_pad. > > Miscellanea: > > o Update the Returns: value for strscpy > o fix a defect with %NUL) > > Signed-off-by: Joe Perches Revi

Re: [PATCH v6 3/7] of/platform: Add functional dependency link from DT bindings

2019-07-23 Thread Saravana Kannan
On Tue, Jul 23, 2019 at 11:06 AM Rob Herring wrote: > > On Sat, Jul 20, 2019 at 12:17 AM Saravana Kannan wrote: > > > > Add device-links after the devices are created (but before they are > > probed) by looking at common DT bindings like clocks and > > interconnects. > > The structure now looks a

Re: [PATCH v6 3/7] of/platform: Add functional dependency link from DT bindings

2019-07-23 Thread Rob Herring
On Sat, Jul 20, 2019 at 12:17 AM Saravana Kannan wrote: > > Add device-links after the devices are created (but before they are > probed) by looking at common DT bindings like clocks and > interconnects. The structure now looks a lot better to me. A few minor things below. > > Automatically addi

Re: [PATCH v6 1/1] sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices

2019-07-23 Thread Phil Auld
Hi Dave, On Tue, Jul 23, 2019 at 11:44:26AM -0500 Dave Chiluk wrote: > It has been observed, that highly-threaded, non-cpu-bound applications > running under cpu.cfs_quota_us constraints can hit a high percentage of > periods throttled while simultaneously not consuming the allocated > amount of q

[PATCH v6 0/1] sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices

2019-07-23 Thread Dave Chiluk
Changelog v6 - Added back missing call to lsub_positive(&cfs_b->runtime, runtime); - Added Reviewed-by: Ben Segall - Fix some grammar in the Documentation, and change some wording. - Updated documentation due to the .rst change Changelog v5 - Based on this comment from Ben Segall's comment on v4

[PATCH v6 1/1] sched/fair: Fix low cpu usage with high throttling by removing expiration of cpu-local slices

2019-07-23 Thread Dave Chiluk
It has been observed, that highly-threaded, non-cpu-bound applications running under cpu.cfs_quota_us constraints can hit a high percentage of periods throttled while simultaneously not consuming the allocated amount of quota. This use case is typical of user-interactive non-cpu bound applications,

Re: [PATCH] Documentation: filesystem: fix "Removed Sysctls" table

2019-07-23 Thread Sheriff Esseson
On Tue, Jul 23, 2019 at 07:42:18AM -0600, Jonathan Corbet wrote: > On Tue, 23 Jul 2019 12:48:13 +0100 > Sheriff Esseson wrote: > > > the "Removed Sysctls" section is a table - bring it alive with ReST. > > > > Signed-off-by: Sheriff Esseson > > So this appears to be identical to the patch you

Re: [PATCH v1 1/2] mm/page_idle: Add support for per-pid page_idle using virtual indexing

2019-07-23 Thread Joel Fernandes
On Mon, Jul 22, 2019 at 03:06:39PM -0700, Andrew Morton wrote: > On Mon, 22 Jul 2019 17:32:04 -0400 "Joel Fernandes (Google)" > wrote: > > > The page_idle tracking feature currently requires looking up the pagemap > > for a process followed by interacting with /sys/kernel/mm/page_idle. > > This

Re: [PATCH v1 1/2] mm/page_idle: Add support for per-pid page_idle using virtual indexing

2019-07-23 Thread Joel Fernandes
On Tue, Jul 23, 2019 at 08:05:25AM +0200, Michal Hocko wrote: > [Cc linux-api - please always do CC this list when introducing a user > visible API] Sorry, will do. > On Mon 22-07-19 17:32:04, Joel Fernandes (Google) wrote: > > The page_idle tracking feature currently requires looking up the pag

Re: [PATCH] mm, slab: Extend slab/shrink to shrink all the memcg caches

2019-07-23 Thread Waiman Long
On 7/22/19 8:46 AM, peter enderborg wrote: > On 7/2/19 8:37 PM, Waiman Long wrote: >> Currently, a value of '1" is written to /sys/kernel/slab//shrink >> file to shrink the slab by flushing all the per-cpu slabs and free >> slabs in partial lists. This applies only to the root caches, though. >> >>

Re: [PATCH v1 1/2] mm/page_idle: Add support for per-pid page_idle using virtual indexing

2019-07-23 Thread Joel Fernandes
On Tue, Jul 23, 2019 at 03:13:58PM +0900, Minchan Kim wrote: > Hi Joel, > > On Mon, Jul 22, 2019 at 05:32:04PM -0400, Joel Fernandes (Google) wrote: > > The page_idle tracking feature currently requires looking up the pagemap > > for a process followed by interacting with /sys/kernel/mm/page_idle.

[PATCH V2 2/2] kernel-doc: core-api: Include string.h into core-api

2019-07-23 Thread Joe Perches
core-api should show all the various string functions including the newly added stracpy and stracpy_pad. Miscellanea: o Update the Returns: value for strscpy o fix a defect with %NUL) Signed-off-by: Joe Perches --- V2: Correct return of -E2BIG descriptions Documentation/core-api/kernel-api.r

[PATCH V2 0/2] string: Add stracpy and stracpy_pad

2019-07-23 Thread Joe Perches
Add more string copy mechanisms to help avoid defects Joe Perches (2): string: Add stracpy and stracpy_pad mechanisms kernel-doc: core-api: Include string.h into core-api Documentation/core-api/kernel-api.rst | 3 +++ include/linux/string.h| 50 ++

Re: [PATCH v1 1/2] mm/page_idle: Add support for per-pid page_idle using virtual indexing

2019-07-23 Thread Joel Fernandes
On Tue, Jul 23, 2019 at 01:10:05PM +0300, Konstantin Khlebnikov wrote: > On 23.07.2019 11:43, Konstantin Khlebnikov wrote: > > On 23.07.2019 0:32, Joel Fernandes (Google) wrote: > > > The page_idle tracking feature currently requires looking up the pagemap > > > for a process followed by interactin

Re: [PATCH] Documentation: filesystem: fix "Removed Sysctls" table

2019-07-23 Thread Jonathan Corbet
On Tue, 23 Jul 2019 12:48:13 +0100 Sheriff Esseson wrote: > the "Removed Sysctls" section is a table - bring it alive with ReST. > > Signed-off-by: Sheriff Esseson So this appears to be identical to the patch you sent three days ago; is there a reason why you are sending it again now? Thanks,

[PATCH] Documentation/features/locking: update lists

2019-07-23 Thread Mark Rutland
The locking feature lists don't match reality as of v5.3-rc1: * arm64 moved to queued spinlocks in commit: c11090474d70590170cf5fa6afe85864ab494b37 ("arm64: locking: Replace ticket lock implementation with qspinlock") * xtensa moved to queued spinlocks and rwlocks in commit: 579afe866f52

Re: [PATCH 2/2] arm64: tlb: Add boot parameter to disable TLB flush within the same inner shareable domain

2019-07-23 Thread Catalin Marinas
On Mon, Jun 17, 2019 at 11:32:55PM +0900, Takao Indoh wrote: > From: Takao Indoh > > This patch adds new boot parameter 'disable_tlbflush_is' to disable TLB > flush within the same inner shareable domain for performance tuning. > > In the case of flush_tlb_mm() *without* this parameter, TLB entr

Re: [PATCH 1/2] arm64: mm: Restore mm_cpumask (revert commit 38d96287504a ("arm64: mm: kill mm_cpumask usage"))

2019-07-23 Thread Catalin Marinas
Hi, I know Will is on the case but just expressing some thoughts of my own. On Mon, Jun 17, 2019 at 11:32:54PM +0900, Takao Indoh wrote: > From: Takao Indoh > > mm_cpumask was deleted by the commit 38d96287504a ("arm64: mm: kill > mm_cpumask usage") because it was not used at that time. Now thi

[PATCH] Documentation: filesystem: fix "Removed Sysctls" table

2019-07-23 Thread Sheriff Esseson
the "Removed Sysctls" section is a table - bring it alive with ReST. Signed-off-by: Sheriff Esseson --- Documentation/admin-guide/xfs.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/admin-guide/xfs.rst b/Documentation/admin-guide/xfs.rst index e76665a8

Re: [PATCH v1 1/2] mm/page_idle: Add support for per-pid page_idle using virtual indexing

2019-07-23 Thread Konstantin Khlebnikov
On 23.07.2019 11:43, Konstantin Khlebnikov wrote: On 23.07.2019 0:32, Joel Fernandes (Google) wrote: The page_idle tracking feature currently requires looking up the pagemap for a process followed by interacting with /sys/kernel/mm/page_idle. This is quite cumbersome and can be error-prone too.

RE: [PATCH v5] Documentation/checkpatch: Prefer strscpy/strscpy_pad over strcpy/strlcpy/strncpy

2019-07-23 Thread Gote, Nitin R
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Monday, July 22, 2019 11:11 PM > To: Kees Cook ; Gote, Nitin R > > Cc: cor...@lwn.net; a...@linux-foundation.org; a...@canonical.com; > linux-doc@vger.kernel.org; kernel-harden...@lists.openwall.com > Subject: Re:

[PATCH v3 0/2] Add CCPI2 PMU support

2019-07-23 Thread Ganapatrao Kulkarni
Add Cavium Coherent Processor Interconnect (CCPI2) PMU support in ThunderX2 Uncore driver. v3: Rebased to 5.3-rc1 v2: Updated with review comments [1] [1] https://lkml.org/lkml/2019/6/14/965 v1: initial patch Ganapatrao Kulkarni (2): Documentation: perf: Update documentation for ThunderX2 PM

[PATCH v3 2/2] drivers/perf: Add CCPI2 PMU support in ThunderX2 UNCORE driver.

2019-07-23 Thread Ganapatrao Kulkarni
CCPI2 is a low-latency high-bandwidth serial interface for connecting ThunderX2 processors. This patch adds support to capture CCPI2 perf events. Signed-off-by: Ganapatrao Kulkarni --- drivers/perf/thunderx2_pmu.c | 248 ++- 1 file changed, 214 insertions(+), 34 d

[PATCH v3 1/2] Documentation: perf: Update documentation for ThunderX2 PMU uncore driver

2019-07-23 Thread Ganapatrao Kulkarni
From: Ganapatrao Kulkarni Add documentation for Cavium Coherent Processor Interconnect (CCPI2) PMU. Signed-off-by: Ganapatrao Kulkarni --- .../admin-guide/perf/thunderx2-pmu.rst| 20 ++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/Documentation/admin-

Re: [PATCH v1 1/2] mm/page_idle: Add support for per-pid page_idle using virtual indexing

2019-07-23 Thread Konstantin Khlebnikov
On 23.07.2019 0:32, Joel Fernandes (Google) wrote: The page_idle tracking feature currently requires looking up the pagemap for a process followed by interacting with /sys/kernel/mm/page_idle. This is quite cumbersome and can be error-prone too. If between accessing the per-PID pagemap and the gl