Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760054AbZFOIpR (ORCPT ); Mon, 15 Jun 2009 04:45:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752366AbZFOIpG (ORCPT ); Mon, 15 Jun 2009 04:45:06 -0400 Received: from mail-qy0-f173.google.com ([209.85.221.173]:65031 "EHLO mail-qy0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752671AbZFOIpF (ORCPT ); Mon, 15 Jun 2009 04:45:05 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kN59rFDF+Ud4LcgrUh+NQ4UlOvFMBCKbIlR+TNhPD56ezdmh9PxQOb85VuweCso6H+ g9CXgRclT8uS/b7qUMgBdGzjZK5eUsy2hdoVzJvt2sHmk2A7b7Kt6LYRBmC8ENZeoUv9 gmElMHTEUnVUwr9QARaj74aNkXSAjDeeG8MV8= MIME-Version: 1.0 In-Reply-To: <412e6f7f0906150107h33b271eam7e610d166967ba70@mail.gmail.com> References: <412e6f7f0906131829y6e0abb00j85e221f92ab439d2@mail.gmail.com> <20090615071125.GF3544@cr0.nay.redhat.com> <412e6f7f0906150107h33b271eam7e610d166967ba70@mail.gmail.com> Date: Mon, 15 Jun 2009 16:45:05 +0800 Message-ID: <2375c9f90906150145u1b8e8a1dve794ecbcebb0c548@mail.gmail.com> Subject: Re: memconsole: a virtual console to record the Oops message for debugging purpose. From: =?UTF-8?Q?Am=C3=A9rico_Wang?= To: Changli Gao Cc: Linus Torvalds , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 808 Lines: 27 2009/6/15 Changli Gao : > On Mon, Jun 15, 2009 at 3:11 PM, Amerigo Wang 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 "); MODULE_LICENSE("GPL"); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/