Re: [PATCH v2 5/6] PCI / PM: Take SMART_SUSPEND driver flag into account

2017-10-31 Thread Bjorn Helgaas
On Sat, Oct 28, 2017 at 12:27:45AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make the PCI bus type take DPM_FLAG_SMART_SUSPEND into account in its > system-wide PM callbacks and make sure that all code that should not > run in parallel with

Re: [RESEND v12 0/6] cgroup-aware OOM killer

2017-10-31 Thread David Rientjes
On Tue, 31 Oct 2017, Michal Hocko wrote: > > I'm not ignoring them, I have stated that we need the ability to protect > > important cgroups on the system without oom disabling all attached > > processes. If that is implemented as a memory.oom_score_adj with the same > > semantics as

Re: [RESEND v12 3/6] mm, oom: cgroup-aware OOM killer

2017-10-31 Thread Michal Hocko
On Tue 31-10-17 20:06:44, Michal Hocko wrote: > On Tue 31-10-17 16:29:23, Michal Hocko wrote: > > On Tue 31-10-17 08:04:19, Shakeel Butt wrote: > > > > + > > > > +static void select_victim_memcg(struct mem_cgroup *root, struct > > > > oom_control *oc) > > > > +{ > > > > + struct mem_cgroup

Re: [RESEND v12 3/6] mm, oom: cgroup-aware OOM killer

2017-10-31 Thread Michal Hocko
On Tue 31-10-17 16:29:23, Michal Hocko wrote: > On Tue 31-10-17 08:04:19, Shakeel Butt wrote: > > > + > > > +static void select_victim_memcg(struct mem_cgroup *root, struct > > > oom_control *oc) > > > +{ > > > + struct mem_cgroup *iter; > > > + > > > + oc->chosen_memcg = NULL; > > >

Re: [RESEND v12 3/6] mm, oom: cgroup-aware OOM killer

2017-10-31 Thread Johannes Weiner
On Tue, Oct 31, 2017 at 10:50:43AM -0700, Shakeel Butt wrote: > On Tue, Oct 31, 2017 at 9:40 AM, Johannes Weiner wrote: > > On Tue, Oct 31, 2017 at 08:04:19AM -0700, Shakeel Butt wrote: > >> > + > >> > +static void select_victim_memcg(struct mem_cgroup *root, struct > >> >

Re: [RESEND v12 3/6] mm, oom: cgroup-aware OOM killer

2017-10-31 Thread Shakeel Butt
On Tue, Oct 31, 2017 at 9:40 AM, Johannes Weiner wrote: > On Tue, Oct 31, 2017 at 08:04:19AM -0700, Shakeel Butt wrote: >> > + >> > +static void select_victim_memcg(struct mem_cgroup *root, struct >> > oom_control *oc) >> > +{ >> > + struct mem_cgroup *iter; >> > + >> >

Re: [PATCH 1/1] locking/qspinlock/x86: Avoid test-and-set when PV_DEDICATED is set

2017-10-31 Thread Eduardo Valentin
Hello Radim, On Tue, Oct 24, 2017 at 01:18:59PM +0200, Radim Krčmář wrote: > 2017-10-23 17:44-0700, Eduardo Valentin: > > Currently, the existing qspinlock implementation will fallback to > > test-and-set if the hypervisor has not set the PV_UNHALT flag. > > Where have you detected the main

Re: [RESEND v12 3/6] mm, oom: cgroup-aware OOM killer

2017-10-31 Thread Johannes Weiner
On Tue, Oct 31, 2017 at 08:04:19AM -0700, Shakeel Butt wrote: > > + > > +static void select_victim_memcg(struct mem_cgroup *root, struct > > oom_control *oc) > > +{ > > + struct mem_cgroup *iter; > > + > > + oc->chosen_memcg = NULL; > > + oc->chosen_points = 0; > > + > > +

Re: [PATCH 09/12] PM / mfd: intel-lpss: Use DPM_FLAG_SMART_SUSPEND

2017-10-31 Thread Rafael J. Wysocki
On Tue, Oct 31, 2017 at 4:09 PM, Lee Jones wrote: > On Mon, 16 Oct 2017, Rafael J. Wysocki wrote: > >> From: Rafael J. Wysocki >> >> Make the intel-lpss driver set DPM_FLAG_SMART_SUSPEND for its >> devices which will allow them to stay in runtime

Re: [RESEND v12 3/6] mm, oom: cgroup-aware OOM killer

2017-10-31 Thread Michal Hocko
On Tue 31-10-17 08:04:19, Shakeel Butt wrote: > > + > > +static void select_victim_memcg(struct mem_cgroup *root, struct > > oom_control *oc) > > +{ > > + struct mem_cgroup *iter; > > + > > + oc->chosen_memcg = NULL; > > + oc->chosen_points = 0; > > + > > + /* > > +

Re: [PATCH 09/12] PM / mfd: intel-lpss: Use DPM_FLAG_SMART_SUSPEND

2017-10-31 Thread Lee Jones
On Mon, 16 Oct 2017, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make the intel-lpss driver set DPM_FLAG_SMART_SUSPEND for its > devices which will allow them to stay in runtime suspend during > system suspend unless they need to be reconfigured for some

Re: [RESEND v12 3/6] mm, oom: cgroup-aware OOM killer

2017-10-31 Thread Shakeel Butt
> + > +static void select_victim_memcg(struct mem_cgroup *root, struct oom_control > *oc) > +{ > + struct mem_cgroup *iter; > + > + oc->chosen_memcg = NULL; > + oc->chosen_points = 0; > + > + /* > +* The oom_score is calculated for leaf memory cgroups (including >

Re: [RESEND v12 0/6] cgroup-aware OOM killer

2017-10-31 Thread Michal Hocko
On Tue 31-10-17 15:17:11, peter enderborg wrote: > On 10/27/2017 10:05 PM, Johannes Weiner wrote: > > On Thu, Oct 26, 2017 at 02:03:41PM -0700, David Rientjes wrote: > >> On Thu, 26 Oct 2017, Johannes Weiner wrote: > >> > The nack is for three reasons: > > (1) unfair comparison of

Re: [RESEND v12 0/6] cgroup-aware OOM killer

2017-10-31 Thread peter enderborg
On 10/27/2017 10:05 PM, Johannes Weiner wrote: > On Thu, Oct 26, 2017 at 02:03:41PM -0700, David Rientjes wrote: >> On Thu, 26 Oct 2017, Johannes Weiner wrote: >> The nack is for three reasons: (1) unfair comparison of root mem cgroup usage to bias against that mem

Re: [RFC PATCH 3/5] gpio: gpiolib: Add chardev support for maintaining GPIO values on reset

2017-10-31 Thread Linus Walleij
On Thu, Oct 26, 2017 at 2:05 AM, Andrew Jeffery wrote: > I feel that taking this argument to its logical conclusion leads to > never exporting any GPIOs to userspace and doing everything in the > kernel. That is very much how I feel about things anyways. In a recent

Re: [PATCH 0/5] dmaengine: ReSTize documentation

2017-10-31 Thread Vinod Koul
On Tue, Oct 31, 2017 at 02:16:14AM -0600, Jonathan Corbet wrote: > On Wed, 25 Oct 2017 12:02:51 +0530 > Vinod Koul wrote: > > > So here is the conversion of the dmaengine documents form txt files to rst > > format. Not much functional change but somehow git detects only two

Re: [PATCH 0/5] dmaengine: ReSTize documentation

2017-10-31 Thread Jonathan Corbet
On Wed, 25 Oct 2017 12:02:51 +0530 Vinod Koul wrote: > So here is the conversion of the dmaengine documents form txt files to rst > format. Not much functional change but somehow git detects only two renames > (possibly due to added indent to make new format happier)

Re: [PATCH] Check all .c files for bad kernel-doc comments

2017-10-31 Thread Jani Nikula
On Mon, 30 Oct 2017, Matthew Wilcox wrote: > On Mon, Oct 30, 2017 at 05:19:18PM +0200, Jani Nikula wrote: >> Related, there was also a script to do reStructuredText lint style >> checks in addition to the kernel-doc checks using make CHECK and >> C=1. See

Re: [PATCH] bug-hunting.rst: Fix an example and a typo in a Sphinx tag

2017-10-31 Thread Jonathan Corbet
On Fri, 20 Oct 2017 21:49:14 +0200 Christophe JAILLET wrote: > - Use the same file name in the explanation and in the example (conex.c vs > sonixj.c) > - Add a missing ':' in a :ref: tag which leads to incorrect Shpinx output > - Add some missing ',' and ';' > >

Re: [RESEND v12 0/6] cgroup-aware OOM killer

2017-10-31 Thread Michal Hocko
On Mon 30-10-17 14:36:39, David Rientjes wrote: > On Fri, 27 Oct 2017, Roman Gushchin wrote: > > > The thing is that the hierarchical approach (as in v8), which are you > > pushing, > > has it's own limitations, which we've discussed in details earlier. There > > are > > reasons why v12 is