Skip to contentSkip to conversation

linux-next: manual merge of the jc_docs tree with the arm64 tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Mar 18, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the jc_docs tree got a conflict in:

Documentation/filesystems/proc.rst

between commit:

424037b77519 ("mm: smaps: Report arm64 guarded pages in smaps")

from the arm64 tree and commit:

c33e97efa9d9 ("docs: filesystems: convert proc.txt to ReST")

from the jc_docs tree.

I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 78 lines
Cheers,
Stephen Rothwell

diff --cc Documentation/filesystems/proc.rst
index ed5465d0f435,38b606991065..000000000000
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@@ -489,37 -511,39 +511,40 @@@ does not take into account swapped out 
  "THPeligible" indicates whether the mapping is eligible for allocating THP
  pages - 1 if true, 0 otherwise. It just shows the current status.
  
- "VmFlags" field deserves a separate description. This member represents the kernel
- flags associated with the particular virtual memory area in two letter encoded
- manner. The codes are the following:
-     rd  - readable
-     wr  - writeable
-     ex  - executable
-     sh  - shared
-     mr  - may read
-     mw  - may write
-     me  - may execute
-     ms  - may share
-     gd  - stack segment growns down
-     pf  - pure PFN range
-     dw  - disabled write to the mapped file
-     lo  - pages are locked in memory
-     io  - memory mapped I/O area
-     sr  - sequential read advise provided
-     rr  - random read advise provided
-     dc  - do not copy area on fork
-     de  - do not expand area on remapping
-     ac  - area is accountable
-     nr  - swap space is not reserved for the area
-     ht  - area uses huge tlb pages
-     ar  - architecture specific flag
-     dd  - do not include area into core dump
-     sd  - soft-dirty flag
-     mm  - mixed map area
-     hg  - huge page advise flag
-     nh  - no-huge page advise flag
-     mg  - mergable advise flag
+ "VmFlags" field deserves a separate description. This member represents the
+ kernel flags associated with the particular virtual memory area in two letter
+ encoded manner. The codes are the following:
+ 
+     ==    =======================================
+     rd    readable
+     wr    writeable
+     ex    executable
+     sh    shared
+     mr    may read
+     mw    may write
+     me    may execute
+     ms    may share
+     gd    stack segment growns down
+     pf    pure PFN range
+     dw    disabled write to the mapped file
+     lo    pages are locked in memory
+     io    memory mapped I/O area
+     sr    sequential read advise provided
+     rr    random read advise provided
+     dc    do not copy area on fork
+     de    do not expand area on remapping
+     ac    area is accountable
+     nr    swap space is not reserved for the area
+     ht    area uses huge tlb pages
+     ar    architecture specific flag
+     dd    do not include area into core dump
+     sd    soft dirty flag
+     mm    mixed map area
+     hg    huge page advise flag
+     nh    no huge page advise flag
+     mg    mergable advise flag
++    bt    arm64 BTI guarded page
+     ==    =======================================
  
  Note that there is no guarantee that every flag and associated mnemonic will
  be present in all further kernel releases. Things get changed, the flags may
#1 lore raw
Quoted 62 lines · Stephen Rothwell
Documentation/filesystems/proc.rst +24 -30
diff --cc Documentation/filesystems/proc.rst
index ed5465d0f435,38b606991065..000000000000
@@@ -489,37 -511,39 +511,40 @@@ does not take into account swapped out 
  "THPeligible" indicates whether the mapping is eligible for allocating THP
  pages - 1 if true, 0 otherwise. It just shows the current status.
 
- "VmFlags" field deserves a separate description. This member represents the kernel
- flags associated with the particular virtual memory area in two letter encoded
- manner. The codes are the following:
-     rd  - readable
-     wr  - writeable
-     ex  - executable
-     sh  - shared
-     mr  - may read
-     mw  - may write
-     me  - may execute
-     ms  - may share
-     gd  - stack segment growns down
-     pf  - pure PFN range
-     dw  - disabled write to the mapped file
-     lo  - pages are locked in memory
-     io  - memory mapped I/O area
-     sr  - sequential read advise provided
-     rr  - random read advise provided
-     dc  - do not copy area on fork
-     de  - do not expand area on remapping
-     ac  - area is accountable
-     nr  - swap space is not reserved for the area
-     ht  - area uses huge tlb pages
-     ar  - architecture specific flag
-     dd  - do not include area into core dump
-     sd  - soft-dirty flag
-     mm  - mixed map area
-     hg  - huge page advise flag
-     nh  - no-huge page advise flag
-     mg  - mergable advise flag
+ "VmFlags" field deserves a separate description. This member represents the
+ kernel flags associated with the particular virtual memory area in two letter
+ encoded manner. The codes are the following:
+ 
+     ==    =======================================
+     rd    readable
+     wr    writeable
+     ex    executable
+     sh    shared
+     mr    may read
+     mw    may write
+     me    may execute
+     ms    may share
+     gd    stack segment growns down
+     pf    pure PFN range
+     dw    disabled write to the mapped file
+     lo    pages are locked in memory
+     io    memory mapped I/O area
+     sr    sequential read advise provided
+     rr    random read advise provided
+     dc    do not copy area on fork
+     de    do not expand area on remapping
+     ac    area is accountable
+     nr    swap space is not reserved for the area

Documentation/filesystems/proc.rst

Quoted 10 lines
Documentation/filesystems/proc.rst +10 -0
+     ht    area uses huge tlb pages
+     ar    architecture specific flag
+     dd    do not include area into core dump
+     sd    soft dirty flag
+     mm    mixed map area
+     hg    huge page advise flag
+     nh    no huge page advise flag
+     mg    mergable advise flag
++    bt    arm64 BTI guarded page
+     ==    =======================================

Looks fine. Thanks Stephen.

Signature · 1 line
Catalin