From: Andi Kleen Subject: Re: reiser4 merging action list Date: Tue, 28 Jun 2005 11:11:17 +0200 Message-ID: <20050628091117.GJ8035@wotan.suse.de> References: <42BB7B32.4010100@slaphack.com.suse.lists.linux.kernel> <200506240334.j5O3YowB008100@laptop11.inf.utfsm.cl.suse.lists.linux.kernel> <20050627092138.GD11013@nysv.org.suse.lists.linux.kernel> <20050627124255.GB6280@thunk.org.suse.lists.linux.kernel> <42C0578F.7030608@namesys.com.suse.lists.linux.kernel> <20050627212628.GB27805@thunk.org.suse.lists.linux.kernel> <42C084F1.70607@namesys.com.suse.lists.linux.kernel> <1119947829.3495.25.camel@tribesman.namesys.com> Mime-Version: 1.0 Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com Content-Disposition: inline In-Reply-To: <1119947829.3495.25.camel@tribesman.namesys.com> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Vladimir Saveliev Cc: Andi Kleen , Hans Reiser , "linux-kernel@vger.kernel.org" , reiserfs-list@namesys.com, Andrew Morton , Christoph Hellwig On Tue, Jun 28, 2005 at 12:37:11PM +0400, Vladimir Saveliev wrote: > have neither prof.[ch], nor spinprof.[ch] and we removed already some > debugging code from spin_macros.h. Yes, i was looking at some older tree with reiser4. Sorry, just ignore what is already done. But still spin_macros.h should be completely removed imho. Such custom lock wrappers are strongly discouraged because it makes it hard for others to read your code. > > statcnt.h: This is completely useless because you don't align > > the individual fields for cache lines - so you will still > > have false sharing everywhere. Also using NR_CPUS is nasty > > because it can be very big - num_possible_cpus() is better. > > It should use the new dynamic per cpu allocator. > > > statcnt.h is already removed. Great. -Andi