mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Pekka J Enberg <penberg@cs.helsinki.fi>
Cc: linux-kernel@vger.kernel.org, cl@linux-foundation.org, mingo@elte.hu
Subject: Re: [PATCH] init: introduce mm_init()
Date: Thu, 11 Jun 2009 08:56:51 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.2.01.0906110854450.3573@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.64.0906111846590.16970@melkki.cs.Helsinki.FI>



On Thu, 11 Jun 2009, Pekka J Enberg wrote:
>  
> +static void __init mm_init(void)
> +{
> +	/*
> +	 * Set up kernel memory allocators
> +	 */
> +	mem_init();
> +	kmem_cache_init();
> +	vmalloc_init();
> +}

Please just put the comments at the top of the function in cases like 
this, ie just

	/*
	 * ...
	 */
	static int __init mm_init(void)
	{
		..
	}

also, I'm now terminally confused about the whole series, so I'm wondering 
if you could re-do the series so that (a) I have a clear picture of what 
to take, and (b) preferably so it's also all bisectable (ie the trap_init 
ordering fixes are done in the initial mm/init.c changes).

		Linus

  reply	other threads:[~2009-06-11 15:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11 15:47 Pekka J Enberg
2009-06-11 15:56 ` Linus Torvalds [this message]
2009-06-11 16:01   ` Pekka Enberg
2009-06-11 15:57 ` Christoph Lameter
2009-06-11 16:31   ` Pekka Enberg
2009-06-11 16:35     ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.01.0906110854450.3573@localhost.localdomain \
    --to=torvalds@linux-foundation.org \
    --cc=cl@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=penberg@cs.helsinki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®