Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Mauro Carvalho Chehab
Em Fri, 14 Jul 2017 19:35:59 +0200 Markus Heiser escreveu: > > Am 14.07.2017 um 18:49 schrieb Mauro Carvalho Chehab > > : > > > > Solving Sphinx dependencies can be painful. Add a script to > > check if everything is ok. > > just my 5cent: > > What we need is a "requirements.txt" file to de

[RFC v3] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Mauro Carvalho Chehab
Solving Sphinx dependencies can be painful. Add a script to check if everything is ok. Tested on Fedora 26 and Ubuntu 17.04. Signed-off-by: Mauro Carvalho Chehab --- v3: check for DeJavu fonts on Ubuntu and add "sudo" to Fedora instructions v2: add support for Fedora 26 scripts/sphinx-pre-ins

Re: [PATCH v2 00/53] Get rid of Docbook

2017-07-14 Thread Mauro Carvalho Chehab
Em Fri, 14 Jul 2017 16:15:23 -0700 Jim Davis escreveu: > On Thu, Jul 6, 2017 at 1:54 AM, Markus Heiser > wrote: > > > 52b3f23 Docs: clean up some DocBook loose ends > > Speaking of minor loose ends, > > make SPHINXDIRS=userspace-api pdfdocs > > works -- though now that it's all sphinx, w

Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Mauro Carvalho Chehab
Em Fri, 14 Jul 2017 15:51:03 -0700 Jim Davis escreveu: > On Fri, Jul 14, 2017 at 10:35 AM, Markus Heiser > wrote: > > > > > > Ok, this won't solve TeX installation problems of Linux distros, > > Which seems to be the thorniest problem. It's one thing to identify > which sphinx versions work,

[RFC v2] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Mauro Carvalho Chehab
Solving Sphinx dependencies can be painful. Add a script to check if everything is ok. Tested on Fedora 26 and Ubuntu 17.04. Signed-off-by: Mauro Carvalho Chehab --- v2: add support for Fedora 26 scripts/sphinx-pre-install | 321 + 1 file changed, 3

[PATCH v2] kmemleak: add oom= runtime parameter

2017-07-14 Thread shuwang
From: Shu Wang When running memory stress tests, kmemleak could be easily disabled in function create_object as system is out of memory and kmemleak failed to alloc from object_cache. Since there's no way to enable kmemleak after it's off, simply ignore the object_cache alloc failure will just lo

Re: [PATCH v2 00/53] Get rid of Docbook

2017-07-14 Thread Jim Davis
On Thu, Jul 6, 2017 at 1:54 AM, Markus Heiser wrote: > 52b3f23 Docs: clean up some DocBook loose ends Speaking of minor loose ends, make SPHINXDIRS=userspace-api pdfdocs works -- though now that it's all sphinx, wouldn't just DIRS be better? -- and make DOCBOOKS=userspace-api pdfdocs still

Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Jim Davis
On Fri, Jul 14, 2017 at 10:35 AM, Markus Heiser wrote: > > > Ok, this won't solve TeX installation problems of Linux distros, Which seems to be the thorniest problem. It's one thing to identify which sphinx versions work, and another to figure out which of the metric boatload of TeX packages are

