[PATCH] fs: Convert return type int to vm_fault_t

2018-08-28 Thread Souptick Joarder
Return type for fault handlers in ext4 and nilfs are changed to use vm_fault_t. Return type of block_page_mkwrite() is changed from int to vm_fault_t. The function signature of block_page_mkwrite() is changed to add one new parameter int *err. This will provide a way for caller functions to get

[PATCH] fs: Convert return type int to vm_fault_t

2018-08-28 Thread Souptick Joarder
Return type for fault handlers in ext4 and nilfs are changed to use vm_fault_t. Return type of block_page_mkwrite() is changed from int to vm_fault_t. The function signature of block_page_mkwrite() is changed to add one new parameter int *err. This will provide a way for caller functions to get

Re: [PATCH v6 3/5] clk: imx: add SCCG PLL type

2018-08-28 Thread Andrey Smirnov
On Tue, Aug 28, 2018 at 3:58 AM Abel Vesa wrote: > > On Fri, Aug 24, 2018 at 09:40:11AM +0200, Sascha Hauer wrote: > > +Cc Andrey Smirnov who made me aware of this issue. > > > > On Wed, Aug 22, 2018 at 04:48:21PM +0300, Abel Vesa wrote: > > > From: Lucas Stach > > > > > > The SCCG is a new PLL

Re: [PATCH v6 3/5] clk: imx: add SCCG PLL type

2018-08-28 Thread Andrey Smirnov
On Tue, Aug 28, 2018 at 3:58 AM Abel Vesa wrote: > > On Fri, Aug 24, 2018 at 09:40:11AM +0200, Sascha Hauer wrote: > > +Cc Andrey Smirnov who made me aware of this issue. > > > > On Wed, Aug 22, 2018 at 04:48:21PM +0300, Abel Vesa wrote: > > > From: Lucas Stach > > > > > > The SCCG is a new PLL

Re: [PATCH v9 1/4] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-28 Thread Song Liu
Hi all, What's our plan with this work? Will this be routed via Steven's tree? Thanks, Song On Wed, Aug 22, 2018 at 5:39 AM Srikar Dronamraju wrote: > > * Ravi Bangoria [2018-08-20 10:12:47]: > > > Userspace Statically Defined Tracepoints[1] are dtrace style markers > > inside userspace

Re: [PATCH v9 1/4] Uprobes: Support SDT markers having reference count (semaphore)

2018-08-28 Thread Song Liu
Hi all, What's our plan with this work? Will this be routed via Steven's tree? Thanks, Song On Wed, Aug 22, 2018 at 5:39 AM Srikar Dronamraju wrote: > > * Ravi Bangoria [2018-08-20 10:12:47]: > > > Userspace Statically Defined Tracepoints[1] are dtrace style markers > > inside userspace

Re: [PATCH 0/1] Fix ADI axi-i2s + Xilinx AXI-DMA capture

2018-08-28 Thread Mark Brown
On Fri, Aug 24, 2018 at 06:04:29PM +0200, Luca Ceresoli wrote: > Hi, > > here is a fix for a nasty audio capture problem when the axi-i2s > output stream is fed to a Xilinx AXI-DMA. Please don't send cover letters for single patches, if there is anything that needs saying put it in the changelog

Re: [PATCH 0/1] Fix ADI axi-i2s + Xilinx AXI-DMA capture

2018-08-28 Thread Mark Brown
On Fri, Aug 24, 2018 at 06:04:29PM +0200, Luca Ceresoli wrote: > Hi, > > here is a fix for a nasty audio capture problem when the axi-i2s > output stream is fed to a Xilinx AXI-DMA. Please don't send cover letters for single patches, if there is anything that needs saying put it in the changelog

[PATCH 4/4] staging:rtl8192u: Rename member pDot11dInfo - Style

2018-08-28 Thread John Whitmore
Rename 'pDot11dInfo', this member variable of the structure ieee80211_device causes a checkpatch issue, CamelCase naming. The member has been renamed 'dot11d_info' to clear this issue. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John

[PATCH 2/4] staging:rtl8192u: Add required SPDX-License-Identifier - Style

2018-08-28 Thread John Whitmore
Add the required SPDX-License-Identifier to the file r8180_93cx6.h, this clears a checkpatch issue. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8180_93cx6.h | 1 + 1 file changed, 1 insertion(+)

[PATCH 4/4] staging:rtl8192u: Rename member pDot11dInfo - Style

2018-08-28 Thread John Whitmore
Rename 'pDot11dInfo', this member variable of the structure ieee80211_device causes a checkpatch issue, CamelCase naming. The member has been renamed 'dot11d_info' to clear this issue. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John

[PATCH 2/4] staging:rtl8192u: Add required SPDX-License-Identifier - Style

2018-08-28 Thread John Whitmore
Add the required SPDX-License-Identifier to the file r8180_93cx6.h, this clears a checkpatch issue. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8180_93cx6.h | 1 + 1 file changed, 1 insertion(+)

[PATCH 3/4] staging:rtl8192u: Refactor member variable enabled - Style

2018-08-28 Thread John Whitmore
The structure rt_dot11d_info contains a memeber variable 'enabled', which causes a checkpatch issue as it is declared as being of type bool. The type of the variable has been changed to a 'u8', to clear the issue. Additionally to aid searching for the member variable in code it has been renamed

