- remove-the-tasklist_lock-export.patch removed from -mm tree

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

 



The patch titled

     remove the tasklist_lock export

has been removed from the -mm tree.  Its filename is

     remove-the-tasklist_lock-export.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: remove the tasklist_lock export
From: Christoph Hellwig <hch@xxxxxx>

As announced half a year ago this patch will remove the tasklist_lock
export.  The previous two patches got rid of the remaining modular users.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 Documentation/feature-removal-schedule.txt |   11 -----------
 kernel/fork.c                              |    4 +---
 2 files changed, 1 insertion(+), 14 deletions(-)

diff -puN Documentation/feature-removal-schedule.txt~remove-the-tasklist_lock-export Documentation/feature-removal-schedule.txt
--- a/Documentation/feature-removal-schedule.txt~remove-the-tasklist_lock-export
+++ a/Documentation/feature-removal-schedule.txt
@@ -166,17 +166,6 @@ Who:	Arjan van de Ven <arjan@xxxxxxxxxxx
 
 ---------------------------
 
-What:	remove EXPORT_SYMBOL(tasklist_lock)
-When:	August 2006
-Files:	kernel/fork.c
-Why:	tasklist_lock protects the kernel internal task list.  Modules have
-	no business looking at it, and all instances in drivers have been due
-	to use of too-lowlevel APIs.  Having this symbol exported prevents
-	moving to more scalable locking schemes for the task list.
-Who:	Christoph Hellwig <hch@xxxxxx>
-
----------------------------
-
 What:	mount/umount uevents
 When:	February 2007
 Why:	These events are not correct, and do not properly let userspace know
diff -puN kernel/fork.c~remove-the-tasklist_lock-export kernel/fork.c
--- a/kernel/fork.c~remove-the-tasklist_lock-export
+++ a/kernel/fork.c
@@ -61,9 +61,7 @@ int max_threads;		/* tunable limit on nr
 
 DEFINE_PER_CPU(unsigned long, process_counts) = 0;
 
- __cacheline_aligned DEFINE_RWLOCK(tasklist_lock);  /* outer */
-
-EXPORT_SYMBOL(tasklist_lock);
+__cacheline_aligned DEFINE_RWLOCK(tasklist_lock);  /* outer */
 
 int nr_processes(void)
 {
_

Patches currently in -mm which might be from hch@xxxxxx are

origin.patch
git-scsi-rc-fixes.patch
areca-raid-linux-scsi-driver.patch
add-address_space_operationsbatch_write.patch
add-address_space_operationsbatch_write-fix.patch
vectorize-aio_read-aio_write-fileop-methods.patch
remove-readv-writev-methods-and-use-aio_read-aio_write.patch
streamline-generic_file_-interfaces-and-filemap.patch
task-watchers-task-watchers.patch
ecryptfs-mmap-operations.patch
ecryptfs-dont-muck-with-the-existing-nameidata-structures.patch
streamline-generic_file_-interfaces-and-filemap-ecryptfs.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