From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756166Ab0ANLJE (ORCPT ); Thu, 14 Jan 2010 06:09:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756216Ab0ANLJB (ORCPT ); Thu, 14 Jan 2010 06:09:01 -0500 Received: from casper.infradead.org ([85.118.1.10]:57631 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756213Ab0ANLJA (ORCPT ); Thu, 14 Jan 2010 06:09:00 -0500 Subject: Re: [RFC] [PATCH 3/7] Execution out of line (XOL) From: Peter Zijlstra To: Srikar Dronamraju Cc: Ingo Molnar , Arnaldo Carvalho de Melo , Ananth N Mavinakayanahalli , utrace-devel , Jim Keniston , Frederic Weisbecker , Masami Hiramatsu , Maneesh Soni , Mark Wielaard , LKML In-Reply-To: <20100111122545.22050.64994.sendpatchset@srikar.in.ibm.com> References: <20100111122521.22050.3654.sendpatchset@srikar.in.ibm.com> <20100111122545.22050.64994.sendpatchset@srikar.in.ibm.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 14 Jan 2010 12:08:38 +0100 Message-ID: <1263467318.4244.289.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2010-01-11 at 17:55 +0530, Srikar Dronamraju wrote: > Execution out of line (XOL) > > Slot allocation mechanism for Execution Out of Line strategy in User > space breakpointing Inftrastructure. (XOL) > > This patch provides slot allocation mechanism for execution out of > line strategy for use with user space breakpoint infrastructure. > This patch requires utrace support in kernel. > > This patch provides five functions xol_get_insn_slot(), > xol_free_insn_slot(), xol_put_area(), xol_get_area() and > xol_validate_vaddr(). > > Current slot allocation mechanism: > 1. Allocate one dedicated slot per user breakpoint. > 2. If the allocated vma is completely used, expand current vma. > 3. If we cant expand the vma, allocate a new vma. Say what? I see the text, but non of it makes any sense at all.