Re: [PATCH v6 02/12] mm: migrate: support non-lru movable page migration

2016-05-27 Thread Vlastimil Babka
On 05/20/2016 04:23 PM, Minchan Kim wrote: We have allowed migration for only LRU pages until now and it was enough to make high-order pages. But recently, embedded system(e.g., webOS, android) uses lots of non-movable pages(e.g., zram, GPU memory) so we have seen several reports about troubles

Re: [PATCH v3 5/6] pv-qspinlock: use cmpxchg_release in __pv_queued_spin_unlock

2016-05-27 Thread xinhui
On 2016年05月27日 00:57, Peter Zijlstra wrote: On Thu, May 26, 2016 at 06:47:29PM +0200, Peter Zijlstra wrote: On Wed, May 25, 2016 at 04:18:08PM +0800, Pan Xinhui wrote: cmpxchg_release is light-wight than cmpxchg, we can gain a better performace then. On some arch like ppc, barrier impact the

Re: [PATCH v3 0/6] powerpc use pv-qpsinlock as the default spinlock implemention

2016-05-27 Thread xinhui
On 2016年05月27日 00:50, Peter Zijlstra wrote: On Wed, May 25, 2016 at 04:18:03PM +0800, Pan Xinhui wrote: _testspinlcok__pv-qspinlcok_ |futex hash | 556370 ops | 629634 ops | |futex lock-pi | 362 ops | 367 ops

Re: [PATCH] Add virtio gpu driver.

2016-05-27 Thread Daniel Vetter
On Fri, May 27, 2016 at 09:48:22AM +0200, Gerd Hoffmann wrote: > > I guess I didn't do a good job at looking at your v2: Cursor is still > > using legacy interfaces and not a proper plane. Would be awesome if > > you could fix that up. Atomic drivers really shouldn't use the legacy > > cursor

Re: [PATCH v3 7/7] [wip] virtio-gpu: add page flip support

2016-05-27 Thread Daniel Vetter
On Fri, May 27, 2016 at 09:46:03AM +0200, Gerd Hoffmann wrote: > On Mi, 2016-05-25 at 18:37 +0200, Daniel Vetter wrote: > > On Fri, Oct 2, 2015 at 1:58 PM, Gerd Hoffmann wrote: > > > Signed-off-by: Gerd Hoffmann > > > > So I entirely missed this, but this

Re: [PATCH] Add virtio gpu driver.

2016-05-27 Thread Gerd Hoffmann
Hi, > I guess I didn't do a good job at looking at your v2: Cursor is still > using legacy interfaces and not a proper plane. Would be awesome if > you could fix that up. Atomic drivers really shouldn't use the legacy > cursor interfaces any more at all. > -Daniel Figured that one for the most

Re: [PATCH v3 7/7] [wip] virtio-gpu: add page flip support

2016-05-27 Thread Gerd Hoffmann
On Mi, 2016-05-25 at 18:37 +0200, Daniel Vetter wrote: > On Fri, Oct 2, 2015 at 1:58 PM, Gerd Hoffmann wrote: > > Signed-off-by: Gerd Hoffmann > > So I entirely missed this, but this isn't really how to implement > page_flip for an atomic driver. Working on