summaryrefslogtreecommitdiffstats
path: root/security/smack/smack_lsm.c
diff options
context:
space:
mode:
authorPunit Agrawal <punit.agrawal@arm.com>2017-07-07 00:39:53 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2017-07-07 01:24:34 +0200
commit5fd27b8e7dbcab0dc5a1346305679ba4bcc20977 (patch)
tree08bddd63da8eee5cc5d021c12b6a78401a17c4e8 /security/smack/smack_lsm.c
parentmm/hugetlb: introduce set_huge_swap_pte_at() helper (diff)
downloadlinux-5fd27b8e7dbcab0dc5a1346305679ba4bcc20977.tar.xz
linux-5fd27b8e7dbcab0dc5a1346305679ba4bcc20977.zip
mm: rmap: use correct helper when poisoning hugepages
Using set_pte_at() does not do the right thing when putting down HWPOISON swap entries for hugepages on architectures that support contiguous ptes. Fix this problem by using set_huge_swap_pte_at() which was introduced to fix exactly this problem. Link: http://lkml.kernel.org/r/20170522133604.11392-7-punit.agrawal@arm.com Signed-off-by: Punit Agrawal <punit.agrawal@arm.com> Acked-by: Steve Capper <steve.capper@arm.com> Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Cc: Mike Kravetz <mike.kravetz@oracle.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Hillf Danton <hillf.zj@alibaba-inc.com> Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Cc: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/smack/smack_lsm.c')
0 files changed, 0 insertions, 0 deletions