[PATCH 3/4] staging:rtl8192u: Refactor member variable enabled - Style

2018-08-28 Thread John Whitmore
The structure rt_dot11d_info contains a memeber variable 'enabled', which causes a checkpatch issue as it is declared as being of type bool. The type of the variable has been changed to a 'u8', to clear the issue. Additionally to aid searching for the member variable in code it has been renamed

[PATCH 1/4] staging:rtl8192u: Remove unused definitions - Style

2018-08-28 Thread John Whitmore
Remove unused definitions from the file r8180_93cx6.h. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8180_93cx6.h | 18 -- 1 file changed, 18 deletions(-) diff --git

[PATCH 1/4] staging:rtl8192u: Remove unused definitions - Style

2018-08-28 Thread John Whitmore
Remove unused definitions from the file r8180_93cx6.h. This is a coding style change which should have no impact on runtime code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8180_93cx6.h | 18 -- 1 file changed, 18 deletions(-) diff --git

[PATCH 0/4] staging:rtl8192u: Style and a question?

2018-08-28 Thread John Whitmore
This short series of coding style changes clears the remaining checkpatch issues in the files r8180_93cx6.h and dot11d.h. The file dot11d.h does still contain lines over the 80 character limit, but most of these lines are MACRO definitions, and I'm not sure splitting them will add anything to the

[PATCH 0/4] staging:rtl8192u: Style and a question?

2018-08-28 Thread John Whitmore
This short series of coding style changes clears the remaining checkpatch issues in the files r8180_93cx6.h and dot11d.h. The file dot11d.h does still contain lines over the 80 character limit, but most of these lines are MACRO definitions, and I'm not sure splitting them will add anything to the

Re: [PATCH 3/8] RISC-V: Rename riscv_of_processor_hart to riscv_of_processor_hartid

2018-08-28 Thread Atish Patra
On 8/27/18 11:58 AM, Palmer Dabbelt wrote: It's a bit confusing exactly what this function does: it actually returns the hartid of an OF processor node, failing with -1 on invalid nodes. I've changed the name to _hartid() in order to make that a bit more clear, as well as adding a comment.

Re: [PATCH 3/8] RISC-V: Rename riscv_of_processor_hart to riscv_of_processor_hartid

2018-08-28 Thread Atish Patra
On 8/27/18 11:58 AM, Palmer Dabbelt wrote: It's a bit confusing exactly what this function does: it actually returns the hartid of an OF processor node, failing with -1 on invalid nodes. I've changed the name to _hartid() in order to make that a bit more clear, as well as adding a comment.

Re: [PATCH v6 3/5] clk: imx: add SCCG PLL type

2018-08-28 Thread Andrey Smirnov
On Wed, Aug 22, 2018 at 6:52 AM Abel Vesa wrote: > > From: Lucas Stach > > The SCCG is a new PLL type introduced on i.MX8. Add support for this. > The driver currently misses the PLL lock check, as the preliminary > documentation mentions lock configurations, but is quiet about where > to find

Re: [PATCH v6 3/5] clk: imx: add SCCG PLL type

2018-08-28 Thread Andrey Smirnov
On Wed, Aug 22, 2018 at 6:52 AM Abel Vesa wrote: > > From: Lucas Stach > > The SCCG is a new PLL type introduced on i.MX8. Add support for this. > The driver currently misses the PLL lock check, as the preliminary > documentation mentions lock configurations, but is quiet about where > to find

Re: [PATCH v6 5/5] clk: imx: add clock driver for i.MX8MQ CCM

2018-08-28 Thread Andrey Smirnov
On Wed, Aug 22, 2018 at 7:05 AM Abel Vesa wrote: > > From: Lucas Stach > > Add driver for the Clock Control Module found on i.MX8MQ. > > This is largely based on the downstream driver from Anson Huang and > Bai Ping at NXP, with only some small adaptions to mainline from me. > > Signed-off-by:

Re: [PATCH v6 5/5] clk: imx: add clock driver for i.MX8MQ CCM

2018-08-28 Thread Andrey Smirnov
On Wed, Aug 22, 2018 at 7:05 AM Abel Vesa wrote: > > From: Lucas Stach > > Add driver for the Clock Control Module found on i.MX8MQ. > > This is largely based on the downstream driver from Anson Huang and > Bai Ping at NXP, with only some small adaptions to mainline from me. > > Signed-off-by:

Re: regression: broken ppc64le build with CONFIG_KERNEL_XZ=y

2018-08-28 Thread Krzysztof Kozlowski
On Mon, Aug 27, 2018 at 01:30:37PM +0200, Michal Kubecek wrote: > Building 4.19-rc1 kernel with CONFIG_KERNEL_XZ=y fails with this error: > > BOOTCC arch/powerpc/boot/decompress.o > In file included from arch/powerpc/boot/../../../lib/decompress_unxz.c:233, > from

Re: regression: broken ppc64le build with CONFIG_KERNEL_XZ=y

