Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756701AbcDGPrE (ORCPT ); Thu, 7 Apr 2016 11:47:04 -0400 Received: from mx2.suse.de ([195.135.220.15]:38093 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755501AbcDGPrC (ORCPT ); Thu, 7 Apr 2016 11:47:02 -0400 Date: Thu, 7 Apr 2016 17:47:00 +0200 (CEST) From: Jiri Kosina X-X-Sender: jkosina@pobox.suse.cz To: Josh Poimboeuf cc: Petr Mladek , Jessica Yu , Miroslav Benes , linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, Vojtech Pavlik Subject: Re: [RFC PATCH v1.9 00/14] livepatch: hybrid consistency model In-Reply-To: <20160407150814.tgihh5v6ydhvo7h6@treble.redhat.com> Message-ID: References: <20160407121030.GC27670@pathway.suse.cz> <20160407150814.tgihh5v6ydhvo7h6@treble.redhat.com> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 562 Lines: 17 On Thu, 7 Apr 2016, Josh Poimboeuf wrote: > > > - try ftrace handler switching idea from v1 cover letter [ ... ] > > We probably should not check the stack in atomic context > > Can you elaborate why not? I admittedly forgot what the "ftrace handler switching idea" is, and am not sure where exactly to look for it (could you please point it to me so that I can refresh my memory), but generally we can't assume that a memory holding stack of a sleeping task hasn't been reclaimed and wouldn't need to have been paged in again. -- Jiri Kosina SUSE Labs