+ swsusp-freeze-filesystems-during-suspend-rev-2-comments.patch added to -mm tree

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

 



The patch titled
     swsusp-freeze-filesystems-during-suspend-rev-2 comments
has been added to the -mm tree.  Its filename is
     swsusp-freeze-filesystems-during-suspend-rev-2-comments.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: swsusp-freeze-filesystems-during-suspend-rev-2 comments
From: "Rafael J. Wysocki" <rjw@xxxxxxx>

Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
Cc: Nigel Cunningham <nigel@xxxxxxxxxxxx>
Cc: Rafael J. Wysocki <rjw@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/buffer.c |    9 +++++++++
 1 files changed, 9 insertions(+)

diff -puN fs/buffer.c~swsusp-freeze-filesystems-during-suspend-rev-2-comments fs/buffer.c
--- a/fs/buffer.c~swsusp-freeze-filesystems-during-suspend-rev-2-comments
+++ a/fs/buffer.c
@@ -242,6 +242,11 @@ void freeze_filesystems(void)
 {
 	struct super_block *sb;
 
+	/*
+	 * We are going to take several locks of the same class in a row
+	 * without releasing them until thaw_filesystems() is called and
+	 * lockdep won't know this is all OK.
+	 */
 	lockdep_off();
 	/*
 	 * Freeze in reverse order so filesystems dependant upon others are
@@ -267,6 +272,10 @@ void thaw_filesystems(void)
 {
 	struct super_block *sb;
 
+	/*
+	 * We are going to release several locks of the same class in a row
+	 * and lockdep would complain about it, unnecessarily.
+	 */
 	lockdep_off();
 
 	list_for_each_entry(sb, &super_blocks, s_list)
_

Patches currently in -mm which might be from rjw@xxxxxxx are

swsusp-debugging.patch
swsusp-debugging-doc.patch
uswsusp-add-pmops-prepareenterfinish-support-aka-platform-mode.patch
swsusp-use-partition-device-and-offset-to-identify-swap-areas.patch
swsusp-rearrange-swap-handling-code.patch
swsusp-use-block-device-offsets-to-identify-swap-locations-rev-2.patch
swsusp-add-resume_offset-command-line-parameter-rev-2.patch
swsusp-document-support-for-swap-files-rev-2.patch
swsusp-add-ioctl-for-swap-files-support.patch
swsusp-update-userland-interface-documentation.patch
swsusp-improve-handling-of-highmem.patch
swsusp-improve-handling-of-highmem-fix.patch
swsusp-use-__gfp_wait.patch
swsusp-fix-platform-mode.patch
add-include-linux-freezerh-and-move-definitions-from.patch
add-include-linux-freezerh-and-move-definitions-from-ueagle-fix.patch
quieten-freezer-if-config_pm_debug.patch
swsusp-cleanup-whitespace-in-freezer-output.patch
swsusp-thaw-userspace-and-kernel-space-separately.patch
swsusp-support-i386-systems-with-pae-or-without-pse.patch
swsusp-freeze-filesystems-during-suspend-rev-2.patch
swsusp-freeze-filesystems-during-suspend-rev-2-comments.patch
swsusp-use-platform-mode-by-default.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux