* oprofile broken by sysfs updates
@ 2003-06-11 21:12 Pavel Machek
2003-06-11 21:23 ` Patrick Mochel
2003-06-11 21:26 ` John Levon
0 siblings, 2 replies; 3+ messages in thread
From: Pavel Machek @ 2003-06-11 21:12 UTC (permalink / raw)
To: Patrick Mochel, kernel list
Hi!
I only tried reading the diffs, but:
arch/i386/oprofile/nmi_int.c must be suspended before
arch/i386/kernel/apic.c is.
How is that guaranteed with new code?
-static struct device device_nmi = {
- .name = "oprofile",
- .bus_id = "oprofile",
- .driver = &nmi_driver,
- .parent = &device_lapic.dev,
+static struct sys_device device_oprofile = {
+ .id = 0,
+ .cls = &oprofile_sysclass,
};
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: oprofile broken by sysfs updates
2003-06-11 21:12 oprofile broken by sysfs updates Pavel Machek
@ 2003-06-11 21:23 ` Patrick Mochel
2003-06-11 21:26 ` John Levon
1 sibling, 0 replies; 3+ messages in thread
From: Patrick Mochel @ 2003-06-11 21:23 UTC (permalink / raw)
To: Pavel Machek; +Cc: kernel list
> I only tried reading the diffs, but:
Then maybe you should
a) Read the entire initial thread (which you participated in), esp this
message:
http://marc.theaimsgroup.com/?l=linux-kernel&m=105518049424749&w=2
b) Read the comments in the code (from drivers/base/sys.c):
/**
* sysdev_shutdown - Shut down all system devices.
*
* Loop over each class of system devices, and the devices in each
* of those classes. For each device, we call the shutdown method for
* each driver registered for the device - the globals, the auxillaries,
* and the class driver.
*
* Note: The list is iterated in reverse order, so that we shut down
* child devices before we shut down thier parents. The list ordering
* is guaranteed by virtue of the fact that child devices are registered
* after their parents.
*/
c) Try using the code and stop being a troll.
Thanks,
-pat
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: oprofile broken by sysfs updates
2003-06-11 21:12 oprofile broken by sysfs updates Pavel Machek
2003-06-11 21:23 ` Patrick Mochel
@ 2003-06-11 21:26 ` John Levon
1 sibling, 0 replies; 3+ messages in thread
From: John Levon @ 2003-06-11 21:26 UTC (permalink / raw)
To: Pavel Machek; +Cc: Patrick Mochel, kernel list
On Wed, Jun 11, 2003 at 11:12:20PM +0200, Pavel Machek wrote:
> arch/i386/oprofile/nmi_int.c must be suspended before
> arch/i386/kernel/apic.c is.
>
> How is that guaranteed with new code?
http://marc.theaimsgroup.com/?l=linux-kernel&m=105517556119093&w=2
regards
john
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-06-11 21:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-11 21:12 oprofile broken by sysfs updates Pavel Machek
2003-06-11 21:23 ` Patrick Mochel
2003-06-11 21:26 ` John Levon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®