2018-08-28 Thread Krzysztof Kozlowski
On Mon, Aug 27, 2018 at 01:30:37PM +0200, Michal Kubecek wrote: > Building 4.19-rc1 kernel with CONFIG_KERNEL_XZ=y fails with this error: > > BOOTCC arch/powerpc/boot/decompress.o > In file included from arch/powerpc/boot/../../../lib/decompress_unxz.c:233, > from

[PATCH v2] x86/entry/64: wipe KASAN stack shadow before rewind_stack_do_exit()

2018-08-28 Thread Jann Horn
Reset the KASAN shadow state of the task stack before rewinding RSP. Without this, a kernel oops will leave parts of the stack poisoned, and code running under do_exit() can trip over such poisoned regions and cause nonsensical false-positive KASAN reports about stack-out-of-bounds bugs. This

[PATCH v2] x86/entry/64: wipe KASAN stack shadow before rewind_stack_do_exit()

2018-08-28 Thread Jann Horn
Reset the KASAN shadow state of the task stack before rewinding RSP. Without this, a kernel oops will leave parts of the stack poisoned, and code running under do_exit() can trip over such poisoned regions and cause nonsensical false-positive KASAN reports about stack-out-of-bounds bugs. This

Re: [PATCH v4 07/16] sched/core: uclamp: extend cpu's cgroup controller

2018-08-28 Thread Randy Dunlap
On 08/28/2018 06:53 AM, Patrick Bellasi wrote: > +config UCLAMP_TASK_GROUP > + bool "Utilization clamping per group of tasks" > + depends on CGROUP_SCHED > + depends on UCLAMP_TASK > + default n > + help > + This feature enables the scheduler to track the clamped

Re: [PATCH v4 07/16] sched/core: uclamp: extend cpu's cgroup controller

2018-08-28 Thread Randy Dunlap
On 08/28/2018 06:53 AM, Patrick Bellasi wrote: > +config UCLAMP_TASK_GROUP > + bool "Utilization clamping per group of tasks" > + depends on CGROUP_SCHED > + depends on UCLAMP_TASK > + default n > + help > + This feature enables the scheduler to track the clamped

Re: [PATCH 01/13] seq_file: rewrite seq_puts() in terms of seq_write()

2018-08-28 Thread Joe Perches
On Tue, 2018-08-28 at 02:14 +0300, Alexey Dobriyan wrote: > Space savings -- 42 bytes! > > seq_puts71 29 [-42] > > Signed-off-by: Alexey Dobriyan > --- > fs/seq_file.c | 9 + > 1 file changed, 1 insertion(+), 8 deletions(-) > > diff --git a/fs/seq_file.c

Re: [PATCH 01/13] seq_file: rewrite seq_puts() in terms of seq_write()

2018-08-28 Thread Joe Perches
On Tue, 2018-08-28 at 02:14 +0300, Alexey Dobriyan wrote: > Space savings -- 42 bytes! > > seq_puts71 29 [-42] > > Signed-off-by: Alexey Dobriyan > --- > fs/seq_file.c | 9 + > 1 file changed, 1 insertion(+), 8 deletions(-) > > diff --git a/fs/seq_file.c

Re: [PATCH] MAINTAINERS: Move entry for Cirrus Logic Madera codecs

2018-08-28 Thread Joe Perches
On Tue, 2018-08-28 at 17:28 +0200, Miguel Ojeda wrote: > Hi, > > On Tue, Aug 28, 2018 at 3:57 PM, Richard Fitzgerald > wrote: > > Reviewed-by: Richard Fitzgerald > > > > A maintainer for MAINTAINERS would help avoid these problems, which will > > tend to happen when changes to the file go

Re: [PATCH] MAINTAINERS: Move entry for Cirrus Logic Madera codecs

2018-08-28 Thread Joe Perches
On Tue, 2018-08-28 at 17:28 +0200, Miguel Ojeda wrote: > Hi, > > On Tue, Aug 28, 2018 at 3:57 PM, Richard Fitzgerald > wrote: > > Reviewed-by: Richard Fitzgerald > > > > A maintainer for MAINTAINERS would help avoid these problems, which will > > tend to happen when changes to the file go

Re: [PATCH] arm64: add NUMA emulation support

2018-08-28 Thread Shuah Khan
On 08/28/2018 11:40 AM, Will Deacon wrote: > On Fri, Aug 24, 2018 at 05:05:59PM -0600, Shuah Khan (Samsung OSG) wrote: >> Add NUMA emulation support to emulate NUMA on non-NUMA platforms. A new >> CONFIG_NUMA_EMU option enables NUMA emulation and a new kernel command >> line option "numa=fake=N"

Re: [PATCH] arm64: add NUMA emulation support

2018-08-28 Thread Shuah Khan
On 08/28/2018 11:40 AM, Will Deacon wrote: > On Fri, Aug 24, 2018 at 05:05:59PM -0600, Shuah Khan (Samsung OSG) wrote: >> Add NUMA emulation support to emulate NUMA on non-NUMA platforms. A new >> CONFIG_NUMA_EMU option enables NUMA emulation and a new kernel command >> line option "numa=fake=N"

Re: [PATCH] mm: Conveted to use vm_fault_t

2018-08-28 Thread Souptick Joarder
On Tue, Aug 28, 2018 at 11:18 PM Souptick Joarder wrote: > > As part of vm_fault_t conversion filemap_page_mkwrite() > for NOMMU case was missed. Now converted. > > Signed-off-by: Souptick Joarder cc: Matthew Wilcox > --- > mm/filemap.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

