Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp812160ybt; Fri, 10 Jul 2020 13:04:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQkqS/zA+jo3qWfNGQOB5igAEgSrXlalI6ehcpI9fWZVBoQZ8/K+Ixiwmx8GgqUYc0hp3r X-Received: by 2002:a50:d80f:: with SMTP id o15mr80535047edj.156.1594411448650; Fri, 10 Jul 2020 13:04:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594411448; cv=none; d=google.com; s=arc-20160816; b=BCApy9CceJ9OLfqoHvizBhDZ62q+w6c8bcPDufpoXW9f/OC613pMaZO+QIgLeOsu0M e8ynKQW8XrKDWYL7Qo3qJ+k3NBgkGFcGfOrHr4p+BlmJL8wioM4xs0Kqcfjzlbt7QH4g 70juQhWKoE8ukfQ/+Gywnnxmggd0RZOYTAUDdPqXN6xn3KETSLUmzuNpULqA7dNtSXd9 2D660SS6h8cvnV5AhIjYCe2WcBiPshvDmSC6jKbpo2xSi8gPnX+RRK1qzboSX21xsfKx FhGE99i7GLPypf8OIOA4O/Yq0NIzQOR191JpTjwq39P4TChBbHr/Zm8Kog0aKh2oT4gI b6ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=Jqzgq/n7wZOMhEb7Tg22T6QZFTnibrfQPhy0seMwny8=; b=NjSFVPtvPga0TwXxjfpV0kc2oJDyPUgvFz3vsEpdyL6dvsjwv3LTdhHPaSp/0+yGqU 0Vr+aUukdkKvHimJbFB6V1XGYDxKOhbksNgl55oaGlSGdrHqpYOiTqnu8VC8nPCCcKjp DKc1DuoJC+EdhcGHUNJSaU380zpphN7JeKQZvstq8KJnD0dppir+diUXuZus+yG5L9G8 vzkr9ktguL9ghsde8LUFoXvsTO9bm58cjmTdmiHvFwSxYO60wFZgfqVRg1JAYH4/FGdi 2NMAb38UOOIl9a3kvq9AadGzMJcJtc2Q1XbhMNWZgRURaH4GUUGkWZtDSpZ9RykWsCdG 76aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="mAATVEU/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x70si5259788ede.405.2020.07.10.13.03.44; Fri, 10 Jul 2020 13:04:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="mAATVEU/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728387AbgGJUDR (ORCPT + 99 others); Fri, 10 Jul 2020 16:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726867AbgGJUDQ (ORCPT ); Fri, 10 Jul 2020 16:03:16 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8120FC08C5DC for ; Fri, 10 Jul 2020 13:03:16 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id lx13so7357110ejb.4 for ; Fri, 10 Jul 2020 13:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=Jqzgq/n7wZOMhEb7Tg22T6QZFTnibrfQPhy0seMwny8=; b=mAATVEU/9s9QTVzCtRmel63BGpFvAbckGZX8DQs98U4Ed/wGKOM2IHiyTcfpDy6bV0 kqjGwe1Qbc7vtfM8U+iAw9fgfzRTuOgFlcorbwVvc3AHIK+Dp4ct99soP3eEFinfbYYD No07MUNe+SqZVN5EdesnxKx009fHbQ1Uqk8LKQm3Z+Za5/CKnpHDNdSe+3JM86kGZuTo jF36VoG93bouykU8phSakCazF+jtFAyelOBrj8HH0Y0bPu5fBKQ+g9YdiHpc/FOCl+xL Mj6EThe3tze7s7r22nPzRifnYp57dAwQTgEIp016nR8LWBvD6KjzMGe7tr2ppvddc5ZX 0UrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=Jqzgq/n7wZOMhEb7Tg22T6QZFTnibrfQPhy0seMwny8=; b=e7UBnEiqXfXjzT1tGE7Wq3j56ePG+0tjJFmuMAPSWdAFQs/qSBWrWohju+bx8hzzuS 1yGB61g25KZ9lWYdDB4eOVoJJy1MJPzn7yK/RnHydO/vj69U5FXZDdJbArSFpcKarcmC U7YDdO6Z6vyyYh0IKbqQ+DdwJVpYtSgiyGhNmPSsv3qZs4Ed72XFOnnzmNLoRAgCfwtz rSw3wJtcTG2QLSlCU2Sauh3mmbpIBAkYc40iORAnc2jGdGYt9G1j1slTfHLlegsYA/37 qFUP+YYAj+/D8tzbLZryI9TYL+Ojqlcur6nNNT2EKseGzg8GODDI04epN4GBE3x0w7bZ kPJg== X-Gm-Message-State: AOAM533X42RvbDu0a9uh9FWyoxcogttERZ7X2slNoYd2RRTWoGeQbo2O w84bDZRzKCcyZF3vlXaWvCiiNH8= X-Received: by 2002:a17:906:1414:: with SMTP id p20mr61470353ejc.247.1594411395239; Fri, 10 Jul 2020 13:03:15 -0700 (PDT) Received: from localhost.localdomain ([46.53.249.22]) by smtp.gmail.com with ESMTPSA id ce19sm4236133ejb.24.2020.07.10.13.03.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jul 2020 13:03:14 -0700 (PDT) Date: Fri, 10 Jul 2020 23:03:12 +0300 From: Alexey Dobriyan To: akpm@linux-foundation.org Cc: linux-kernel@vger.kernel.org Subject: [PATCH] ipc: uninline functions Message-ID: <20200710200312.GA960353@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Two functions are only called via function pointers, don't bother inlining them. Signed-off-by: Alexey Dobriyan --- ipc/sem.c | 3 +-- ipc/shm.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) --- a/ipc/sem.c +++ b/ipc/sem.c @@ -585,8 +585,7 @@ static int newary(struct ipc_namespace *ns, struct ipc_params *params) /* * Called with sem_ids.rwsem and ipcp locked. */ -static inline int sem_more_checks(struct kern_ipc_perm *ipcp, - struct ipc_params *params) +static int sem_more_checks(struct kern_ipc_perm *ipcp, struct ipc_params *params) { struct sem_array *sma; --- a/ipc/shm.c +++ b/ipc/shm.c @@ -711,8 +711,7 @@ static int newseg(struct ipc_namespace *ns, struct ipc_params *params) /* * Called with shm_ids.rwsem and ipcp locked. */ -static inline int shm_more_checks(struct kern_ipc_perm *ipcp, - struct ipc_params *params) +static int shm_more_checks(struct kern_ipc_perm *ipcp, struct ipc_params *params) { struct shmid_kernel *shp;