Re: [PATCH 0/2] ext4: even more documentation fixes

2018-10-05 Thread Theodore Y. Ts'o
On Thu, Oct 04, 2018 at 07:48:31PM -0700, Randy Dunlap wrote: > Hi Darrick, > > I don't see patch 2/2 anywhere (my inbox, email archives)... Probably because it's moving a lot of files around, so the diffs were 276k. > > -- > ~Randy

Re: [PATCH 0/2] ext4: even more documentation fixes

2018-10-05 Thread Randy Dunlap
On 10/5/18 8:22 AM, Theodore Y. Ts'o wrote: > On Thu, Oct 04, 2018 at 07:48:31PM -0700, Randy Dunlap wrote: >> Hi Darrick, >> >> I don't see patch 2/2 anywhere (my inbox, email archives)... > > Probably because it's moving a lot of files around, so the diffs were 276k. Oh, yeah. Thanks. -- ~Ra

Re: [PATCH 2/2] docs: promote the ext4 data structures book to top level

2018-10-05 Thread Theodore Y. Ts'o
On Thu, Oct 04, 2018 at 05:59:44PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong > > Move the ext4 data structures book to Documentation/filesystems/ext4/ > since the administrative information moved elsewhere. > > Signed-off-by: Darrick J. Wong Thanks, applied and pushed out to the ex

Re: [PATCH] docs: improve readability for people with poorer eyesight

2018-10-05 Thread Dave Chinner
On Thu, Oct 04, 2018 at 06:06:03PM -0700, Darrick J. Wong wrote: > Hi, > > So my eyesight still hasn't fully recovered, so in the meantime it's > been difficult to read the online documentation. Here's some stylesheet > overrides I've been using to make it easier for me to read them: > https://dj

Re: [PATCH v2 00/22] xfs-4.20: major documentation surgery

2018-10-05 Thread Dave Chinner
On Wed, Oct 03, 2018 at 09:18:11PM -0700, Darrick J. Wong wrote: > Hi all, > > This series converts the existing in-kernel xfs documentation to rst > format, links it in with the rest of the kernel's rst documetation, and > then begins pulling in the contents of the Data Structures & Algorithms >

Re: [PATCH v2 00/22] xfs-4.20: major documentation surgery

2018-10-05 Thread Jonathan Corbet
On Sat, 6 Oct 2018 10:51:54 +1000 Dave Chinner wrote: > Can you let us know whether the CC-by-SA 4.0 license is acceptible > or not? That's really the only thing that we need clarified at this > point - if it's OK I'll to pull this into the XFS tree for the 4.20 > merge window. If not, we'll go b

Re: [PATCH v2 00/22] xfs-4.20: major documentation surgery

2018-10-05 Thread Dave Chinner
On Fri, Oct 05, 2018 at 07:01:20PM -0600, Jonathan Corbet wrote: > On Sat, 6 Oct 2018 10:51:54 +1000 > Dave Chinner wrote: > > > Can you let us know whether the CC-by-SA 4.0 license is acceptible > > or not? That's really the only thing that we need clarified at this > > point - if it's OK I'll t

Re: [PATCH v3 3/6] mm/memory_hotplug: fix online/offline_pages called w.o. mem_hotplug_lock

2018-10-05 Thread Oscar Salvador
On Thu, Sep 27, 2018 at 11:25:51AM +0200, David Hildenbrand wrote: > Reviewed-by: Pavel Tatashin > Reviewed-by: Rashmica Gupta > Signed-off-by: David Hildenbrand Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE L3

Re: [PATCH v3 6/6] memory-hotplug.txt: Add some details about locking internals

2018-10-05 Thread Oscar Salvador
On Thu, Sep 27, 2018 at 11:25:54AM +0200, David Hildenbrand wrote: > Cc: Jonathan Corbet > Cc: Michal Hocko > Cc: Andrew Morton > Reviewed-by: Pavel Tatashin > Reviewed-by: Rashmica Gupta > Signed-off-by: David Hildenbrand Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE L3

Re: [PATCH v3 1/6] mm/memory_hotplug: make remove_memory() take the device_hotplug_lock

2018-10-05 Thread Oscar Salvador
On Thu, Sep 27, 2018 at 11:25:49AM +0200, David Hildenbrand wrote: > Reviewed-by: Pavel Tatashin > Reviewed-by: Rafael J. Wysocki > Reviewed-by: Rashmica Gupta > Signed-off-by: David Hildenbrand Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE L3

