From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933272AbdEZT3q (ORCPT ); Fri, 26 May 2017 15:29:46 -0400 Received: from mail-oi0-f46.google.com ([209.85.218.46]:35456 "EHLO mail-oi0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754466AbdEZT3p (ORCPT ); Fri, 26 May 2017 15:29:45 -0400 MIME-Version: 1.0 In-Reply-To: <20170328213254.GA12803@bombadil.infradead.org> References: <20170328213254.GA12803@bombadil.infradead.org> From: Dmitry Vyukov Date: Fri, 26 May 2017 21:29:23 +0200 Message-ID: Subject: Re: [PATCH 3/8] x86: use long long for 64-bit atomic ops To: Matthew Wilcox Cc: Mark Rutland , Peter Zijlstra , Ingo Molnar , Andrew Morton , Will Deacon , Andrey Ryabinin , kasan-dev , LKML , "x86@kernel.org" , "linux-mm@kvack.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 28, 2017 at 11:32 PM, Matthew Wilcox wrote: > On Tue, Mar 28, 2017 at 06:15:40PM +0200, Dmitry Vyukov wrote: >> @@ -193,12 +193,12 @@ static inline long atomic64_xchg(atomic64_t *v, long new) >> * @a: the amount to add to v... >> * @u: ...unless v is equal to u. >> * >> - * Atomically adds @a to @v, so long as it was not @u. >> + * Atomically adds @a to @v, so long long as it was not @u. >> * Returns the old value of @v. >> */ > > That's a clbuttic mistake! > > https://www.google.com/search?q=clbuttic Fixed in v2: https://groups.google.com/forum/#!topic/kasan-dev/3PoGcuMku-w Thanks From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f70.google.com (mail-oi0-f70.google.com [209.85.218.70]) by kanga.kvack.org (Postfix) with ESMTP id 8BC076B02C3 for ; Fri, 26 May 2017 15:29:45 -0400 (EDT) Received: by mail-oi0-f70.google.com with SMTP id c71so16970442oig.1 for ; Fri, 26 May 2017 12:29:45 -0700 (PDT) Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id c53sor344803ote.197.2017.05.26.12.29.44 for (Google Transport Security); Fri, 26 May 2017 12:29:44 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170328213254.GA12803@bombadil.infradead.org> References: <20170328213254.GA12803@bombadil.infradead.org> From: Dmitry Vyukov Date: Fri, 26 May 2017 21:29:23 +0200 Message-ID: Subject: Re: [PATCH 3/8] x86: use long long for 64-bit atomic ops Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Matthew Wilcox Cc: Mark Rutland , Peter Zijlstra , Ingo Molnar , Andrew Morton , Will Deacon , Andrey Ryabinin , kasan-dev , LKML , "x86@kernel.org" , "linux-mm@kvack.org" On Tue, Mar 28, 2017 at 11:32 PM, Matthew Wilcox wrote: > On Tue, Mar 28, 2017 at 06:15:40PM +0200, Dmitry Vyukov wrote: >> @@ -193,12 +193,12 @@ static inline long atomic64_xchg(atomic64_t *v, long new) >> * @a: the amount to add to v... >> * @u: ...unless v is equal to u. >> * >> - * Atomically adds @a to @v, so long as it was not @u. >> + * Atomically adds @a to @v, so long long as it was not @u. >> * Returns the old value of @v. >> */ > > That's a clbuttic mistake! > > https://www.google.com/search?q=clbuttic Fixed in v2: https://groups.google.com/forum/#!topic/kasan-dev/3PoGcuMku-w Thanks -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org