Re: [PATCH] mm: Conveted to use vm_fault_t

2018-08-28 Thread Souptick Joarder
On Tue, Aug 28, 2018 at 11:18 PM Souptick Joarder wrote: > > As part of vm_fault_t conversion filemap_page_mkwrite() > for NOMMU case was missed. Now converted. > > Signed-off-by: Souptick Joarder cc: Matthew Wilcox > --- > mm/filemap.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

[PATCH v2] x86/nmi: Fix some races in NMI uaccess

2018-08-28 Thread Rik van Riel
On Mon, 27 Aug 2018 16:04:16 -0700 Andy Lutomirski wrote: > The 0day bot is still chewing on this, but I've tested it a bit locally > and it seems to do the right thing. Hi Andy, the version of the patch below should fix the bug we talked about in email yesterday. It should automatically

[PATCH v2] x86/nmi: Fix some races in NMI uaccess

2018-08-28 Thread Rik van Riel
On Mon, 27 Aug 2018 16:04:16 -0700 Andy Lutomirski wrote: > The 0day bot is still chewing on this, but I've tested it a bit locally > and it seems to do the right thing. Hi Andy, the version of the patch below should fix the bug we talked about in email yesterday. It should automatically

Re: [PATCH] nohz: Fix missing tick reprog while interrupting inline timer softirq

2018-08-28 Thread Grygorii Strashko
On 08/24/2018 01:41 PM, Frederic Weisbecker wrote: > On Fri, Aug 24, 2018 at 11:10:44AM -0500, Grygorii Strashko wrote: >> Yes. i do not see local_softirq_pending messages any more >> >> But one question, just to clarify, after patch "nohz: Fix missing tick >> reprog while interrupting inline

Re: [PATCH] nohz: Fix missing tick reprog while interrupting inline timer softirq

2018-08-28 Thread Grygorii Strashko
On 08/24/2018 01:41 PM, Frederic Weisbecker wrote: > On Fri, Aug 24, 2018 at 11:10:44AM -0500, Grygorii Strashko wrote: >> Yes. i do not see local_softirq_pending messages any more >> >> But one question, just to clarify, after patch "nohz: Fix missing tick >> reprog while interrupting inline

Re: [PATCH] Properly interpret indirect call in perf annotate.

2018-08-28 Thread Martin Liška
On 08/28/2018 04:18 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Aug 28, 2018 at 11:10:47AM -0300, Arnaldo Carvalho de Melo escreveu: Em Mon, Aug 27, 2018 at 11:06:21AM +0200, Martin Liška escreveu: On 08/23/2018 04:12 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Aug 23, 2018 at 02:29:34PM

Re: [PATCH] Properly interpret indirect call in perf annotate.

2018-08-28 Thread Martin Liška
On 08/28/2018 04:18 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Aug 28, 2018 at 11:10:47AM -0300, Arnaldo Carvalho de Melo escreveu: Em Mon, Aug 27, 2018 at 11:06:21AM +0200, Martin Liška escreveu: On 08/23/2018 04:12 PM, Arnaldo Carvalho de Melo wrote: Em Thu, Aug 23, 2018 at 02:29:34PM

Re: [PATCH v5 5/5] KVM: x86: hyperv: implement PV IPI send hypercalls

2018-08-28 Thread Roman Kagan
On Mon, Aug 27, 2018 at 06:48:58PM +0200, Vitaly Kuznetsov wrote: > Using hypercall for sending IPIs is faster because this allows to specify > any number of vCPUs (even > 64 with sparse CPU set), the whole procedure > will take only one VMEXIT. > > Current Hyper-V TLFS (v5.0b) claims that

Re: [PATCH v5 5/5] KVM: x86: hyperv: implement PV IPI send hypercalls

2018-08-28 Thread Roman Kagan
On Mon, Aug 27, 2018 at 06:48:58PM +0200, Vitaly Kuznetsov wrote: > Using hypercall for sending IPIs is faster because this allows to specify > any number of vCPUs (even > 64 with sparse CPU set), the whole procedure > will take only one VMEXIT. > > Current Hyper-V TLFS (v5.0b) claims that

