All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] What does (P) in /proc/modules mean?
@ 2007-03-04  4:05 Badai Aqrandista
  2007-03-04  5:31 ` Randy Dunlap
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Badai Aqrandista @ 2007-03-04  4:05 UTC (permalink / raw)
  To: kernel-janitors

Hi,

I have a plain kernel module like this:

#include <linux/module.h>
#include <linux/init.h>

MODULE_AUTHOR("Badai Aqrandista");
MODULE_LICENSE("Dual BSD/GPL");

static int cheepy_init(void)
{
        printk(KERN_ALERT "cheepy: Module loaded\n");
        return 0;
}

static void cheepy_cleanup(void)
{
        printk(KERN_ALERT "cheepy: Module unloaded\n");
}

module_init(cheepy_init);
module_exit(cheepy_cleanup);

When I load and unload it with insmod or rmmod, it does not print
anything on the console or log. On /proc/modules, there is (P) next to
its entry, like this:

cheepy 2560 0 - Live 0xd0a37000 (P)

What does (P) mean there?

-- 
Thanks,
Badai Aqrandista (cheepy)
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-03-05  3:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-04  4:05 [KJ] What does (P) in /proc/modules mean? Badai Aqrandista
2007-03-04  5:31 ` Randy Dunlap
2007-03-04  5:37 ` Randy Dunlap
2007-03-04 12:19 ` Badai Aqrandista
2007-03-04 18:23 ` Randy Dunlap
2007-03-04 21:30 ` Sam Ravnborg
2007-03-05  3:49 ` Greg KH

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.