From: John Levon <levon@movementarian.org>
To: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: [PATCH 1/5] OProfile update
Date: Mon, 26 May 2003 05:27:29 +0100 [thread overview]
Message-ID: <1053923249281@movementarian.org> (raw)
In-Reply-To:
The five patches here change the following files :
Documentation/kernel-parameters.txt | 3 ++
drivers/oprofile/buffer_sync.c | 49 ++++++++++++++++++++++++++----------
drivers/oprofile/cpu_buffer.c | 6 +---
drivers/oprofile/event_buffer.h | 1
drivers/oprofile/oprof.c | 25 +++++++++++++-----
fs/dcookies.c | 6 ++++
6 files changed, 67 insertions(+), 23 deletions(-)
please apply
john
My previous fix was incomplete, we could get the same thing happening
on the init-failure path. Fix that.
diff -Naur -X dontdiff linux-cvs/drivers/oprofile/buffer_sync.c linux-me/drivers/oprofile/buffer_sync.c
--- linux-cvs/drivers/oprofile/buffer_sync.c 2003-05-26 03:20:20.000000000 +0100
+++ linux-me/drivers/oprofile/buffer_sync.c 2003-05-26 04:25:15.000000000 +0100
@@ -127,6 +127,14 @@
};
+static void end_sync_timer(void)
+{
+ del_timer_sync(&sync_timer);
+ /* timer might have queued work, make sure it's completed. */
+ flush_scheduled_work();
+}
+
+
int sync_start(void)
{
int err;
@@ -158,7 +166,7 @@
out2:
profile_event_unregister(EXIT_TASK, &exit_task_nb);
out1:
- del_timer_sync(&sync_timer);
+ end_sync_timer();
goto out;
}
@@ -169,9 +177,7 @@
profile_event_unregister(EXIT_TASK, &exit_task_nb);
profile_event_unregister(EXIT_MMAP, &exit_mmap_nb);
profile_event_unregister(EXEC_UNMAP, &exec_unmap_nb);
- del_timer_sync(&sync_timer);
- /* timer might have queued work, make sure it's completed. */
- flush_scheduled_work();
+ end_sync_timer();
}
next reply other threads:[~2003-05-26 4:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-26 4:27 John Levon [this message]
2003-05-26 4:27 ` [PATCH 2/5] OProfile update John Levon
2003-05-26 4:27 ` [PATCH 3/5] " John Levon
2003-05-26 4:27 ` [PATCH 4/5] " John Levon
2003-05-26 4:27 ` [PATCH 5/5] " John Levon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1053923249281@movementarian.org \
--to=levon@movementarian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.