Re: [PATCH v3 2/6] mm/memory_hotplug: make add_memory() take the device_hotplug_lock

2018-10-05 Thread Oscar Salvador
On Thu, Sep 27, 2018 at 11:25:50AM +0200, David Hildenbrand wrote: > Reviewed-by: Pavel Tatashin > Reviewed-by: Rafael J. Wysocki > Reviewed-by: Rashmica Gupta > Signed-off-by: David Hildenbrand Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE L3

[GIT PULL linux-next] Add Compiler Attributes (v6) tree

2018-10-05 Thread Miguel Ojeda
sed on top of next-20181005): https://github.com/ojeda/linux.git compiler-attributes-rebased Thanks! Cheers, Miguel The following changes since commit 17b57b1883c1285f3d0dc2266e8f79286a7bef38: Linux 4.19-rc6 (2018-09-30 07:15:35 -0700) are available in the Git repository at: https://

[PATCH] Documentation/arm64: HugeTLB page implementation

2018-10-05 Thread Punit Agrawal
Arm v8 architecture supports multiple page sizes - 4k, 16k and 64k. Based on the active page size, the Linux port supports corresponding hugepage sizes at PMD and PUD(4k only) levels. In addition, the architecture also supports caching larger sized ranges (composed of multiple entries) at the PTE

Re: [PATCH v4 0/3] fs/dcache: Track # of negative dentries

2018-10-05 Thread Waiman Long
On 09/12/2018 01:35 PM, Waiman Long wrote: > v3->v4: > - Drop patch 4 as it is just a minor optimization. > - Add a cc:stable tag to patch 1. > - Clean up some comments in patch 3. > > v2->v3: > - With confirmation that the dummy array in dentry_stat structure > was never a replacemen

Re: [RFC PATCH v4 3/9] x86/cet/ibt: Add IBT legacy code bitmap allocation function

2018-10-05 Thread Yu-cheng Yu
On Wed, 2018-10-03 at 21:57 +0200, Eugene Syromiatnikov wrote: > On Fri, Sep 21, 2018 at 08:05:47AM -0700, Yu-cheng Yu wrote: > > Indirect branch tracking provides an optional legacy code bitmap > > that indicates locations of non-IBT compatible code. When set, > > each bit in the bitmap represent

Re: [RFC PATCH v4 3/9] x86/cet/ibt: Add IBT legacy code bitmap allocation function

2018-10-05 Thread Andy Lutomirski
> On Oct 5, 2018, at 9:13 AM, Yu-cheng Yu wrote: > >> On Wed, 2018-10-03 at 21:57 +0200, Eugene Syromiatnikov wrote: >>> On Fri, Sep 21, 2018 at 08:05:47AM -0700, Yu-cheng Yu wrote: >>> Indirect branch tracking provides an optional legacy code bitmap >>> that indicates locations of non-IBT com

Re: [PATCH security-next v4 23/32] selinux: Remove boot parameter

2018-10-05 Thread James Morris
On Fri, 5 Oct 2018, James Morris wrote: > On Thu, 4 Oct 2018, Kees Cook wrote: > > And a user would need to specify ALL lsms on the "lsm=" line? > > > > Yes, the ones they want enabled. If they're overriding the kconfig value. -- James Morris

Re: [PATCH security-next v4 23/32] selinux: Remove boot parameter

2018-10-05 Thread Kees Cook
On Thu, Oct 4, 2018 at 9:58 PM, James Morris wrote: > On Thu, 4 Oct 2018, Kees Cook wrote: > >> On Thu, Oct 4, 2018 at 10:49 AM, James Morris wrote: >> > On Wed, 3 Oct 2018, Kees Cook wrote: >> >> Then someone boots the system with: >> >> >> >> selinux=1 security=selinux >> >> >> >> In what order

[PATCH 07/36] kbuild: Add support for DT binding schema checks

2018-10-05 Thread Rob Herring
This adds the build infrastructure for checking DT binding schema documents and validating dts files using the binding schema. Check DT binding schema documents: make dt_binding_check Build dts files and check using DT binding schema: make dtbs_check Currently, the validation targets are separat

Re: [RFC PATCH v4 3/9] x86/cet/ibt: Add IBT legacy code bitmap allocation function

