[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFEAcA9JNVsT57Zgy96+cfdWBABE4_g4yJG7Te8Oa8ReXZqeRQ@mail.gmail.com>
Date: Wed, 29 Oct 2014 17:56:59 +0000
From: Peter Maydell <peter.maydell@...aro.org>
To: Andrea Arcangeli <aarcange@...hat.com>
Cc: zhanghailiang <zhang.zhanghailiang@...wei.com>,
Robert Love <rlove@...gle.com>, Dave Hansen <dave@...1.net>,
Jan Kara <jack@...e.cz>, kvm-devel <kvm@...r.kernel.org>,
Neil Brown <neilb@...e.de>,
Stefan Hajnoczi <stefanha@...il.com>,
QEMU Developers <qemu-devel@...gnu.org>,
KOSAKI Motohiro <kosaki.motohiro@...il.com>,
Michel Lespinasse <walken@...gle.com>,
Taras Glek <tglek@...illa.com>,
Andrew Jones <drjones@...hat.com>,
Juan Quintela <quintela@...hat.com>,
Hugh Dickins <hughd@...gle.com>,
Isaku Yamahata <yamahata@...inux.co.jp>,
Mel Gorman <mgorman@...e.de>,
Sasha Levin <sasha.levin@...cle.com>,
Android Kernel Team <kernel-team@...roid.com>,
"Dr. David Alan Gilbert" <dgilbert@...hat.com>,
"Huangpeng (Peter)" <peter.huangpeng@...wei.com>,
Andres Lagar-Cavilla <andreslc@...gle.com>,
Christopher Covington <cov@...eaurora.org>,
Anthony Liguori <anthony@...emonkey.ws>,
Paolo Bonzini <pbonzini@...hat.com>,
Keith Packard <keithp@...thp.com>,
Wenchao Xia <wenchaoqemu@...il.com>,
lkml - Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andy Lutomirski <luto@...capital.net>,
Minchan Kim <minchan@...nel.org>,
Dmitry Adamushko <dmitry.adamushko@...il.com>,
Johannes Weiner <hannes@...xchg.org>,
Mike Hommey <mh@...ndium.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Peter Feiner <pfeiner@...gle.com>
Subject: Re: [Qemu-devel] [PATCH 00/17] RFC: userfault v2
On 29 October 2014 17:46, Andrea Arcangeli <aarcange@...hat.com> wrote:
> After some chat during the KVMForum I've been already thinking it
> could be beneficial for some usage to give userland the information
> about the fault being read or write
...I wonder if that would let us replace the current nasty
mess we use in linux-user to detect read vs write faults
(which uses a bunch of architecture-specific hacks including
in some cases "look at the insn that triggered this SEGV and
decode it to see if it was a load or a store"; see the
various cpu_signal_handler() implementations in user-exec.c).
-- PMM
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists