Re: [RFC] mm: a question about high-order check in __zone_watermark_ok()

2016-09-28 Thread Xishi Qiu
On 2016/9/28 13:52, Joonsoo Kim wrote: > On Mon, Sep 26, 2016 at 01:02:31PM +0200, Michal Hocko wrote: >> On Mon 26-09-16 18:17:50, Xishi Qiu wrote: >>> On 2016/9/26 17:43, Michal Hocko wrote: >>> On Mon 26-09-16 17:16:54, Xishi Qiu wrote: > On 2016/9/26 16:58, Michal Hocko wrote: > >

Re: [RFC] mm: a question about high-order check in __zone_watermark_ok()

2016-09-27 Thread Joonsoo Kim
On Mon, Sep 26, 2016 at 01:02:31PM +0200, Michal Hocko wrote: > On Mon 26-09-16 18:17:50, Xishi Qiu wrote: > > On 2016/9/26 17:43, Michal Hocko wrote: > > > > > On Mon 26-09-16 17:16:54, Xishi Qiu wrote: > > >> On 2016/9/26 16:58, Michal Hocko wrote: > > >> > > >>> On Mon 26-09-16 16:47:57, Xishi

Re: [RFC] mm: a question about high-order check in __zone_watermark_ok()

2016-09-26 Thread Michal Hocko
On Mon 26-09-16 18:17:50, Xishi Qiu wrote: > On 2016/9/26 17:43, Michal Hocko wrote: > > > On Mon 26-09-16 17:16:54, Xishi Qiu wrote: > >> On 2016/9/26 16:58, Michal Hocko wrote: > >> > >>> On Mon 26-09-16 16:47:57, Xishi Qiu wrote: > commit 97a16fc82a7c5b0cfce95c05dfb9561e306ca1b1 > (mm

Re: [RFC] mm: a question about high-order check in __zone_watermark_ok()

2016-09-26 Thread Xishi Qiu
On 2016/9/26 17:43, Michal Hocko wrote: > On Mon 26-09-16 17:16:54, Xishi Qiu wrote: >> On 2016/9/26 16:58, Michal Hocko wrote: >> >>> On Mon 26-09-16 16:47:57, Xishi Qiu wrote: commit 97a16fc82a7c5b0cfce95c05dfb9561e306ca1b1 (mm, page_alloc: only enforce watermarks for order-0 allocatio

Re: [RFC] mm: a question about high-order check in __zone_watermark_ok()

2016-09-26 Thread Michal Hocko
On Mon 26-09-16 17:16:54, Xishi Qiu wrote: > On 2016/9/26 16:58, Michal Hocko wrote: > > > On Mon 26-09-16 16:47:57, Xishi Qiu wrote: > >> commit 97a16fc82a7c5b0cfce95c05dfb9561e306ca1b1 > >> (mm, page_alloc: only enforce watermarks for order-0 allocations) > >> rewrite the high-order check in __z

Re: [RFC] mm: a question about high-order check in __zone_watermark_ok()

2016-09-26 Thread Xishi Qiu
On 2016/9/26 16:58, Michal Hocko wrote: > On Mon 26-09-16 16:47:57, Xishi Qiu wrote: >> commit 97a16fc82a7c5b0cfce95c05dfb9561e306ca1b1 >> (mm, page_alloc: only enforce watermarks for order-0 allocations) >> rewrite the high-order check in __zone_watermark_ok(), but I think it >> quietly fix a bug

Re: [RFC] mm: a question about high-order check in __zone_watermark_ok()

2016-09-26 Thread Michal Hocko
On Mon 26-09-16 16:47:57, Xishi Qiu wrote: > commit 97a16fc82a7c5b0cfce95c05dfb9561e306ca1b1 > (mm, page_alloc: only enforce watermarks for order-0 allocations) > rewrite the high-order check in __zone_watermark_ok(), but I think it > quietly fix a bug. Please see the following. > > Before this pa

Re: [RFC] mm: a question about high-order check in __zone_watermark_ok()

2016-09-26 Thread Vlastimil Babka
[+CC Joonsoo Kim] On 09/26/2016 10:47 AM, Xishi Qiu wrote: commit 97a16fc82a7c5b0cfce95c05dfb9561e306ca1b1 (mm, page_alloc: only enforce watermarks for order-0 allocations) rewrite the high-order check in __zone_watermark_ok(), but I think it quietly fix a bug. Please see the following. Before

[RFC] mm: a question about high-order check in __zone_watermark_ok()

2016-09-26 Thread Xishi Qiu
commit 97a16fc82a7c5b0cfce95c05dfb9561e306ca1b1 (mm, page_alloc: only enforce watermarks for order-0 allocations) rewrite the high-order check in __zone_watermark_ok(), but I think it quietly fix a bug. Please see the following. Before this patch, the high-order check is this: __zone_watermark_ok(