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

2017-10-13 Thread David Rientjes
On Fri, 13 Oct 2017, Roman Gushchin wrote: > > Think about it in a different way: we currently compare per-process usage > > and userspace has /proc/pid/oom_score_adj to adjust that usage depending > > on priorities of that process and still oom kill if there's a memory leak. > > Your

Re: [PATCH v2 09/17] media: cec-pin.h: convert comments for cec_pin_state into kernel-doc

2017-10-13 Thread Mauro Carvalho Chehab
Em Fri, 13 Oct 2017 17:48:21 +0200 Hans Verkuil escreveu: > On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > > This enum is already documented, but it is not using a kernel-doc > > format. Convert its format, in order to produce documentation. > > > > Signed-off-by: Mauro

[RFC PATCH] kbuild: Allow specifying some base host CFLAGS

2017-10-13 Thread Douglas Anderson
Right now there is a way to add some CFLAGS that affect target builds, but no way to add CFLAGS that affect host builds. Let's add a way. We'll document two environment variables: CFLAGS_HOST and CXXFLAGS_HOST. We'll document that these variables get appended to by the kernel to make the final

Re: [PATCH v8 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-10-13 Thread Anthony Yznaga
> On Oct 13, 2017, at 9:18 AM, Khalid Aziz wrote: > > On 10/13/2017 08:14 AM, Khalid Aziz wrote: >> On 10/12/2017 02:27 PM, Anthony Yznaga wrote: >>> On Oct 12, 2017, at 7:44 AM, Khalid Aziz wrote: On 10/06/2017 04:12 PM,

Re: [PATCH v8 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-10-13 Thread Khalid Aziz
On 10/13/2017 08:14 AM, Khalid Aziz wrote: On 10/12/2017 02:27 PM, Anthony Yznaga wrote: On Oct 12, 2017, at 7:44 AM, Khalid Aziz wrote: On 10/06/2017 04:12 PM, Anthony Yznaga wrote: On Sep 25, 2017, at 9:49 AM, Khalid Aziz wrote: This

Re: [PATCH v2 08/17] media: v4l2-ioctl.h: convert debug macros into enum and document

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > Currently, there's no way to document #define foo > with kernel-doc. So, convert it to an enum, and document. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil Thanks,

Re: [PATCH v2 09/17] media: cec-pin.h: convert comments for cec_pin_state into kernel-doc

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > This enum is already documented, but it is not using a kernel-doc > format. Convert its format, in order to produce documentation. > > Signed-off-by: Mauro Carvalho Chehab No, this does not belong in the kernel API doc.

Hello

2017-10-13 Thread Daria Yoong Shang
Hello, Can i trust an investment project in your country? accepted please send email for more details. Best Regards Daria Yoong Shang -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v2 07/17] media: v4l2-event.rst: improve events description

2017-10-13 Thread Hans Verkuil
Nice! I have some small fixes and one little rewrite for the replace/merge documentation: On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > Both v4l2-event.rst and v4l2-event.h have an overview of > events, but there are some inconsistencies there: > > - at v4l2-event, the event's ringbuffer is

Re: [PATCH v2 06/17] media: v4l2-dv-timings.h: convert comment into kernel-doc markup

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > The can_reduce_fps() is already documented, but it is not > using the kernel-doc markup. Convert it, in order to generate > documentation from it. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil

[PATCH] admin-guide: fix reference to Documentation/admin-guide/oops-tracing.rst

2017-10-13 Thread Luis Henriques
oops-tracing.rst was merged into bug-hunting.rst with commit f226e460875d. However, a few references to the old document were left behind. This patch fixes them. Fixes: f226e460875d ("admin-guide: merge oops-tracing with bug-hunting") Signed-off-by: Luis Henriques ---

Re: [PATCH v8 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-10-13 Thread Khalid Aziz
On 10/12/2017 02:27 PM, Anthony Yznaga wrote: On Oct 12, 2017, at 7:44 AM, Khalid Aziz wrote: On 10/06/2017 04:12 PM, Anthony Yznaga wrote: On Sep 25, 2017, at 9:49 AM, Khalid Aziz wrote: This patch extends mprotect to enable ADI

[PATCH] PM / core: Fix kerneldoc comments of four functions

2017-10-13 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Fix the kerneldoc comments of __device_suspend_noirq(), __device_suspend_late() and __device_suspend() where the function names in kerneldoc don't match the actual names of the functions. Also fix the device_resume_noirq() kerneldoc comment

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

2017-10-13 Thread Roman Gushchin
On Thu, Oct 12, 2017 at 02:50:38PM -0700, David Rientjes wrote: > On Wed, 11 Oct 2017, Roman Gushchin wrote: > > Think about it in a different way: we currently compare per-process usage > and userspace has /proc/pid/oom_score_adj to adjust that usage depending > on priorities of that process

Re: [PATCH v2 04/17] media: v4l2-common.h: document ancillary functions

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > There are several ancillary functions that aren't documented. s/ancillary/helper/g > > Document them. > > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/media/v4l2-core/v4l2-common.c | 14 - >

Re: [PATCH v2 03/17] media: v4l2-common: get rid of struct v4l2_discrete_probe

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > This struct is there just two store two arguments of > v4l2_find_nearest_format(). The other two arguments are passed > as parameter. > > IMHO, there isn't much sense on doing that, and that will just > add one more struct to document ;) > > So,

Re: [PATCH v2 02/17] media: v4l2-common: get rid of v4l2_routing dead struct

2017-10-13 Thread Hans Verkuil
On 09/27/17 23:46, Mauro Carvalho Chehab wrote: > This struct is not used anymore. Get rid of it and update > the documentation about what should still be converted. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Hans Verkuil > --- >

Re: [PATCH] PM / core: Fix kerneldoc comments of three functions

2017-10-13 Thread Rafael J. Wysocki
On Friday, October 13, 2017 8:48:30 AM CEST Ulf Hansson wrote: > On 13 October 2017 at 02:33, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Fix kerneldoc comments of __device_suspend_noirq(), > > __device_suspend_late() and

Re: [PATCH v2 15/17] media: v4l2-ctrls: document nested members of structs

2017-10-13 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thursday, 28 September 2017 00:46:58 EEST Mauro Carvalho Chehab wrote: > There are a few nested members at v4l2-ctrls.h. Now that > kernel-doc supports, document them. > > Signed-off-by: Mauro Carvalho Chehab > --- >

Re: [PATCH v2 14/17] media: v4l2-async: better describe match union at async match struct

2017-10-13 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thursday, 28 September 2017 00:46:57 EEST Mauro Carvalho Chehab wrote: > Now that kernel-doc handles nested unions, better document the > match union at struct v4l2_async_subdev. > > Signed-off-by: Mauro Carvalho Chehab > --- >

Re: [PATCH v2 12/17] media: v4l2-fwnode.h: better describe bus union at fwnode endpoint struct

2017-10-13 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thursday, 28 September 2017 00:46:55 EEST Mauro Carvalho Chehab wrote: > Now that kernel-doc handles nested unions, better document the > bus union at struct v4l2_fwnode_endpoint. > > Signed-off-by: Mauro Carvalho Chehab > --- >

Re: [PATCH v2 08/17] media: v4l2-ioctl.h: convert debug macros into enum and document

2017-10-13 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thursday, 28 September 2017 00:46:51 EEST Mauro Carvalho Chehab wrote: > Currently, there's no way to document #define foo > with kernel-doc. So, convert it to an enum, and document. The documentation seems fine to me (except for one comment below).

Re: [PATCH v2 06/17] media: v4l2-dv-timings.h: convert comment into kernel-doc markup

2017-10-13 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thursday, 28 September 2017 00:46:49 EEST Mauro Carvalho Chehab wrote: > The can_reduce_fps() is already documented, but it is not > using the kernel-doc markup. Convert it, in order to generate > documentation from it. > > Signed-off-by: Mauro Carvalho

Re: [PATCH v2 05/17] media: v4l2-device.h: document ancillary macros

2017-10-13 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thursday, 28 September 2017 00:46:48 EEST Mauro Carvalho Chehab wrote: > There are several widely macros that aren't documented using kernel-docs What's a widely macro ? :-) > markups. > > Add it. Did you mean "Add documentation." ? "Document them." is

Re: [PATCH v2 04/17] media: v4l2-common.h: document ancillary functions

2017-10-13 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thursday, 28 September 2017 00:46:47 EEST Mauro Carvalho Chehab wrote: > There are several ancillary functions that aren't documented. > > Document them. > > Signed-off-by: Mauro Carvalho Chehab > --- >

Re: [PATCH v2 02/17] media: v4l2-common: get rid of v4l2_routing dead struct

2017-10-13 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thursday, 28 September 2017 00:46:45 EEST Mauro Carvalho Chehab wrote: > This struct is not used anymore. Get rid of it and update > the documentation about what should still be converted. > > Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH v2 03/17] media: v4l2-common: get rid of struct v4l2_discrete_probe

2017-10-13 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thursday, 28 September 2017 00:46:46 EEST Mauro Carvalho Chehab wrote: > This struct is there just two store two arguments of > v4l2_find_nearest_format(). The other two arguments are passed > as parameter. > > IMHO, there isn't much sense on doing that,

Re: [PATCH 3/8] Documentation: fix ref to workqueue content

2017-10-13 Thread Jani Nikula
On Thu, 12 Oct 2017, Tom Saeger wrote: > Signed-off-by: Tom Saeger > --- > .../RCU/Design/Expedited-Grace-Periods/Expedited-Grace-Periods.html | 2 > +- Someone(tm) should convert the last three html files to rst one of these days! In the mean

Re: [PATCH] PM / core: Fix kerneldoc comments of three functions

2017-10-13 Thread Ulf Hansson
On 13 October 2017 at 02:33, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Fix kerneldoc comments of __device_suspend_noirq(), > __device_suspend_late() and __device_suspend() where the function > names in kerneldoc don't match the actual