Loading mm/swapfile.c +7 −7 Original line number Diff line number Diff line Loading @@ -707,7 +707,7 @@ swp_entry_t get_swap_page(void) return (swp_entry_t) {0}; } /* The only caller of this function is now susupend routine */ /* The only caller of this function is now suspend routine */ swp_entry_t get_swap_page_of_type(int type) { struct swap_info_struct *si; Loading Loading @@ -947,7 +947,7 @@ int try_to_free_swap(struct page *page) * original page might be freed under memory pressure, then * later read back in from swap, now with the wrong data. * * Hibration suspends storage while it is writing the image * Hibernation suspends storage while it is writing the image * to disk so check that here. */ if (pm_suspended_storage()) Loading Loading @@ -1179,7 +1179,7 @@ static int unuse_pte_range(struct vm_area_struct *vma, pmd_t *pmd, * some architectures (e.g. x86_32 with PAE) we might catch a glimpse * of unmatched parts which look like swp_pte, so unuse_pte must * recheck under pte lock. Scanning without pte lock lets it be * preemptible whenever CONFIG_PREEMPT but not CONFIG_HIGHPTE. * preemptable whenever CONFIG_PREEMPT but not CONFIG_HIGHPTE. */ pte = pte_offset_map(pmd, addr); do { Loading Loading @@ -1934,7 +1934,7 @@ SYSCALL_DEFINE1(swapoff, const char __user *, specialfile) vfree(swap_map); vfree(cluster_info); vfree(frontswap_map); /* Destroy swap account informatin */ /* Destroy swap account information */ swap_cgroup_swapoff(type); inode = mapping->host; Loading Loading
mm/swapfile.c +7 −7 Original line number Diff line number Diff line Loading @@ -707,7 +707,7 @@ swp_entry_t get_swap_page(void) return (swp_entry_t) {0}; } /* The only caller of this function is now susupend routine */ /* The only caller of this function is now suspend routine */ swp_entry_t get_swap_page_of_type(int type) { struct swap_info_struct *si; Loading Loading @@ -947,7 +947,7 @@ int try_to_free_swap(struct page *page) * original page might be freed under memory pressure, then * later read back in from swap, now with the wrong data. * * Hibration suspends storage while it is writing the image * Hibernation suspends storage while it is writing the image * to disk so check that here. */ if (pm_suspended_storage()) Loading Loading @@ -1179,7 +1179,7 @@ static int unuse_pte_range(struct vm_area_struct *vma, pmd_t *pmd, * some architectures (e.g. x86_32 with PAE) we might catch a glimpse * of unmatched parts which look like swp_pte, so unuse_pte must * recheck under pte lock. Scanning without pte lock lets it be * preemptible whenever CONFIG_PREEMPT but not CONFIG_HIGHPTE. * preemptable whenever CONFIG_PREEMPT but not CONFIG_HIGHPTE. */ pte = pte_offset_map(pmd, addr); do { Loading Loading @@ -1934,7 +1934,7 @@ SYSCALL_DEFINE1(swapoff, const char __user *, specialfile) vfree(swap_map); vfree(cluster_info); vfree(frontswap_map); /* Destroy swap account informatin */ /* Destroy swap account information */ swap_cgroup_swapoff(type); inode = mapping->host; Loading