Skip to contentSkip to conversation

2.5 kernel_stat access in KLM

PATCH In review Ralph Roesler 2 participants 2 messages Jun 10, 2003 – Jun 24, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.5 kernel_stat access in KLM

Hi *,

I need to access system, nice and idle-time of the system from a KLM. But due to the
fact, that this structure is not exported any longer towards any KLM, those values are
unusable.

Was there a particular reason not to offer the kernel_stat-structure any longer to
KLM's? I've made a small patch and the KLM can access the information needed:
Is it possible to add this patch to the kernel? Thanks!

Kind regards,
-Ralph.

--- linux-2.5.70/kernel/ksyms.c 2003-05-27 03:00:20.000000000
+0200
+++ kstat-linux-2.5.70/kernel/ksyms.c 2003-06-10
14:04:10.000000000 +0200
@@ -491,6 +491,7 @@
#if !defined(__ia64__)
EXPORT_SYMBOL(loops_per_jiffy);
#endif
+EXPORT_SYMBOL(kstat__per_cpu);

/* misc */

#1 lore raw

sd card support

Is there a driver inside or outside of the kernel to allow mounting of sd cards under linux? I have been able to mount compact flash cards but now sd cards, and I understand from the Zaurus group that the sd group doesn't release there code.

Is there a project to add support to the kernel? I have a PNY FPT-D Multireader, and a generic internal reader ( I'm not sure about the name ).

Thanks,
John