Re: [PATCH 3/5] vrange: Add page purging logic & SIGBUS trap

2014-04-10 Thread John Stultz
Hey Kosaki-san, Just a few follow ups on your comments here in preparation for v13. On 03/23/2014 04:44 PM, KOSAKI Motohiro wrote: > On Fri, Mar 21, 2014 at 2:17 PM, John Stultz wrote: > @@ -683,6 +684,7 @@ enum page_references { > PAGEREF_RECLAIM, > PAGEREF_RECLAIM_CLEAN, >

Re: [PATCH 3/5] vrange: Add page purging logic SIGBUS trap

2014-04-10 Thread John Stultz
Hey Kosaki-san, Just a few follow ups on your comments here in preparation for v13. On 03/23/2014 04:44 PM, KOSAKI Motohiro wrote: On Fri, Mar 21, 2014 at 2:17 PM, John Stultz john.stu...@linaro.org wrote: @@ -683,6 +684,7 @@ enum page_references { PAGEREF_RECLAIM,

Re: [PATCH 3/5] vrange: Add page purging logic & SIGBUS trap

2014-03-23 Thread KOSAKI Motohiro
On Fri, Mar 21, 2014 at 2:17 PM, John Stultz wrote: > This patch adds the hooks in the vmscan logic to discard volatile pages > and mark their pte as purged. With this, volatile pages will be purged > under pressure, and their ptes swap entry's marked. If the purged pages > are accessed before

Re: [PATCH 3/5] vrange: Add page purging logic SIGBUS trap

2014-03-23 Thread KOSAKI Motohiro
On Fri, Mar 21, 2014 at 2:17 PM, John Stultz john.stu...@linaro.org wrote: This patch adds the hooks in the vmscan logic to discard volatile pages and mark their pte as purged. With this, volatile pages will be purged under pressure, and their ptes swap entry's marked. If the purged pages are

[PATCH 3/5] vrange: Add page purging logic & SIGBUS trap

2014-03-21 Thread John Stultz
This patch adds the hooks in the vmscan logic to discard volatile pages and mark their pte as purged. With this, volatile pages will be purged under pressure, and their ptes swap entry's marked. If the purged pages are accessed before being marked non-volatile, we catch this and send a SIGBUS.

[PATCH 3/5] vrange: Add page purging logic SIGBUS trap

2014-03-21 Thread John Stultz
This patch adds the hooks in the vmscan logic to discard volatile pages and mark their pte as purged. With this, volatile pages will be purged under pressure, and their ptes swap entry's marked. If the purged pages are accessed before being marked non-volatile, we catch this and send a SIGBUS.