From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11105C33CB1 for ; Fri, 17 Jan 2020 09:01:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DC67B2192A for ; Fri, 17 Jan 2020 09:01:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729152AbgAQJBp (ORCPT ); Fri, 17 Jan 2020 04:01:45 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:55033 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726917AbgAQJBp (ORCPT ); Fri, 17 Jan 2020 04:01:45 -0500 Received: from localhost ([127.0.0.1] helo=flow.W.breakpoint.cc) by Galois.linutronix.de with esmtp (Exim 4.80) (envelope-from ) id 1isNVf-0003eT-Nj; Fri, 17 Jan 2020 10:01:43 +0100 From: Sebastian Andrzej Siewior To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , Thomas Gleixner , Peter Zijlstra Subject: [PATCH 0/3] smp: Avoid memory allocation in on_each_cpu_cond() Date: Fri, 17 Jan 2020 10:01:34 +0100 Message-Id: <20200117090137.1205765-1-bigeasy@linutronix.de> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org x86 is using on_each_cpu_cond_mask() in native_flush_tlb_others() in a preempt disabled section. The memory allocation in on_each_cpu_cond_mask() gives me a headache on RT. This is an attempt to get rid of the memory allocation and potentially accelerating the code path :) Sebastian