]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: mmap fixed and shared
authorbob picco <bpicco@meloft.net>
Thu, 25 Jun 2015 00:10:18 +0000 (17:10 -0700)
committerAllen Pais <allen.pais@oracle.com>
Wed, 9 Sep 2015 18:44:35 +0000 (00:14 +0530)
commit6bf84f96773101599da587cc7dac76dc3a0967df
treeee3e299c49d80f1af38be8ebd0c608f1c087ba98
parentb86db80cd715e48d0d81a44a572a435bdeddfdcf
sparc64: mmap fixed and shared

Older sparc64 must have a VAC because there is concern that mmapping fixed
and shared with incorrect align would cause cache aliases. To my knowledge
this is not an issue for sun4v. I will eventually research this.

The patch appears required for uek4 too.

We will enforce the rigid alignment condition only for tlb_type != hypervisor.

Orabug: 20426304

Signed-off-by: Bob Picco <bob.picco@oracle.com>
(cherry picked from commit 88b6df6b74de358992b2b58dab018672606975c7)
(cherry picked from commit 3daf2db176d2f874446d74839635e9bbaffccc7f)
arch/sparc/kernel/sys_sparc_64.c