Re: [PATCH resend] x86,kvm: Add a kernel parameter to disable PV spinlock

2017-09-04 Thread Davidlohr Bueso
On Mon, 04 Sep 2017, Peter Zijlstra wrote: For testing its trivial to hack your kernel and I don't feel this is something an Admin can make reasonable decisions about. So why? In general less knobs is better. +1. Also, note how b8fa70b51aa (xen, pvticketlocks: Add xen_nopvspin parameter to

[PATCH 1/2] docs-rst: media: Don't use \small for V4L2_PIX_FMT_SRGGB10 documentation

2017-09-04 Thread Mauro Carvalho Chehab
From: Sakari Ailus There appears to be an issue in using \small in certain cases on Sphinx 1.4 and 1.5. Other format documents don't use \small either, remove it from here as well. [mche...@s-opensource.com: kept tabularcolumns - readjusted - and add a few blank

[PATCH 2/2] media: pixfmt-srggb12p.rst: better format the table for PDF output

2017-09-04 Thread Mauro Carvalho Chehab
Adjust the table to be better displayed on PDF output. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/pixfmt-srggb12p.rst | 59 +--- 1 file changed, 21 insertions(+), 38 deletions(-) diff --git

Re: [PATCH resend] x86,kvm: Add a kernel parameter to disable PV spinlock

2017-09-04 Thread Waiman Long
On 09/04/2017 10:40 AM, Peter Zijlstra wrote: > On Mon, Sep 04, 2017 at 04:28:36PM +0200, Oscar Salvador wrote: >> This is just a resend of Waiman Long's patch. >> I could not find why it was not merged to upstream, so I thought >> to give it another chance. >> What follows is what Waiman Long

Re: [v7 5/5] mm, oom: cgroup v2 mount option to disable cgroup-aware OOM killer

2017-09-04 Thread Roman Gushchin
On Mon, Sep 04, 2017 at 10:32:37AM -0700, Shakeel Butt wrote: > On Mon, Sep 4, 2017 at 7:21 AM, Roman Gushchin wrote: > > Introducing of cgroup-aware OOM killer changes the victim selection > > algorithm used by default: instead of picking the largest process, > > it will pick the

Re: [v7 5/5] mm, oom: cgroup v2 mount option to disable cgroup-aware OOM killer

2017-09-04 Thread Shakeel Butt
On Mon, Sep 4, 2017 at 7:21 AM, Roman Gushchin wrote: > Introducing of cgroup-aware OOM killer changes the victim selection > algorithm used by default: instead of picking the largest process, > it will pick the largest memcg and then the largest process inside. > > This affects only

Re: [PATCH resend] x86,kvm: Add a kernel parameter to disable PV spinlock

2017-09-04 Thread Peter Zijlstra
On Mon, Sep 04, 2017 at 04:28:36PM +0200, Oscar Salvador wrote: > This is just a resend of Waiman Long's patch. > I could not find why it was not merged to upstream, so I thought > to give it another chance. > What follows is what Waiman Long wrote. > > Xen has an kernel command line argument

[PATCH resend] x86,kvm: Add a kernel parameter to disable PV spinlock

2017-09-04 Thread Oscar Salvador
This is just a resend of Waiman Long's patch. I could not find why it was not merged to upstream, so I thought to give it another chance. What follows is what Waiman Long wrote. Xen has an kernel command line argument "xen_nopvspin" to disable paravirtual spinlocks. This patch adds a similar

[v7 4/5] mm, oom, docs: describe the cgroup-aware OOM killer

2017-09-04 Thread Roman Gushchin
Update cgroups v2 docs. Signed-off-by: Roman Gushchin Cc: Michal Hocko Cc: Vladimir Davydov Cc: Johannes Weiner Cc: Tetsuo Handa Cc: Andrew Morton Cc:

[v7 1/5] mm, oom: refactor the oom_kill_process() function

2017-09-04 Thread Roman Gushchin
The oom_kill_process() function consists of two logical parts: the first one is responsible for considering task's children as a potential victim and printing the debug information. The second half is responsible for sending SIGKILL to all tasks sharing the mm struct with the given victim. This

[v7 0/5] cgroup-aware OOM killer

2017-09-04 Thread Roman Gushchin
This patchset makes the OOM killer cgroup-aware. v7: - __oom_kill_process() drops reference to the victim task - oom_score_adj -1000 is always respected - Renamed oom_kill_all to oom_group - Dropped oom_prio range, converted from short to int - Added a cgroup v2 mount option to disable

