From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753303Ab1LUPUf (ORCPT ); Wed, 21 Dec 2011 10:20:35 -0500 Received: from smtp102.prem.mail.ac4.yahoo.com ([76.13.13.41]:43012 "HELO smtp102.prem.mail.ac4.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753226Ab1LUPUd (ORCPT ); Wed, 21 Dec 2011 10:20:33 -0500 X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: y8x2ft8VM1lsyXFJDF4fDk2YPKmsCTc.9dg6aRXEQ1K2sq0 PO7vAwrvO1HcMD_gK9_lmPWFC1yP.U7TLJRzIBTnRAQABMSwlEC6Fb8iBLQL LzOALXvOuVOw_5oke9iQnGoNuYkGRwM8iLvjsn6HL1u_6MhUGsWahfLawmZt hL882PlFT3iPpeoiH1n8fCpDP_KrlDcmnqahfX1MsrSTRuJjZ5YUYO8OkcwP iNgqhaIiJoYFq0PNXZ7fzEQsS8crjE1Nnhq3RRwVnJOREm7vebrPXrGPBUkp jJ05zLSYxpNIMFbP3suXZpiymdSpybXblTdCkE4FxG1kVQgFQHF3W0gMOXgR m1gi9w.FpIdXIi0KFpqJw02CRffiR3hy.O44oLxDk9OUNow-- X-Yahoo-SMTP: _Dag8S.swBC1p4FJKLCXbs8NQzyse1SYSgnAbY0- Date: Wed, 21 Dec 2011 09:20:29 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@router.home To: Pekka Enberg cc: Linus Torvalds , Ingo Molnar , Andrew Morton , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Tejun Heo , Thomas Gleixner Subject: Re: [GIT PULL] slab fixes for 3.2-rc4 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Dec 2011, Pekka Enberg wrote: > I still don't understand why we'd want separate preempt safe and > irqsafe variants. It should be enough to have only unsafe and safe > variants where the latter would always do the right thing. The effort to make something irqsafe is higher than making it preempt safe. If that difference is not important then we could just have safe and unsafe variants. Traditionally counter operations were only preempt safe though. So making those irqsafe would increse the overhead.