mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Jiri Slaby <jirislaby@gmail.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: GIT head no longer boots on x86-64
Date: Wed, 15 Oct 2008 08:06:13 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.2.00.0810150758310.3288@nehalem.linux-foundation.org> (raw)
In-Reply-To: <20081015115153.GA16413@elte.hu>



On Wed, 15 Oct 2008, Ingo Molnar wrote:
> 
> Queued the fix below up in tip/x86/urgent for a merge to Linus later 
> today. Thanks!

Please don't send this crap to me.

Guys, _look_ at the patch for one second. And then tell me it isn't crap. 

The question is: "Is this a vmalloc'ed area?". That's the name of the 
function. AND YOU JUST BROKE IT!

Fix the damn caller instead. Don't make x86-64-specific changes to a 
generic function that breaks the whole meaning of the function. I don't 
understand what the hell is wrong with you people - we don't fix bugs by 
introducing idiocies, we fix them by fixing the code.

EVEN YOUR COMMIT MESSAGE should have made this obvious.

The code in question already does

	VIRTUAL_BUG_ON(!is_vmalloc_addr(vmalloc_addr) &&
                       !is_module_address(addr));

and look at that thing and ask yourself: where was the bug again.

And dammit, if you say it was in "is_vmalloc_addr()", I can only shake my 
head.

Please guys. Use some taste. 

		Linus

  parent reply	other threads:[~2008-10-15 15:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-13  9:23 Alan Cox
2008-10-13 10:13 ` Jiri Slaby
2008-10-13 10:20   ` Alan Cox
2008-10-13 10:56     ` Jiri Slaby
2008-10-13 13:35       ` Alan Cox
2008-10-13 15:03         ` Linus Torvalds
2008-10-13 15:11           ` Jiri Slaby
2008-10-13 15:47             ` Alan Cox
2008-10-15 11:51               ` Ingo Molnar
2008-10-15 13:19                 ` Jiri Slaby
2008-10-15 15:06                 ` Linus Torvalds [this message]
2008-10-15 15:33                   ` Jiri Slaby
2008-10-15 16:01                     ` Linus Torvalds
2008-10-15 20:31                     ` Arjan van de Ven
2008-10-15 15:35                   ` Linus Torvalds
2008-10-16 10:31                     ` H. Peter Anvin
2008-10-13 14:45       ` Linus Torvalds
2008-10-13 14:50         ` Jiri Slaby

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.00.0810150758310.3288@nehalem.linux-foundation.org \
    --to=torvalds@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=jirislaby@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mingo@elte.hu \
    /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®