From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932827Ab3LDQDE (ORCPT ); Wed, 4 Dec 2013 11:03:04 -0500 Received: from terminus.zytor.com ([198.137.202.10]:58682 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932602Ab3LDQDC (ORCPT ); Wed, 4 Dec 2013 11:03:02 -0500 Message-ID: <529F51D9.7010001@zytor.com> Date: Wed, 04 Dec 2013 08:01:29 -0800 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Oleg Nesterov , Linus Torvalds CC: Hugh Dickins , Peter Zijlstra , Jiri Kosina , Andi Kleen , Linux Kernel Mailing List , the arch/x86 maintainers , Andi Kleen , Ingo Molnar , Borislav Petkov Subject: Re: [PATCH?] uprobes: change uprobe_write_opcode() to modify the page directly References: <20131203184909.GA17571@redhat.com> <529E2F0C.8070405@zytor.com> <20131203200147.GB19083@redhat.com> <529E3D4C.9070403@zytor.com> <20131203203826.GA24812@redhat.com> <20131203205400.GA25735@redhat.com> <20131204111125.GA26552@redhat.com> In-Reply-To: <20131204111125.GA26552@redhat.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/04/2013 03:11 AM, Oleg Nesterov wrote: > > It is still not clear to me if we can simply change a single byte on > x86 or not, but at least on powerpc we need to update 4 bytes. Perhaps > we can conditionalize these pte games later. > But 4 aligned bytes can be written as a single transaction. -hpa