Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753064AbbGMUlV (ORCPT ); Mon, 13 Jul 2015 16:41:21 -0400 Received: from mail-la0-f49.google.com ([209.85.215.49]:34327 "EHLO mail-la0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752651AbbGMUlT (ORCPT ); Mon, 13 Jul 2015 16:41:19 -0400 MIME-Version: 1.0 In-Reply-To: <1436817481-8732-2-git-send-email-cmetcalf@ezchip.com> References: <1436817481-8732-1-git-send-email-cmetcalf@ezchip.com> <1436817481-8732-2-git-send-email-cmetcalf@ezchip.com> From: Andy Lutomirski Date: Mon, 13 Jul 2015 13:40:58 -0700 Message-ID: Subject: Re: [PATCH v4 1/5] nohz_full: add support for "cpu_isolated" mode To: Chris Metcalf Cc: Gilad Ben Yossef , Steven Rostedt , Ingo Molnar , Peter Zijlstra , Andrew Morton , Rik van Riel , Tejun Heo , Frederic Weisbecker , Thomas Gleixner , "Paul E. McKenney" , Christoph Lameter , Viresh Kumar , "linux-doc@vger.kernel.org" , Linux API , "linux-kernel@vger.kernel.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 Content-Length: 1114 Lines: 24 On Mon, Jul 13, 2015 at 12:57 PM, Chris Metcalf wrote: > The existing nohz_full mode makes tradeoffs to minimize userspace > interruptions while still attempting to avoid overheads in the > kernel entry/exit path, to provide 100% kernel semantics, etc. > > However, some applications require a stronger commitment from the > kernel to avoid interruptions, in particular userspace device > driver style applications, such as high-speed networking code. > > This change introduces a framework to allow applications to elect > to have the stronger semantics as needed, specifying > prctl(PR_SET_CPU_ISOLATED, PR_CPU_ISOLATED_ENABLE) to do so. > Subsequent commits will add additional flags and additional > semantics. I thought the general consensus was that this should be the default behavior and that any associated bugs should be fixed. --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/