[folded] mm-add-swap-slot-free-callback-to-block_device_operations-fix.patch removed from -mm tree

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

 



The patch titled
     mm-add-swap-slot-free-callback-to-block_device_operations-fix
has been removed from the -mm tree.  Its filename was
     mm-add-swap-slot-free-callback-to-block_device_operations-fix.patch

This patch was dropped because it was folded into mm-add-swap-slot-free-callback-to-block_device_operations.patch

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: mm-add-swap-slot-free-callback-to-block_device_operations-fix
From: Nitin Gupta <ngupta@xxxxxxxxxx>

A block device makes swap_slot_free_notify() callback when the last
reference to a swap slot is dropped.

This callback is made under swap_lock and sometimes page table lock.  This
is a note of warning for registered callback function which must meet
these constraints.

Signed-off-by: Nitin Gupta <ngupta@xxxxxxxxxx>
Signed-off-by: Hugh Dickins <hugh.dickins@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/linux/blkdev.h |    1 +
 1 file changed, 1 insertion(+)

diff -puN include/linux/blkdev.h~mm-add-swap-slot-free-callback-to-block_device_operations-fix include/linux/blkdev.h
--- a/include/linux/blkdev.h~mm-add-swap-slot-free-callback-to-block_device_operations-fix
+++ a/include/linux/blkdev.h
@@ -1310,6 +1310,7 @@ struct block_device_operations {
 						unsigned long long);
 	int (*revalidate_disk) (struct gendisk *);
 	int (*getgeo)(struct block_device *, struct hd_geometry *);
+	/* this callback is with swap_lock and sometimes page table lock held */
 	void (*swap_slot_free_notify) (struct block_device *, unsigned long);
 	struct module *owner;
 };
_

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

mm-add-swap-slot-free-callback-to-block_device_operations.patch
mm-add-swap-slot-free-callback-to-block_device_operations-fix.patch
linux-next.patch
mm-swapfilec-fix-swapon-size-off-by-one.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