2018-10-05 Thread Yu-cheng Yu
On Fri, 2018-10-05 at 09:28 -0700, Andy Lutomirski wrote: > > On Oct 5, 2018, at 9:13 AM, Yu-cheng Yu wrote: > > > > > On Wed, 2018-10-03 at 21:57 +0200, Eugene Syromiatnikov wrote: > > > > On Fri, Sep 21, 2018 at 08:05:47AM -0700, Yu-cheng Yu wrote: > > > > Indirect branch tracking provides an o

Re: [RFC PATCH v4 3/9] x86/cet/ibt: Add IBT legacy code bitmap allocation function

2018-10-05 Thread Andy Lutomirski
On Fri, Oct 5, 2018 at 10:03 AM Yu-cheng Yu wrote: > > On Fri, 2018-10-05 at 09:28 -0700, Andy Lutomirski wrote: > > > On Oct 5, 2018, at 9:13 AM, Yu-cheng Yu wrote: > > > > > > > On Wed, 2018-10-03 at 21:57 +0200, Eugene Syromiatnikov wrote: > > > > > On Fri, Sep 21, 2018 at 08:05:47AM -0700, Yu

Re: [RFC PATCH v4 3/9] x86/cet/ibt: Add IBT legacy code bitmap allocation function

2018-10-05 Thread Eugene Syromiatnikov
On Fri, Oct 05, 2018 at 10:07:46AM -0700, Andy Lutomirski wrote: > On Fri, Oct 5, 2018 at 10:03 AM Yu-cheng Yu wrote: > > > > On Fri, 2018-10-05 at 09:28 -0700, Andy Lutomirski wrote: > > > > On Oct 5, 2018, at 9:13 AM, Yu-cheng Yu wrote: > > > > > > > > > On Wed, 2018-10-03 at 21:57 +0200, Eugen

Re: [PATCH v9 1/2] dt-bindings: hwmon: Add ina3221 documentation

2018-10-05 Thread Rob Herring
On Mon, 1 Oct 2018 18:05:22 -0700, Nicolin Chen wrote: > Texas Instruments INA3221 is a triple-channel shunt and bus > voltage monitor. This patch adds a DT binding doc for it. > > Signed-off-by: Nicolin Chen > --- > Changelog > v7->v9: > * N/A > v6->v7: > * Restored three channel examples and

[PATCH RFC 0/5] rcu doc updates for whatisRCU and checklist

2018-10-05 Thread Joel Fernandes (Google)
Hi Paul, Here are this week's rcu doc updates based on combing through whatisRCU and checklists. Hopefully you agree with them. I left several old _bh and _sched API references as is, since I don't think its a good idea to remove them till the APIs themselves are removed, however I did remove seve

[PATCH RFC 3/5] doc: rcu: Remove obsolete suggestion from checklist

2018-10-05 Thread Joel Fernandes (Google)
call_rcu_bh is now implemented in terms of call_rcu, so the suggestion to use a different API for speed benefits is not accurate anymore. Update the document accordingly. Signed-off-by: Joel Fernandes (Google) --- Documentation/RCU/checklist.txt | 6 +- 1 file changed, 1 insertion(+), 5 dele

[PATCH RFC 1/5] doc: rcu: Update core and full API in whatisRCU

2018-10-05 Thread Joel Fernandes (Google)
RCU consolidation effort causes the update side of the RCU API to be consistent across all the 3 RCU flavors (normal, sched, bh). Update the full API in the whatisRCU document accordingly so we are encouraging folks to use the consolidated API than using the ones for the individual flavors (which i

[PATCH RFC 2/5] doc: rcu: Add more rationale for using rcu_read_lock_sched in checklist

2018-10-05 Thread Joel Fernandes (Google)
It could be clarified better why rcu_read_lock_sched is better than using preempt_disable, add the same. Signed-off-by: Joel Fernandes (Google) --- Documentation/RCU/checklist.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/RCU/checklist.txt b/Documentation/

[PATCH RFC 5/5] doc: rcu: Encourage use of rcu_barrier in checklist

2018-10-05 Thread Joel Fernandes (Google)
The checklist suggests rcu_barrier_bh for RCU-bh and similarly for sched, however these APIs are now implemented as rcu_barrier itself due to the RCU consolidation. It may also be removed in the future, so lets correct the doc to encourage use of the rcu_barrier() API itself. Similar changes are ma

[PATCH RFC 4/5] doc: rcu: Remove obsolete checklist item about synchronize_rcu usage

2018-10-05 Thread Joel Fernandes (Google)
Since the RCU mechanisms have been consolidated, this checklist item seems no longer useful or relevant. Probably even a bit misleading. For example, synchronize_rcu will now guarantee that all interrupt disabled regions have finished executing. So lets remove this checklist item. Signed-off-by: J

Re: [PATCH RFC 0/5] rcu doc updates for whatisRCU and checklist

2018-10-05 Thread Theodore Y. Ts'o
On Fri, Oct 05, 2018 at 04:18:09PM -0700, Joel Fernandes (Google) wrote: > > Here are this week's rcu doc updates based on combing through whatisRCU and > checklists. Hopefully you agree with them. I left several old _bh and _sched > API references as is, since I don't think its a good idea to rem

Re: [PATCH RFC 0/5] rcu doc updates for whatisRCU and checklist

2018-10-05 Thread Paul E. McKenney
On Fri, Oct 05, 2018 at 04:18:09PM -0700, Joel Fernandes (Google) wrote: > Hi Paul, > > Here are this week's rcu doc updates based on combing through whatisRCU and > checklists. Hopefully you agree with them. I left several old _bh and _sched > API references as is, since I don't think its a good

Re: [PATCH RFC 0/5] rcu doc updates for whatisRCU and checklist

2018-10-05 Thread Joel Fernandes
On Fri, Oct 05, 2018 at 07:46:28PM -0400, Theodore Y. Ts'o wrote: > On Fri, Oct 05, 2018 at 04:18:09PM -0700, Joel Fernandes (Google) wrote: > > > > Here are this week's rcu doc updates based on combing through whatisRCU and > > checklists. Hopefully you agree with them. I left several old _bh and

Re: [PATCH RFC 0/5] rcu doc updates for whatisRCU and checklist

2018-10-05 Thread Joel Fernandes
On Fri, Oct 05, 2018 at 05:13:26PM -0700, Paul E. McKenney wrote: > On Fri, Oct 05, 2018 at 04:18:09PM -0700, Joel Fernandes (Google) wrote: > > Hi Paul, > > > > Here are this week's rcu doc updates based on combing through whatisRCU and > > checklists. Hopefully you agree with them. I left severa

Re: [GIT PULL linux-next] Add Compiler Attributes (v6) tree

2018-10-05 Thread Stephen Rothwell
's. > > The conflicts are trivial to solve, but if you want a reference, take > a look at (rebased on top of next-20181005): > > https://github.com/ojeda/linux.git compiler-attributes-rebased > > Thanks! > > Cheers, > Miguel > > The following changes since

Re: [PATCH RFC 0/5] rcu doc updates for whatisRCU and checklist

2018-10-05 Thread Paul E. McKenney
On Fri, Oct 05, 2018 at 07:46:28PM -0400, Theodore Y. Ts'o wrote: > On Fri, Oct 05, 2018 at 04:18:09PM -0700, Joel Fernandes (Google) wrote: > > > > Here are this week's rcu doc updates based on combing through whatisRCU and > > checklists. Hopefully you agree with them. I left several old _bh and

Re: [PATCH RFC 0/5] rcu doc updates for whatisRCU and checklist

2018-10-05 Thread Joel Fernandes
On Fri, Oct 05, 2018 at 08:45:40PM -0700, Paul E. McKenney wrote: > On Fri, Oct 05, 2018 at 07:46:28PM -0400, Theodore Y. Ts'o wrote: > > On Fri, Oct 05, 2018 at 04:18:09PM -0700, Joel Fernandes (Google) wrote: > > > > > > Here are this week's rcu doc updates based on combing through whatisRCU >

Re: [PATCH RFC 0/5] rcu doc updates for whatisRCU and checklist

2018-10-05 Thread Joel Fernandes
On Fri, Oct 05, 2018 at 08:45:40PM -0700, Paul E. McKenney wrote: > On Fri, Oct 05, 2018 at 07:46:28PM -0400, Theodore Y. Ts'o wrote: > > On Fri, Oct 05, 2018 at 04:18:09PM -0700, Joel Fernandes (Google) wrote: > > > > > > Here are this week's rcu doc updates based on combing through whatisRCU >

Re: [PATCH RFC 0/5] rcu doc updates for whatisRCU and checklist

2018-10-05 Thread Theodore Y. Ts'o
On Fri, Oct 05, 2018 at 08:45:40PM -0700, Paul E. McKenney wrote: > > Shouldn't the synchronize_rcu() precede the loop doing the kfree() > calls? Or am I missing something subtle? No, that was a cut and paste error on my part. I was removing the rcu_read_unlock() before the kfree loop, and acci