+ mm-swapoff-shmem_unuse-stop-eviction-without-igrab-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm-swapoff-shmem_unuse-stop-eviction-without-igrab-fix
has been added to the -mm tree.  Its filename is
     mm-swapoff-shmem_unuse-stop-eviction-without-igrab-fix.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-swapoff-shmem_unuse-stop-eviction-without-igrab-fix.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-swapoff-shmem_unuse-stop-eviction-without-igrab-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Hugh Dickins <hughd@xxxxxxxxxx>
Subject: mm-swapoff-shmem_unuse-stop-eviction-without-igrab-fix

Fix my stupidity, thankfully caught by Konstantin.

Link: http://lkml.kernel.org/r/alpine.LSU.2.11.1904091133570.1898@eggly.anvils
Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx>
Cc: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/shmem.c |    1 -
 1 file changed, 1 deletion(-)

--- a/mm/shmem.c~mm-swapoff-shmem_unuse-stop-eviction-without-igrab-fix
+++ a/mm/shmem.c
@@ -1086,7 +1086,6 @@ static void shmem_evict_inode(struct ino
 			wait_var_event(&info->stop_eviction,
 				       !atomic_read(&info->stop_eviction));
 			mutex_lock(&shmem_swaplist_mutex);
-			list_del_init(&info->swaplist);
 			/* ...but beware of the race if we peeked too early */
 			if (!atomic_read(&info->stop_eviction))
 				list_del_init(&info->swaplist);
_

Patches currently in -mm which might be from hughd@xxxxxxxxxx are

mm-swapoff-shmem_find_swap_entries-filter-out-other-types.patch
mm-swapoff-remove-too-limiting-swap_unuse_max_tries.patch
mm-swapoff-take-notice-of-completion-sooner.patch
mm-swapoff-shmem_unuse-stop-eviction-without-igrab.patch
mm-swapoff-shmem_unuse-stop-eviction-without-igrab-fix.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux