[PATCH v5 3/3] Documentation/filesystems: Added /proc/PID/totmaps documentation

2016-09-05 Thread robert . foss
From: Robert Foss Added documentation covering /proc/PID/totmaps. Signed-off-by: Robert Foss --- Documentation/filesystems/proc.txt | 21 + 1 file changed, 21 insertions(+) diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index fcc1ac0.

[PATCH v5 2/3] Documentation/filesystems: Fixed typo

2016-09-05 Thread robert . foss
From: Robert Foss Fixed a -> an typo. Signed-off-by: Robert Foss --- Documentation/filesystems/proc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index 68080ad..fcc1ac0 100644 --- a/Documentation

[PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-05 Thread robert . foss
From: Robert Foss This series provides the /proc/PID/totmaps feature, which summarizes the information provided by /proc/PID/smaps for improved performance and usability reasons. A use case is to speed up monitoring of memory consumption in environments where RSS isn't precise. For example Chro

[PATCH v5 1/3] mm, proc: Implement /proc//totmaps

2016-09-05 Thread robert . foss
From: Robert Foss This is based on earlier work by Thiago Goncales. It implements a new per process proc file which summarizes the contents of the smaps file but doesn't display any addresses. It gives more detailed information than statm like the PSS (proprotional set size). It differs from th

Re: [RFC PATCH v2 07/20] x86: Provide general kernel support for memory encryption

2016-09-05 Thread Borislav Petkov
On Mon, Aug 22, 2016 at 05:36:46PM -0500, Tom Lendacky wrote: > Adding general kernel support for memory encryption includes: > - Modify and create some page table macros to include the Secure Memory > Encryption (SME) memory encryption mask > - Update kernel boot support to call an SME routine t

Re: sparc: bpf_jit: Rename jump labels in bpf_jit_compile()

2016-09-05 Thread Peter Zijlstra
On Mon, Sep 05, 2016 at 01:54:45PM +0200, Jean Delvare wrote: > On Mon, 5 Sep 2016 13:37:04 +0200, Peter Zijlstra wrote: > > On Mon, Sep 05, 2016 at 01:07:37PM +0200, Jean Delvare wrote: > > > Now I see in http://patchwork.ozlabs.org/patch/664966/ that Peter > > > Zijlstra reportedly changed the be

Re: sparc: bpf_jit: Rename jump labels in bpf_jit_compile()

2016-09-05 Thread Jean Delvare
On Mon, 5 Sep 2016 13:37:04 +0200, Peter Zijlstra wrote: > On Mon, Sep 05, 2016 at 01:07:37PM +0200, Jean Delvare wrote: > > Now I see in http://patchwork.ozlabs.org/patch/664966/ that Peter > > Zijlstra reportedly changed the behavior of "diff -p" so that it > > handles unindented C labels nicely.

Re: sparc: bpf_jit: Rename jump labels in bpf_jit_compile()

2016-09-05 Thread Peter Zijlstra
On Mon, Sep 05, 2016 at 01:07:37PM +0200, Jean Delvare wrote: > Now I see in http://patchwork.ozlabs.org/patch/664966/ that Peter > Zijlstra reportedly changed the behavior of "diff -p" so that it > handles unindented C labels nicely. If this actually happens, it could > change my point of view. Ho

Re: sparc: bpf_jit: Rename jump labels in bpf_jit_compile()

2016-09-05 Thread Jean Delvare
Hi Daniel, Preliminary note: the SNR of Markus Elfring is incredibly low. I advise you just ignore him. On Sun, 04 Sep 2016 11:56:58 +0200, Daniel Borkmann wrote: > I don't want to drag this thread onwards for (way) too long, but clearly "it > is > advised to indent labels with a single space (n

[PATCH v5 0/4] New debugfs API for capturing CRC of frames

2016-09-05 Thread Tomeu Vizoso
Hi, this series basically takes the facility for continuously capturing CRCs of frames from the i915 driver and into the DRM core. The idea is that test suites such as IGT use this information to check that frames that are exected to be identical, also have identical CRC values. Other drivers fo

[PATCH v5 2/4] drm: Add API for capturing frame CRCs

2016-09-05 Thread Tomeu Vizoso
Adds files and directories to debugfs for controlling and reading frame CRCs, per CRTC: dri/0/crtc-0/crc dri/0/crtc-0/crc/control dri/0/crtc-0/crc/data Drivers can implement the set_crc_source callback() in drm_crtc_funcs to start and stop generating frame CRCs and can add entries to the output b

Re: [PATCH V4] leds: trigger: Introduce an USB port trigger

2016-09-05 Thread Rafał Miłecki
On 4 September 2016 at 02:24, Alan Stern wrote: > On Sat, 3 Sep 2016, Jacek Anaszewski wrote: > >> >> The remaining issue is the sysfs interface design for defining and >> >> presenting multiple USB ports. I'm still in favour of a single >> >> attribute with space separated list. This scheme is co

Re: [PATCH v4 2/4] drm: Add API for capturing frame CRCs

2016-09-05 Thread Tomeu Vizoso
On 2 September 2016 at 16:50, Emil Velikov wrote: > Hi Tomeu, > > On 5 August 2016 at 11:45, Tomeu Vizoso wrote: > >> +#ifdef CONFIG_DEBUG_FS >> + spin_lock_init(&crtc->crc.lock); >> + init_waitqueue_head(&crtc->crc.wq); >> + crtc->crc.source = kstrdup("auto", GFP_KERNEL); > Ped

Re: [RFC PATCH v2 07/20] x86: Provide general kernel support for memory encryption

2016-09-05 Thread Borislav Petkov
On Mon, Aug 22, 2016 at 05:36:46PM -0500, Tom Lendacky wrote: > Adding general kernel support for memory encryption includes: > - Modify and create some page table macros to include the Secure Memory > Encryption (SME) memory encryption mask > - Update kernel boot support to call an SME routine t