- mark-profile-notifier-blocks-__read_mostly.patch removed from -mm tree

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

 



The patch titled

     Mark profile notifier blocks __read_mostly

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

     mark-profile-notifier-blocks-__read_mostly.patch

This patch was dropped because I've decided that _-read_mostly is the wrong way to solve this problem

------------------------------------------------------
Subject: Mark profile notifier blocks __read_mostly
From: Matt Helsley <matthltc@xxxxxxxxxx>


Mark profile notifier blocks __read_mostly since once registered they tend
not to be written.  This seems like a good idea but I'm not yet familiar
enough with the profile paths to be certain.

Compiles, boots, and runs with CONFIG_PROFILING=y and readprofile on a
4-way Opteron running Debian Sarge.

Signed-off-by: Matt Helsley <matthltc@xxxxxxxxxx>
Cc: <profile-list@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/oprofile/buffer_sync.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff -puN drivers/oprofile/buffer_sync.c~mark-profile-notifier-blocks-__read_mostly drivers/oprofile/buffer_sync.c
--- a/drivers/oprofile/buffer_sync.c~mark-profile-notifier-blocks-__read_mostly
+++ a/drivers/oprofile/buffer_sync.c
@@ -117,19 +117,19 @@ static int module_load_notify(struct not
 }
 
  
-static struct notifier_block task_free_nb = {
+static struct notifier_block __read_mostly task_free_nb = {
 	.notifier_call	= task_free_notify,
 };
 
-static struct notifier_block task_exit_nb = {
+static struct notifier_block __read_mostly task_exit_nb = {
 	.notifier_call	= task_exit_notify,
 };
 
-static struct notifier_block munmap_nb = {
+static struct notifier_block __read_mostly munmap_nb = {
 	.notifier_call	= munmap_notify,
 };
 
-static struct notifier_block module_load_nb = {
+static struct notifier_block __read_mostly module_load_nb = {
 	.notifier_call = module_load_notify,
 };
 
_

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

origin.patch
remove-unecessary-null-check-in-kernel-acctc.patch
mark-profile-notifier-blocks-__read_mostly.patch
task-watchers-task-watchers.patch
task-watchers-task-watchers-tidy.patch
task-watchers-register-process-events-task-watcher.patch
task-watchers-refactor-process-events.patch
task-watchers-make-process-events-configurable-as.patch
task-watchers-allow-task-watchers-to-block.patch
task-watchers-register-audit-task-watcher.patch
task-watchers-register-per-task-delay-accounting.patch
task-watchers-register-profile-as-a-task-watcher.patch
task-watchers-add-support-for-per-task-watchers.patch
task-watchers-add-support-for-per-task-watchers-warning-fix.patch
task-watchers-register-semundo-task-watcher.patch
task-watchers-register-semundo-task-watcher-cleanup.patch
task-watchers-register-per-task-semundo-watcher.patch
ipc-replace-kmalloc-and-memset-in-get_undo_list-with-kzalloc.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