[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 6/7] xen/guest_access: Consolidate guest access helpers in xen/guest_access.h
- To: Ian Jackson <ian.jackson@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>
- From: Julien Grall <jgrall@xxxxxxxxxx>
- Date: Fri, 29 May 2020 12:45:29 +0100
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>
- Delivery-date: Fri, 29 May 2020 11:45:53 +0000
- Ironport-sdr: JO5/Nhh+pXWLYX2voKxgysP1m9Z6Vrk3Fd8Qabv3wa99V+nPeLMkikaoMAm21TMHmH6G7BFRHA 5ZFLaEg7r7IQ==
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi Ian,
On 19/05/2020 16:05, Ian Jackson wrote:
Hi. My attention was drawn to this thread.
As I understand it, everyone is agreed that deduplicating the
implementation is good (I also agree). The debate is only between:
Thank you for stepping in!
1. Put it in xen/ until an arch comes along that needs something
different, at which point maybe introduce an asm-generic-style
thing with default implementations.
2. Say, now, that this is a default implementation and it should go in
asm-generic.
My starting point is that Julien, as the primary author of this
cleanup, should be given leeway on a matter of taste like this.
(There are as I understand it no wider implications.)
Also, ISTM that it can be argued that introducing a new abstraction is
an additional piece of work. Doing that is certainly not hampered by
Julien's change. So that would be another reason to take Julien's
patch as-is.
On the merits, I don't have anything to add to the arguments already
presented. I am considerably more persuaded by Julien's arguments
than Jan's.
So on all levels I think this commit should go in, unless there are
other concerns that have not been discussed here ?
The major blocker is where the common header lives. The rest are small
comments I should address in the next version.
I will send a new version (probably post freeze) to address those comments.
Cheers,
--
Julien Grall
|