Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754501Ab3GJKvZ (ORCPT ); Wed, 10 Jul 2013 06:51:25 -0400 Received: from cantor2.suse.de ([195.135.220.15]:52183 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754478Ab3GJKvY convert rfc822-to-8bit (ORCPT ); Wed, 10 Jul 2013 06:51:24 -0400 Subject: Re: [PATCH 3/4] PF: Provide additional direct page notification Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=US-ASCII From: Alexander Graf In-Reply-To: <51DD3C2E.50409@de.ibm.com> Date: Wed, 10 Jul 2013 12:51:18 +0200 Cc: Dominik Dingel , Gleb Natapov , Paolo Bonzini , Heiko Carstens , Martin Schwidefsky , Cornelia Huck , Xiantao Zhang , Christoffer Dall , Marc Zyngier , Ralf Baechle , kvm@vger.kernel.org, linux-s390@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7BIT Message-Id: References: <1373378207-10451-1-git-send-email-dingel@linux.vnet.ibm.com> <1373378207-10451-4-git-send-email-dingel@linux.vnet.ibm.com> <51DC33E7.1030404@de.ibm.com> <282EB214-206B-4A04-9830-D97679C9F4EC@suse.de> <51DD3C2E.50409@de.ibm.com> To: Christian Borntraeger X-Mailer: Apple Mail (2.1278) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1679 Lines: 39 On 10.07.2013, at 12:49, Christian Borntraeger wrote: > On 10/07/13 12:39, Alexander Graf wrote: >> >> On 09.07.2013, at 18:01, Christian Borntraeger wrote: >> >>> On 09/07/13 15:56, Dominik Dingel wrote: >>>> By setting a Kconfig option, the architecture can control when >>>> guest notifications will be presented by the apf backend. >>>> So there is the default batch mechanism, working as before, where the vcpu thread >>>> should pull in this information. On the other hand there is now the direct >>>> mechanism, this will directly push the information to the guest. >>>> >>>> Still the vcpu thread should call check_completion to cleanup leftovers, >>>> that leaves most of the common code untouched. >>>> >>>> Signed-off-by: Dominik Dingel >>> >>> Acked-by: Christian Borntraeger >>> for the "why". We want to use the existing architectured interface. >> >> Shouldn't this be a runtime option? > > This is an a) or b) depending on the architecture. So making this a kconfig > option is the most sane approach no? I guess I'm just missing the patch that actually selects it. Last thing I remember you can have a kernel configured for s390x that runs on any 64bit capable system out there. What would you select? If that kernel runs on newer hardware, it would be able to do async pf, no? There's a good chance I simply miss a critical component here :). Alex -- 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/