Skip to content

Commit 42742d9

Browse files
Al2Klimovtorvalds
authored andcommitted
mm: thp: replace HTTP links with HTTPS ones
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `xmlns`: For each link, `http://[^# ]*(?:\w|/)`: If neither `gnu\.org/license`, nor `mozilla\.org/MPL`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. [[email protected]: fix amd.com URL, per Vlastimil] Signed-off-by: Alexander A. Klimov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Vlastimil Babka <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
1 parent 8510e69 commit 42742d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mm/huge_memory.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,8 +2063,8 @@ static void __split_huge_pmd_locked(struct vm_area_struct *vma, pmd_t *pmd,
20632063
* free), userland could trigger a small page size TLB miss on the
20642064
* small sized TLB while the hugepage TLB entry is still established in
20652065
* the huge TLB. Some CPU doesn't like that.
2066-
* See http://support.amd.com/us/Processor_TechDocs/41322.pdf, Erratum
2067-
* 383 on page 93. Intel should be safe but is also warns that it's
2066+
* See http://support.amd.com/TechDocs/41322_10h_Rev_Gd.pdf, Erratum
2067+
* 383 on page 105. Intel should be safe but is also warns that it's
20682068
* only safe if the permission and cache attributes of the two entries
20692069
* loaded in the two TLB is identical (which should be the case here).
20702070
* But it is generally safer to never allow small and huge TLB entries

0 commit comments

Comments
 (0)