From patchwork Thu Dec 11 20:36:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?T25kxZllaiBCw61sa2E=?= X-Patchwork-Id: 420246 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id A4917140081 for ; Fri, 12 Dec 2014 07:36:42 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=GdhmVG+7IYN7Mlj7OZHZQ2zOrzAXh p+bOpWE+0h+9J/ek0QE4dAndQap2rSN6C2GskWccVd7SoMqiPqpL420jPKcxHd0E ky/5LK5/6jDojN627Fqo+m7IBxa5pfGQMwjka8SMsSXCIorvQoWIquVHiXruPjYK 0jjNig9k3YZE2E= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=q5zR3b7r8OCkpopDeAy120qQbyY=; b=kv2 lsjn2qctZRSJpV6jUDpNZuskcB99xAwaA70a0wcXPRw/b2TWnihIKLCvdJ1qSI/1 I6CBPXYBv8Qsa8WJ3xwMpLairBCib9tXZp7rov6Rr9bpTSRUTbG8HU1Unl1u1yrv 5OdI26QhCerZoORbbHmES3ZjPtML1Ezlm2Kh8dnA= Received: (qmail 27563 invoked by alias); 11 Dec 2014 20:36:36 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 27549 invoked by uid 89); 11 Dec 2014 20:36:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, SPF_NEUTRAL autolearn=no version=3.3.2 X-HELO: popelka.ms.mff.cuni.cz Date: Thu, 11 Dec 2014 21:36:25 +0100 From: =?utf-8?B?T25kxZllaiBCw61sa2E=?= To: libc-alpha@sourceware.org Subject: [PATCH] always inline alloc_perturb. Message-ID: <20141211203625.GA7490@domone> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Hi, to fix build error we change inline to always_inline. OK to commit? * malloc/malloc.c (alloc_perturb, free_perturb): use __always inline. diff --git a/malloc/malloc.c b/malloc/malloc.c index cb91b97..da09f2f 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -1854,14 +1854,14 @@ static int check_action = DEFAULT_CHECK_ACTION; static int perturb_byte; -static inline void +static __always_inline void alloc_perturb (char *p, size_t n) { if (__glibc_unlikely (perturb_byte)) memset (p, perturb_byte ^ 0xff, n); } -static inline void +static __always_inline void free_perturb (char *p, size_t n) { if (__glibc_unlikely (perturb_byte))