Re: [PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Markus Heiser
> Am 14.07.2017 um 18:49 schrieb Mauro Carvalho Chehab > : > > Solving Sphinx dependencies can be painful. Add a script to > check if everything is ok. just my 5cent: What we need is a "requirements.txt" file to define a **reference environment**. E.g. to stick Sphinx 1.4.9 in such a reference

[PATCH RFC] scripts/sphinx-pre-install: add a script to check Sphinx install

2017-07-14 Thread Mauro Carvalho Chehab
Solving Sphinx dependencies can be painful. Add a script to check if everything is ok. Signed-off-by: Mauro Carvalho Chehab --- For now, this is just a RFC for a script that would detect (and eventually install) the dependencies for Sphinx builds. I tested it only with Ubuntu 17.04, as I create

[PATCH v2 6/6] sphinx.rst: better organize the documentation about PDF build

2017-07-14 Thread Mauro Carvalho Chehab
Instead of having it on just one note, add a separate section. This way, we could later improve it, providing a better guide about the needed steps for PDF builds. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 21 + 1 file changed, 13 insertio

[PATCH v2 1/6] changes.rst: Update Sphinx minimal requirements

2017-07-14 Thread Mauro Carvalho Chehab
The kfigure module doesn't work with Sphinx version 1.2. So, update the minimal requirements accordingly. Signed-off-by: Mauro Carvalho Chehab --- Documentation/process/changes.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/process/changes.rst b/Docu

[PATCH v2 0/6] Better document Sphinx install instructions

2017-07-14 Thread Mauro Carvalho Chehab
The Sphinx build chain is fragile: any upgrades can cause it to break. That's what happened this week, when I upgraded my machines to Fedora 26. So, add a separate chapter at sphinx.rst with Sphinx install instructions, moving it out of changes.rst. and better name patch 2/6. v2: improved the te

[PATCH v2 5/6] sphinx.rst: describe the install requirements for kfigure

2017-07-14 Thread Mauro Carvalho Chehab
As we now have a document describing the install requirements for Sphinx, add there the need for GraphViz and ImageMagick. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/doc-guide/sphinx

[PATCH v2 4/6] sphinx.rst: fix unknown reference

2017-07-14 Thread Mauro Carvalho Chehab
There's no "Sphinx C Domain" reference at the Kernel documentation. So, don't use references for it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doc-guide/sphinx.rst b/Documentation

[PATCH v2 2/6] docs-rst: move Sphinx install instructions to sphinx.rst

2017-07-14 Thread Mauro Carvalho Chehab
The toolchain used by Sphinx is somewhat complex, and installing it should be part of the doc-guide. Move it out of changes.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 17 + Documentation/process/changes.rst | 14 ++ 2 files ch

[PATCH v2 3/6] sphinx.rst: explain the usage of virtual environment

2017-07-14 Thread Mauro Carvalho Chehab
As the Sphinx build seems very fragile, specially for PDF output, add a notice about how to use it on a virtual environment. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 32 1 file changed, 32 insertions(+) diff --git a/Documenta

Re: [PATCH 2/6] docs-rst: update Sphinx install instructions

2017-07-14 Thread Markus Heiser
> Am 14.07.2017 um 17:44 schrieb Jonathan Corbet : > > On Fri, 14 Jul 2017 08:08:19 -0300 > Mauro Carvalho Chehab wrote: > >> +Please see :ref:`sphinx_install` at the doc-guide for details about >> +Sphinx requirements. > > One small comment here: formatting things this way assumes that people

Re: [PATCH 2/6] docs-rst: update Sphinx install instructions

2017-07-14 Thread Jonathan Corbet
On Fri, 14 Jul 2017 08:08:19 -0300 Mauro Carvalho Chehab wrote: > +Please see :ref:`sphinx_install` at the doc-guide for details about > +Sphinx requirements. One small comment here: formatting things this way assumes that people are reading the documentation in a web browser. Can we replace "a

[PATCH 4/6] sphinx.rst: fix unknown reference

2017-07-14 Thread Mauro Carvalho Chehab
There's no "Sphinx C Domain" reference at the Kernel documentation. So, don't use references for it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/doc-guide/sphinx.rst b/Documentation

[PATCH 3/6] sphinx.rst: explain the usage of virtual environment

2017-07-14 Thread Mauro Carvalho Chehab
As the Sphinx build seems very fragile, specially for PDF output, add a notice about how to use it on a virtual environment. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 32 1 file changed, 32 insertions(+) diff --git a/Documenta

[PATCH 2/6] docs-rst: update Sphinx install instructions

2017-07-14 Thread Mauro Carvalho Chehab
The toolchain used by Sphinx is somewhat complex, and installing it should be part of the doc-guide. Move it out of changes.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 17 + Documentation/process/changes.rst | 14 ++ 2 files ch

[PATCH 6/6] sphinx.rst: better organize the documentation about PDF build

2017-07-14 Thread Mauro Carvalho Chehab
Instead of having it on just one note, add a separate section. This way, we could later improve it, providing a better guide about the needed steps for PDF builds. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 21 + 1 file changed, 13 insertio

[PATCH 0/6] Better document Sphinx install instructions

2017-07-14 Thread Mauro Carvalho Chehab
The Sphinx build chain is fragile: any upgrades can cause it to break. That's what happened this week, when I upgraded my machines to Fedora 26. So, add a separate chapter at sphinx.rst with Sphinx install instructions, moving it out of changes.rst. Mauro Carvalho Chehab (6): changes.rst: Upda

[PATCH 5/6] sphinx.rst: describe the install requirements for kfigure

2017-07-14 Thread Mauro Carvalho Chehab
As we now have a document describing the install requirements for Sphinx, add there the need for GraphViz and ImageMagick. Signed-off-by: Mauro Carvalho Chehab --- Documentation/doc-guide/sphinx.rst | 13 + 1 file changed, 13 insertions(+) diff --git a/Documentation/doc-guide/sphinx

[PATCH 1/6] changes.rst: Update Sphinx minimal requirements

2017-07-14 Thread Mauro Carvalho Chehab
The kfigure module doesn't work with Sphinx version 1.2. So, update the minimal requirements accordingly. Signed-off-by: Mauro Carvalho Chehab --- Documentation/process/changes.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/process/changes.rst b/Docu

"make distclean" doesn't get rid of scripts/docproc

2017-07-14 Thread Robert P. J. Day
just noticed that distclean doesn't remove the generated executable scripts/docproc, whose responsibility is that? rday -- Robert P. J. Day Ottawa, Ontario, CANADA

Re: [PATCH] kmemleak: add oom= runtime parameter

2017-07-14 Thread Shu Wang
Hi please ignore this patch, I'll upload another one. Thanks - Original Message - > From: shuw...@redhat.com > To: "catalin marinas" , cor...@lwn.net > Cc: linux-doc@vger.kernel.org, linux-ker...@vger.kernel.org, > linux...@kvack.org, liw...@redhat.com, > shuw...@redhat.com, ch...@redha

Re: [PATCH] [PATCH v6] docs-rst: automatically convert Graphviz and SVG images

2017-07-14 Thread Mauro Carvalho Chehab
Em Fri, 14 Jul 2017 09:24:44 +0200 Markus Heiser escreveu: > > Am 13.07.2017 um 22:50 schrieb Mauro Carvalho Chehab > > : > > > > Em Mon, 6 Mar 2017 14:09:27 +0100 > > Markus Heiser escreveu: > > > >> This patch brings scalable figure, image handling and a concept to > >> embed *render* ma

[PATCH] kmemleak: add oom= runtime parameter

2017-07-14 Thread shuwang
From: Shu Wang When running memory stress tests, kmemleak could be easily disabled in function create_object as system is out of memory and kmemleak failed to alloc from object_cache. Since there's no way to enable kmemleak after it's off, simply ignore the object_cache alloc failure will just lo

Re: [PATCH 2/2] x86/idle: use dynamic halt poll

2017-07-14 Thread Alexander Graf
On 13.07.17 13:49, Yang Zhang wrote: On 2017/7/4 22:13, Radim Krčmář wrote: 2017-07-03 17:28+0800, Yang Zhang: The background is that we(Alibaba Cloud) do get more and more complaints from our customers in both KVM and Xen compare to bare-mental.After investigations, the root cause is known t

Re: [PATCH] [PATCH v6] docs-rst: automatically convert Graphviz and SVG images

2017-07-14 Thread Markus Heiser
> Am 13.07.2017 um 22:50 schrieb Mauro Carvalho Chehab > : > > Em Mon, 6 Mar 2017 14:09:27 +0100 > Markus Heiser escreveu: > >> This patch brings scalable figure, image handling and a concept to >> embed *render* markups: >> >> * DOT (http://www.graphviz.org) >> * SVG > > Not sure what's ha