Re: [PATCH v8 1/4] mm/madvise: pass task and mm to do_madvise

2020-06-24 Thread David Rientjes
On Mon, 22 Jun 2020, Minchan Kim wrote: > Patch series "introduce memory hinting API for external process", v8. > > Now, we have MADV_PAGEOUT and MADV_COLD as madvise hinting API. With > that, application could give hints to kernel what memory range are > preferred to be reclaimed. However, in

[PATCH v8 1/4] mm/madvise: pass task and mm to do_madvise

2020-06-22 Thread Minchan Kim
Patch series "introduce memory hinting API for external process", v8. Now, we have MADV_PAGEOUT and MADV_COLD as madvise hinting API. With that, application could give hints to kernel what memory range are preferred to be reclaimed. However, in some platform(e.g., Android), the information