[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090314111851.GA24536@elte.hu>
Date: Sat, 14 Mar 2009 12:18:51 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Yinghai Lu <yinghai@...nel.org>
Cc: Jaswinder Singh Rajput <jaswinder@...nel.org>, mingo@...hat.com,
hpa@...or.com, linux-kernel@...r.kernel.org, tglx@...utronix.de,
linux-tip-commits@...r.kernel.org
Subject: Re: [tip:x86/mtrr] x86: more MTRR debug printouts
* Yinghai Lu <yinghai@...nel.org> wrote:
> + preempt_disable();
> + cpu = smp_processor_id();
in such cases it's better to use a get_cpu() / put_cpu()
construct.
Ingo
--
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