Re: memconsole: a virtual console to record the Oops message for debugging purpose.
From: AmÃrico Wang
Date: Mon Jun 15 2009 - 04:45:21 EST
2009/6/15 Changli Gao <xiaosuo@xxxxxxxxx>:
> On Mon, Jun 15, 2009 at 3:11 PM, Amerigo Wang<xiyou.wangcong@xxxxxxxxx> wrote:
>> On Sun, Jun 14, 2009 at 09:29:48AM +0800, Changli Gao wrote:
>>>
>>>the following code is appended to the file mm/bootmem.c
>>
>>
>> Why not a patch?
>>
>> Your code is a kernel module, why do you append it into
>> a non-module source file?
>>
> bootmem can't be allocated in modules. :(
Ok, then explain your code below:
module_init(init);
...
module_exit(fini);
MODULE_AUTHOR("xiaosuo <xiaosuo@xxxxxxxxx>");
MODULE_LICENSE("GPL");
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/