[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201010051039.28412.rusty@rustcorp.com.au>
Date: Tue, 5 Oct 2010 10:39:27 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Hu Tao <hutao@...fujitsu.com>
Cc: lkml <linux-kernel@...r.kernel.org>, Tejun Heo <tj@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Am��rico Wang
<xiyou.wangcong@...il.com>
Subject: Re: [PATCH resend] Update num_symtab, symtab and strtab right after setup of core_num_syms, core_symtab and core_strtab.
On Tue, 28 Sep 2010 10:36:28 am Hu Tao wrote:
> symtab/strtab refer to memory that will be vfreed when load_module() is
> done. So update them early.
I don't think so. See layout_symtab which moves these into the init
section of the module.
Your change would make us unable to see init section symbols; if you
crash during module init, you really want to see these symbols.
Hope that helps,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists