Re: String literals in __init functions

2015-03-26 Thread Andrew Morton
On Thu, 26 Mar 2015 14:58:40 -0700 Joe Perches wrote: > > I'd have thought that a function-wide > > __attribute__((__string_section__(foo)) > > wouldn't be a ton of work to implement. > > Maybe not. > > Could some future version of gcc move string constants > in a function to a specific sec

Re: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0

2009-11-03 Thread Andrew Morton
On Mon, 2 Nov 2009 13:29:29 -0800 Justin Mattock wrote: > Hello, > I'm not sure how to handle this, > while compiling firefox-3.6b1.source > I get this with the default compiling options, > as well as custom: > > ... > > active_anon:2360492kB inactive_anon:590196kB active_file:84kB 2.8GB of an

Re: cc1plus invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0

2009-11-04 Thread Andrew Morton
On Wed, 4 Nov 2009 18:32:16 +0900 (JST) KOSAKI Motohiro wrote: > > It would help if the oom-killer were to print some information about > > the oom-killed process's memory footprint. > > > > > How about this? looks good, thanks. > > Subject: [PATCH] oom: show vsz and rss informati

Re: [PATCH] panic: suppress gnu_printf warning

2024-01-07 Thread Andrew Morton
On Sun, 7 Jan 2024 17:16:41 +0800 Baoquan He wrote: > with GCC 13.2.1 and W=1, there's compiling warning like this: > > kernel/panic.c: In function ‘__warn’: > kernel/panic.c:676:17: warning: function ‘__warn’ might be a candidate for > ‘gnu_printf’ format attribute [-Wsuggest-attribute=format