Re: [Intel-gfx] [PATCH 1/6] zsmalloc: switch from alloc_vm_area to get_vm_area

2020-09-21 Thread Minchan Kim
On Mon, Sep 21, 2020 at 08:17:08PM +0200, Christoph Hellwig wrote: > On Mon, Sep 21, 2020 at 10:42:56AM -0700, Minchan Kim wrote: > > IIRC, the problem was runtime pte popluating needs GFP_KERNEL but > > zs_map_object API runs under non-preemtible section. > > Make sense

Re: [Intel-gfx] [PATCH 1/6] zsmalloc: switch from alloc_vm_area to get_vm_area

2020-09-21 Thread Minchan Kim
On Fri, Sep 18, 2020 at 06:37:19PM +0200, Christoph Hellwig wrote: > There is no obvious reason why zsmalloc needs to pre-fault the PTEs > given that it later uses map_kernel_range to just like vmap(). IIRC, the problem was runtime pte popluating needs GFP_KERNEL but zs_map_object API runs under n

Re: [Intel-gfx] [PATCH 1/2] mm: Track actual nr_scanned during shrink_slab()

2017-08-28 Thread Minchan Kim
Hi Vlastimil, On Thu, Aug 24, 2017 at 10:00:49AM +0200, Vlastimil Babka wrote: > On 08/24/2017 07:11 AM, Minchan Kim wrote: > > Hello Chris, > > > > On Tue, Aug 22, 2017 at 02:53:24PM +0100, Chris Wilson wrote: > >> Some shrinkers may only be able to free a b

Re: [Intel-gfx] [PATCH 1/2] mm: Track actual nr_scanned during shrink_slab()

2017-08-23 Thread Minchan Kim
that we > try harder and harder in future passes. > > v2: Andrew's shrinkctl->nr_scanned > > Signed-off-by: Chris Wilson > Cc: Andrew Morton > Cc: Michal Hocko > Cc: Johannes Weiner > Cc: Hillf Danton > Cc: Minchan Kim > Cc: Vlastimil Babka

Re: [Intel-gfx] [PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-18 Thread Minchan Kim
On Mon, Jul 04, 2016 at 05:34:05AM +0100, Mel Gorman wrote: > On Mon, Jul 04, 2016 at 10:37:03AM +0900, Minchan Kim wrote: > > > The reason we have zone-based reclaim is that we used to have > > > large highmem zones in common configurations and it was necessary > > &g

Re: [Intel-gfx] [PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-18 Thread Minchan Kim
On Mon, Jul 04, 2016 at 10:55:09AM +0100, Mel Gorman wrote: > On Mon, Jul 04, 2016 at 05:04:12PM +0900, Minchan Kim wrote: > > > > How big ratio between highmem:lowmem do you think a problem? > > > > > > > > > > That's a "how long is a pi