[v7 3/5] mm, oom: introduce oom_priority for memory cgroups

2017-09-04 Thread Roman Gushchin
Introduce a per-memory-cgroup oom_priority setting: an integer number, which defines the order in which the OOM killer selects victim memory cgroups. OOM killer prefers memory cgroups with larger priority if they are populated with eligible tasks. The oom_priority value is compared within

[PATCH 1/2] media: ca docs: document CA_SET_DESCR ioctl and structs

2017-09-04 Thread Mauro Carvalho Chehab
The av7110 driver uses CA_SET_DESCR to store the descrambler control words at the CA descrambler slots. Document it. Thanks-to: Honza Petrouš Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-set-descr.rst | 15

[PATCH 2/2] media: ca.h: document ca_msg and the corresponding ioctls

2017-09-04 Thread Mauro Carvalho Chehab
Usually, CA messages are sent/received via reading/writing at the CA device node. However, two drivers (dst_ca and firedtv-ci) also implement it via ioctls. Apparently, on both cases, the net result is the same. Anyway, let's document it. Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH v8 00/20] ILP32 for ARM64

2017-09-04 Thread Yury Norov
On Mon, Aug 21, 2017 at 01:21:24PM +0300, Yury Norov wrote: > On Tue, Aug 08, 2017 at 02:34:11PM +0100, Catalin Marinas wrote: > > On Mon, Jul 24, 2017 at 02:26:24PM +0300, Yury Norov wrote: > > > This is the 4.12 and linux-next - based kernel patches: > > >

Re: [PATCH v2 00/26] Improve DVB documentation and reduce its gap

2017-09-04 Thread Mauro Carvalho Chehab
Em Mon, 4 Sep 2017 11:40:59 +0200 Honza Petrouš escreveu: > > So, IMHO, the interface is broken by design. Perhaps that's > > the reason why no upstream driver uses it. > > I have the same feeling regarding brokenness. > > > > > What seems to be a much better design would

Re: [PATCH 00/15] Improve DVB documentation and reduce its gap

2017-09-04 Thread Mauro Carvalho Chehab
Em Mon, 4 Sep 2017 02:55:15 +0200 Soeren Moch escreveu: > Hi Mauro, > > On 01.09.2017 11:32, Mauro Carvalho Chehab wrote: > > Em Fri, 1 Sep 2017 10:40:28 +0200 > > Honza Petrouš escreveu: > > > >> 2017-09-01 1:46 GMT+02:00 Mauro Carvalho Chehab > >>

Re: [PATCH v2 00/26] Improve DVB documentation and reduce its gap

2017-09-04 Thread Honza Petrouš
2017-09-04 11:06 GMT+02:00 Mauro Carvalho Chehab : > Em Mon, 4 Sep 2017 09:12:49 +0200 > Honza Petrouš escreveu: > >> 2017-09-04 2:54 GMT+02:00 Mauro Carvalho Chehab : >> > Em Sun, 3 Sep 2017 22:05:23 +0200 >> > Honza Petrouš

Re: [PATCH v2 00/26] Improve DVB documentation and reduce its gap

2017-09-04 Thread Mauro Carvalho Chehab
Em Mon, 4 Sep 2017 09:12:49 +0200 Honza Petrouš escreveu: > 2017-09-04 2:54 GMT+02:00 Mauro Carvalho Chehab : > > Em Sun, 3 Sep 2017 22:05:23 +0200 > > Honza Petrouš escreveu: > > > >> 1) #define CA_SET_DESCR _IOW('o',

Re: [PATCH v2 1/3] dt-bindings: add compatible string for Allwinner V3s SoC

2017-09-04 Thread icenowy
在 2017-08-22 13:23,Icenowy Zheng 写道: The compatible string for Allwinner V3s SoC used to be missing. Add it to the binding document. Fixes: b074fede01c0 ("arm: sunxi: add support for V3s SoC") Signed-off-by: Icenowy Zheng Maxime, Chen-Yu, ping. Could you queue this

Re: [PATCH v2 00/26] Improve DVB documentation and reduce its gap

2017-09-04 Thread Honza Petrouš
2017-09-04 2:54 GMT+02:00 Mauro Carvalho Chehab : > Em Sun, 3 Sep 2017 22:05:23 +0200 > Honza Petrouš escreveu: > >> 1) #define CA_SET_DESCR _IOW('o', 134, ca_descr_t) >> >> >> CA_SET_DESCR is used for