Messages in this thread | | | Date | Wed, 16 Jan 2008 10:48:55 +0900 | From | KOSAKI Motohiro <> | Subject | Re: [RFC][PATCH 4/5] memory_pressure_notify() caller |
| |
Hi Daniel
> > > The notification fires after only ~100 MB allocated, i.e., when page > > > reclaim is beginning to nag from page cache. Isn't this a bit early? > > > Repeating the test with swap enabled results in a notification after > > > ~600 MB allocated, which is more reasonable and just before the system > > > starts to swap. > > > > Your issue may have more to do with the fact that the > > highmem zone is 128MB in size and some balancing issues > > between __alloc_pages and try_to_free_pages. > > I don't think so. I ran the test again without highmem and noticed the > same behaviour:
Thank you for good point out! Could you please post your test program and reproduced method?
unfortunately, my simple test is so good works in swapless system ;-)
thanks.
| |