[PATCH v2 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-28 Thread Florian Fainelli
Enable the SFP connected to port 5 of the switch and wire up all GPIOs to the SFP cage. Because of a hardware limitation of the i2c controller on the iProc SoCs which prevents large i2c (> 63 bytes) transactions to work, we use the i2c-gpio interface instead, which does not have that limitation.

[PATCH v2 1/3] ARM: dts: NSP: Enable SFP on bcm958625hr

2018-08-28 Thread Florian Fainelli
Enable the SFP connected to port 5 of the switch and wire up all GPIOs to the SFP cage. Because of a hardware limitation of the i2c controller on the iProc SoCs which prevents large i2c (> 63 bytes) transactions to work, we use the i2c-gpio interface instead, which does not have that limitation.

[PATCH v2 3/3] ARM: dts: NSP: Wire up switch interrupts

2018-08-28 Thread Florian Fainelli
The Switch Register Access Block (SRAB) has one interrupt for link state change on each ports (0-5, 7-8) a PHY interrupt, timestamping interrupt and sleep timer interrupts for each management ports (5,7,8). Wire those up so we can utilize them to speed up link resolution. Signed-off-by: Florian

[PATCH v2 3/3] ARM: dts: NSP: Wire up switch interrupts

2018-08-28 Thread Florian Fainelli
The Switch Register Access Block (SRAB) has one interrupt for link state change on each ports (0-5, 7-8) a PHY interrupt, timestamping interrupt and sleep timer interrupts for each management ports (5,7,8). Wire those up so we can utilize them to speed up link resolution. Signed-off-by: Florian

[PATCH v2 2/3] dt-bindings: net: dsa: Document B53 SRAB interrupts and registers

2018-08-28 Thread Florian Fainelli
Document the Broadcom roboswitch Switch Register Access Block interrupt lines and additional register base addresses for port mux configuration and SGMII status/configuration registers. Signed-off-by: Florian Fainelli --- .../devicetree/bindings/net/dsa/b53.txt | 23 +++ 1

[PATCH v2 2/3] dt-bindings: net: dsa: Document B53 SRAB interrupts and registers

2018-08-28 Thread Florian Fainelli
Document the Broadcom roboswitch Switch Register Access Block interrupt lines and additional register base addresses for port mux configuration and SGMII status/configuration registers. Signed-off-by: Florian Fainelli --- .../devicetree/bindings/net/dsa/b53.txt | 23 +++ 1

[PATCH v2 0/3] ARM: NSP updates to support switch interrupts/SFP

2018-08-28 Thread Florian Fainelli
Hi all, This patch series updates the ARM NSP DTS and BCM958625HR in order to support the SFP connected to port 5 on these reference boards. I will be submitting the functional changes to drivers/net/dsa/b53 once net-next opens back up, but this is largely independent from getting these 3

[PATCH v2 0/3] ARM: NSP updates to support switch interrupts/SFP

2018-08-28 Thread Florian Fainelli
Hi all, This patch series updates the ARM NSP DTS and BCM958625HR in order to support the SFP connected to port 5 on these reference boards. I will be submitting the functional changes to drivers/net/dsa/b53 once net-next opens back up, but this is largely independent from getting these 3

Re: [perf] perf_event.h ABI visibility question

2018-08-28 Thread Vince Weaver
On Mon, 27 Aug 2018, Peter Zijlstra wrote: > Something like so then? > > diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h > index eeb787b1c53c..f35eb72739c0 100644 > --- a/include/uapi/linux/perf_event.h > +++ b/include/uapi/linux/perf_event.h > @@ -144,7 +144,7 @@

Re: [perf] perf_event.h ABI visibility question

2018-08-28 Thread Vince Weaver
On Mon, 27 Aug 2018, Peter Zijlstra wrote: > Something like so then? > > diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h > index eeb787b1c53c..f35eb72739c0 100644 > --- a/include/uapi/linux/perf_event.h > +++ b/include/uapi/linux/perf_event.h > @@ -144,7 +144,7 @@

Re: [PATCH 01/10] cramfs: Convert to use vmf_insert_mixed

2018-08-28 Thread Nicolas Pitre
On Tue, 28 Aug 2018, Matthew Wilcox wrote: > cramfs is the only remaining user of vm_insert_mixed; convert it. > > Signed-off-by: Matthew Wilcox > --- > fs/cramfs/inode.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c >

Re: [PATCH 01/10] cramfs: Convert to use vmf_insert_mixed

2018-08-28 Thread Nicolas Pitre
On Tue, 28 Aug 2018, Matthew Wilcox wrote: > cramfs is the only remaining user of vm_insert_mixed; convert it. > > Signed-off-by: Matthew Wilcox > --- > fs/cramfs/inode.c | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c >

[PATCH] mm: Conveted to use vm_fault_t

2018-08-28 Thread Souptick Joarder
As part of vm_fault_t conversion filemap_page_mkwrite() for NOMMU case was missed. Now converted. Signed-off-by: Souptick Joarder --- mm/filemap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index 52517f2..de6fed2 100644 --- a/mm/filemap.c

[PATCH] mm: Conveted to use vm_fault_t

2018-08-28 Thread Souptick Joarder
As part of vm_fault_t conversion filemap_page_mkwrite() for NOMMU case was missed. Now converted. Signed-off-by: Souptick Joarder --- mm/filemap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/filemap.c b/mm/filemap.c index 52517f2..de6fed2 100644 --- a/mm/filemap.c

MRS.EVELYN FROM UNITED STATE OF AMERICA

2018-08-28 Thread Mrs. Evelyn Easmon
-- Good morning and how are you doing this morning I believe good, My name is Mrs. Evelyn Easmon, a US national, I got in contact with you through online, I'm searching for someone that will assist me to carry out this humanitarian work. Briefly about my situation, I have been diagnosed with

MRS.EVELYN FROM UNITED STATE OF AMERICA

2018-08-28 Thread Mrs. Evelyn Easmon
-- Good morning and how are you doing this morning I believe good, My name is Mrs. Evelyn Easmon, a US national, I got in contact with you through online, I'm searching for someone that will assist me to carry out this humanitarian work. Briefly about my situation, I have been diagnosed with

Re: [PATCH] arm64: add NUMA emulation support

2018-08-28 Thread Will Deacon
On Fri, Aug 24, 2018 at 05:05:59PM -0600, Shuah Khan (Samsung OSG) wrote: > Add NUMA emulation support to emulate NUMA on non-NUMA platforms. A new > CONFIG_NUMA_EMU option enables NUMA emulation and a new kernel command > line option "numa=fake=N" allows users to specify the configuration for >

Re: [PATCH] arm64: add NUMA emulation support

2018-08-28 Thread Will Deacon
On Fri, Aug 24, 2018 at 05:05:59PM -0600, Shuah Khan (Samsung OSG) wrote: > Add NUMA emulation support to emulate NUMA on non-NUMA platforms. A new > CONFIG_NUMA_EMU option enables NUMA emulation and a new kernel command > line option "numa=fake=N" allows users to specify the configuration for >

Re: [PATCH] locking/ww_mutex: fix spelling mistake "cylic" -> "cyclic"

2018-08-28 Thread Will Deacon
On Fri, Aug 24, 2018 at 12:22:35PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in pr_err error message > > Signed-off-by: Colin Ian King > --- > kernel/locking/test-ww_mutex.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Given that this is

Re: [PATCH] locking/ww_mutex: fix spelling mistake "cylic" -> "cyclic"

2018-08-28 Thread Will Deacon
On Fri, Aug 24, 2018 at 12:22:35PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in pr_err error message > > Signed-off-by: Colin Ian King > --- > kernel/locking/test-ww_mutex.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Given that this is

Re: TLB flushes on fixmap changes

2018-08-28 Thread Nadav Amit
at 1:49 AM, Masami Hiramatsu wrote: > On Mon, 27 Aug 2018 16:01:32 -0700 > Andy Lutomirski wrote: > >> On Mon, Aug 27, 2018 at 3:54 PM, Nadav Amit wrote: >>> at 3:32 PM, Andy Lutomirski wrote: >>> On Mon, Aug 27, 2018 at 2:55 PM, Nadav Amit wrote: > at 1:16 PM, Nadav Amit wrote:

Re: TLB flushes on fixmap changes

2018-08-28 Thread Nadav Amit
at 1:49 AM, Masami Hiramatsu wrote: > On Mon, 27 Aug 2018 16:01:32 -0700 > Andy Lutomirski wrote: > >> On Mon, Aug 27, 2018 at 3:54 PM, Nadav Amit wrote: >>> at 3:32 PM, Andy Lutomirski wrote: >>> On Mon, Aug 27, 2018 at 2:55 PM, Nadav Amit wrote: > at 1:16 PM, Nadav Amit wrote:

Re: [RFC PATCH v2 2/3] pstore: Add register read/write{b,w,l,q} tracing support

2018-08-28 Thread Sai Prakash Ranjan
On 8/28/2018 9:32 PM, Steven Rostedt wrote: On Tue, 28 Aug 2018 18:47:33 +0530 Sai Prakash Ranjan wrote: On 8/27/2018 9:45 PM, Steven Rostedt wrote: On Sat, 25 Aug 2018 12:54:07 +0530 Sai Prakash Ranjan wrote: Ftrace does not trace __raw{read,write}{b,l,w,q}() functions. I am not sure

Re: [RFC PATCH v2 2/3] pstore: Add register read/write{b,w,l,q} tracing support

2018-08-28 Thread Sai Prakash Ranjan
On 8/28/2018 9:32 PM, Steven Rostedt wrote: On Tue, 28 Aug 2018 18:47:33 +0530 Sai Prakash Ranjan wrote: On 8/27/2018 9:45 PM, Steven Rostedt wrote: On Sat, 25 Aug 2018 12:54:07 +0530 Sai Prakash Ranjan wrote: Ftrace does not trace __raw{read,write}{b,l,w,q}() functions. I am not sure

[PATCH v3 0/4] userfaultfd: selftest: Improve behavior with older kernels

2018-08-28 Thread Thiago Jung Bauermann
Hello, This version of the series is unchanged from v2 except for the last patch which is completely new, and is provided by Mike Rapoport. Original series description: > A tester ran the upstream selftest on a distro kernel and sounded the > alarm when it reported failures for features which

[PATCH v3 2/4] userfaultfd: selftest: Skip test if userfaultfd() syscall not supported

2018-08-28 Thread Thiago Jung Bauermann
Since there's no point in doing anything in this case, immediately exit the process. And take the opportunity to improve the error message. Before: # ./userfaultfd shmem 10 10 nr_pages: 160, nr_pages_per_cpu: 40 userfaultfd syscall not available in this kernel # echo $? 1 After: #

[PATCH v3 3/4] userfaultfd: selftest: Skip test if a feature isn't supported

2018-08-28 Thread Thiago Jung Bauermann
If userfaultfd runs on a system that doesn't support some feature it is trying to test, it currently ends with error code 1 which indicates test failure: # ./userfaultfd anon 10 10 nr_pages: 160, nr_pages_per_cpu: 80 bounces: 9, mode: rnd poll, userfaults: 7 59 bounces: 8, mode: poll,

[PATCH v3 2/4] userfaultfd: selftest: Skip test if userfaultfd() syscall not supported

2018-08-28 Thread Thiago Jung Bauermann
Since there's no point in doing anything in this case, immediately exit the process. And take the opportunity to improve the error message. Before: # ./userfaultfd shmem 10 10 nr_pages: 160, nr_pages_per_cpu: 40 userfaultfd syscall not available in this kernel # echo $? 1 After: #

[PATCH v3 3/4] userfaultfd: selftest: Skip test if a feature isn't supported

2018-08-28 Thread Thiago Jung Bauermann
If userfaultfd runs on a system that doesn't support some feature it is trying to test, it currently ends with error code 1 which indicates test failure: # ./userfaultfd anon 10 10 nr_pages: 160, nr_pages_per_cpu: 80 bounces: 9, mode: rnd poll, userfaults: 7 59 bounces: 8, mode: poll,

[PATCH v3 0/4] userfaultfd: selftest: Improve behavior with older kernels

2018-08-28 Thread Thiago Jung Bauermann
Hello, This version of the series is unchanged from v2 except for the last patch which is completely new, and is provided by Mike Rapoport. Original series description: > A tester ran the upstream selftest on a distro kernel and sounded the > alarm when it reported failures for features which

[PATCH v3 1/4] userfaultfd: selftest: Fix checking of userfaultfd_open() result

2018-08-28 Thread Thiago Jung Bauermann
If the userfaultfd test is run on a kernel with CONFIG_USERFAULTFD=n, it will report that the system call is not available yet go ahead and continue anyway: # ./userfaultfd anon 30 1 nr_pages: 480, nr_pages_per_cpu: 120 userfaultfd syscall not available in this kernel bounces: 0, mode:,

[PATCH v3 4/4] userfaultfd: selftest: make supported range ioctl verification more robust

2018-08-28 Thread Thiago Jung Bauermann
From: Mike Rapoport When userfaultfd tests runs on older kernel that does not support UFFDIO_ZEROPAGE for shared memory it fails at the ioctl verification. Split out the verification that supported ioctls are superset of the expected ioctls and relax the checks for UFFDIO_ZEROPAGE for shared

[PATCH v3 1/4] userfaultfd: selftest: Fix checking of userfaultfd_open() result

2018-08-28 Thread Thiago Jung Bauermann
If the userfaultfd test is run on a kernel with CONFIG_USERFAULTFD=n, it will report that the system call is not available yet go ahead and continue anyway: # ./userfaultfd anon 30 1 nr_pages: 480, nr_pages_per_cpu: 120 userfaultfd syscall not available in this kernel bounces: 0, mode:,

[PATCH v3 4/4] userfaultfd: selftest: make supported range ioctl verification more robust

2018-08-28 Thread Thiago Jung Bauermann
From: Mike Rapoport When userfaultfd tests runs on older kernel that does not support UFFDIO_ZEROPAGE for shared memory it fails at the ioctl verification. Split out the verification that supported ioctls are superset of the expected ioctls and relax the checks for UFFDIO_ZEROPAGE for shared

[PATCH 3/9] delayacct: track delays from thrashing cache pages

2018-08-28 Thread Johannes Weiner
Delay accounting already measures the time a task spends in direct reclaim and waiting for swapin, but in low memory situations tasks spend can spend a significant amount of their time waiting on thrashing page cache. This isn't tracked right now. To know the full impact of memory contention on

[PATCH 0/9] psi: pressure stall information for CPU, memory, and IO v4

2018-08-28 Thread Johannes Weiner
This version 4 of the PSI series incorporates feedback from Peter and fixes two races in the lockless aggregator that Suren found in his testing and which caused the sample calculation to sometimes underflow and record bogusly large samples; details at the bottom of this email.

[PATCH 3/9] delayacct: track delays from thrashing cache pages

2018-08-28 Thread Johannes Weiner
Delay accounting already measures the time a task spends in direct reclaim and waiting for swapin, but in low memory situations tasks spend can spend a significant amount of their time waiting on thrashing page cache. This isn't tracked right now. To know the full impact of memory contention on

[PATCH 0/9] psi: pressure stall information for CPU, memory, and IO v4

2018-08-28 Thread Johannes Weiner
This version 4 of the PSI series incorporates feedback from Peter and fixes two races in the lockless aggregator that Suren found in his testing and which caused the sample calculation to sometimes underflow and record bogusly large samples; details at the bottom of this email.

[PATCH 4/9] sched: loadavg: consolidate LOAD_INT, LOAD_FRAC, CALC_LOAD

2018-08-28 Thread Johannes Weiner
There are several definitions of those functions/macros in places that mess with fixed-point load averages. Provide an official version. Signed-off-by: Johannes Weiner --- .../platforms/cell/cpufreq_spudemand.c| 2 +- arch/powerpc/platforms/cell/spufs/sched.c | 9 +++-

[PATCH 4/9] sched: loadavg: consolidate LOAD_INT, LOAD_FRAC, CALC_LOAD

2018-08-28 Thread Johannes Weiner
There are several definitions of those functions/macros in places that mess with fixed-point load averages. Provide an official version. Signed-off-by: Johannes Weiner --- .../platforms/cell/cpufreq_spudemand.c| 2 +- arch/powerpc/platforms/cell/spufs/sched.c | 9 +++-

[PATCH 6/9] sched: sched.h: make rq locking and clock functions available in stats.h

2018-08-28 Thread Johannes Weiner
kernel/sched/sched.h includes "stats.h" half-way through the file. The next patch introduces users of sched.h's rq locking functions and update_rq_clock() in kernel/sched/stats.h. Move those definitions up in the file so they are available in stats.h. Signed-off-by: Johannes Weiner ---

[PATCH 1/9] mm: workingset: don't drop refault information prematurely

2018-08-28 Thread Johannes Weiner
From: Johannes Weiner If we keep just enough refault information to match the *current* page cache during reclaim time, we could lose a lot of events when there is only a temporary spike in non-cache memory consumption that pushes out all the cache. Once cache comes back, we won't see those

[PATCH 5/9] sched: loadavg: make calc_load_n() public

2018-08-28 Thread Johannes Weiner
It's going to be used in a later patch. Keep the churn separate. Signed-off-by: Johannes Weiner --- include/linux/sched/loadavg.h | 3 + kernel/sched/loadavg.c| 138 +- 2 files changed, 72 insertions(+), 69 deletions(-) diff --git

[PATCH 1/9] mm: workingset: don't drop refault information prematurely

2018-08-28 Thread Johannes Weiner
From: Johannes Weiner If we keep just enough refault information to match the *current* page cache during reclaim time, we could lose a lot of events when there is only a temporary spike in non-cache memory consumption that pushes out all the cache. Once cache comes back, we won't see those

[PATCH 5/9] sched: loadavg: make calc_load_n() public

2018-08-28 Thread Johannes Weiner
It's going to be used in a later patch. Keep the churn separate. Signed-off-by: Johannes Weiner --- include/linux/sched/loadavg.h | 3 + kernel/sched/loadavg.c| 138 +- 2 files changed, 72 insertions(+), 69 deletions(-) diff --git

[PATCH 6/9] sched: sched.h: make rq locking and clock functions available in stats.h

2018-08-28 Thread Johannes Weiner
kernel/sched/sched.h includes "stats.h" half-way through the file. The next patch introduces users of sched.h's rq locking functions and update_rq_clock() in kernel/sched/stats.h. Move those definitions up in the file so they are available in stats.h. Signed-off-by: Johannes Weiner ---

[PATCH 9/9] psi: cgroup support

2018-08-28 Thread Johannes Weiner
On a system that executes multiple cgrouped jobs and independent workloads, we don't just care about the health of the overall system, but also that of individual jobs, so that we can ensure individual job health, fairness between jobs, or prioritize some jobs over others. This patch implements

[PATCH 8/9] psi: pressure stall information for CPU, memory, and IO

2018-08-28 Thread Johannes Weiner
When systems are overcommitted and resources become contended, it's hard to tell exactly the impact this has on workload productivity, or how close the system is to lockups and OOM kills. In particular, when machines work multiple jobs concurrently, the impact of overcommit in terms of latency and

[PATCH 9/9] psi: cgroup support

2018-08-28 Thread Johannes Weiner
On a system that executes multiple cgrouped jobs and independent workloads, we don't just care about the health of the overall system, but also that of individual jobs, so that we can ensure individual job health, fairness between jobs, or prioritize some jobs over others. This patch implements

[PATCH 8/9] psi: pressure stall information for CPU, memory, and IO

2018-08-28 Thread Johannes Weiner
When systems are overcommitted and resources become contended, it's hard to tell exactly the impact this has on workload productivity, or how close the system is to lockups and OOM kills. In particular, when machines work multiple jobs concurrently, the impact of overcommit in terms of latency and

[PATCH 7/9] sched: introduce this_rq_lock_irq()

2018-08-28 Thread Johannes Weiner
do_sched_yield() disables IRQs, looks up this_rq() and locks it. The next patch is adding another site with the same pattern, so provide a convenience function for it. Signed-off-by: Johannes Weiner --- kernel/sched/core.c | 4 +--- kernel/sched/sched.h | 12 2 files changed, 13

[PATCH 7/9] sched: introduce this_rq_lock_irq()

2018-08-28 Thread Johannes Weiner
do_sched_yield() disables IRQs, looks up this_rq() and locks it. The next patch is adding another site with the same pattern, so provide a convenience function for it. Signed-off-by: Johannes Weiner --- kernel/sched/core.c | 4 +--- kernel/sched/sched.h | 12 2 files changed, 13

[PATCH 2/9] mm: workingset: tell cache transitions from workingset thrashing

2018-08-28 Thread Johannes Weiner
Refaults happen during transitions between workingsets as well as in-place thrashing. Knowing the difference between the two has a range of applications, including measuring the impact of memory shortage on the system performance, as well as the ability to smarter balance pressure between the

[PATCH 2/9] mm: workingset: tell cache transitions from workingset thrashing

2018-08-28 Thread Johannes Weiner
Refaults happen during transitions between workingsets as well as in-place thrashing. Knowing the difference between the two has a range of applications, including measuring the impact of memory shortage on the system performance, as well as the ability to smarter balance pressure between the

<    1   2   3   4   5   6   7   8   9   10   >